• Advertisement

Archived

This topic is now archived and is closed to further replies.

help:script language

This topic is 5434 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Now, I am working on a small RPG game. Due to quite lots of narrative plots and conversations embedded in the game, someone suggested me to use a good script language maintaining them for the sake of simplicity. As a novice, I feel a little bit confused to use the script language. For I use C++ during the all programming, I will really appreciate that someone could recommend a handful and easy-learning script language for the implementation of RPG game. Thx!

Share this post


Link to post
Share on other sites
Advertisement
Well the tutorials on Flipcode.com and here are rather good or you could try Game Scripting Mastery for a book referance (very handy and also has a scripting engine or two to look at).

Share this post


Link to post
Share on other sites
Take a look at Lua (www.lua.org). It''s quite easy to integrate with c++ and the language shouldn''t be too hard too learn.

Python is another alternative. More features->more time to learn.

Writing your own scripting language is also a possibility, but
then you will spend _a lot_ of time writing a script-engine instead of a game - your choice..

Share this post


Link to post
Share on other sites
Lua is indeed an excellent way to integrate a scripting language into C/C++. It''s easily extended as well. From my experience, if you want to expose C++ classes, member data, etc. to Lua things can get a little tricky. tolua (http://www.tecgraf.puc-rio.br/~celes/tolua/) is a useful tool to help out in that area.

Share this post


Link to post
Share on other sites
Lua + ToLua or Python + SWIG.


http://www.stodge.net - the powerhouse in personal commentary

Share this post


Link to post
Share on other sites

  • Advertisement