Jump to content
  • Advertisement

Archived

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

ArnoAtWork

Using script

This topic is 5542 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

I am developping an engine(that is not surprising, everybody begins the post with that ) and I am looking to add script. But even if I know that script could help a lot to design the game, should I use it for everything in the game such as rendering parameters which could be changed differently. In fact, it seems that some people create a new language forgoting that a language already exists(C,...). So what''s really the range of possibilities I should include in the script? Moreover does a script language exists which is particularly simple and powerful? Thanks a lot. Arno.

Share this post


Link to post
Share on other sites
Advertisement
Although I have not dealt extensively with scripting, I know that it is a very useful tool in that it makes it easy to add content to the game without recompilation, which makes it possible for artists to do a lot of such work. As far as specific languages go, Python and Lua are very good.



Gamedev for learning.
libGDN for putting it all together.
An opensource, cross platform, cross API game development library.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Small is an okay language too.

Share this post


Link to post
Share on other sites
Lua is one of the easiest to embed and to write scripts in. There are a number of people using it on these forums, and the Lua mailing list (although spam filled at times) is very helpful.

Others that may work are Python and Io

[edited by - cozman on April 20, 2003 6:38:12 PM]

Share this post


Link to post
Share on other sites
We are currently working on a project which includes script for different things as well. For this we chose Lua, since it is not only easy to lern, but also easy to embed and use.

Game Scripting can be great for logical things like the internal work flow and especially for level design and AI behaviour. You should have a look at examples like Biowares NWN Script (used for Neverwinter Nights) and if you want to see, how Lua can be used throughout the whole game code, then take a look at the open source game Enigma which is the best example on how to use Lua on this planet. ;-)

Have fun!




Buy BomberFUN online now for only EUR/USD 19,95 at http://www.bomberfun.com

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!