Sign in to follow this  

how to make game modable

Recommended Posts

I second the use of scripting languages. For my current project, I'm using C++ for the engine and Lua for all the level sequences and AI code. It's funny, being a sole indie game developer on this project has forced me to deal with art and level design and NOT just programming. What I've found is that when I'm wearing my artists cap or level designer cap I'm able to build complete, scripted levels as well as create and import the art from start to finish without ever touching the C++ source.

So yes, as for modability, with scripting support your users would never have to see the C++ (or java or whatever) underlying code as you could control all game details in external scripts.

Share this post

Link to post
Share on other sites
Original post by ryan20fun
Any idea on how to create new entitys with a scripting lanuage?
And how would I do this for my scripting language?

From my limited experience and knowledge, you would need to create an interface between your script language and your code. If you have a script function called CreateEntity or something like that, the definition of that script will call a function written in code that will instantiate that entity for you.

[Edited by - KahunaCoder on October 20, 2010 6:25:19 PM]

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this