Archived

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

scripting language questions

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

Recently, I put in a configuration file system into my game engine that works a bit like a scripting engine, since you can manipulate an entity''s behaviours by changing values in their config file. I''d like to use a scripting language, such as Lua, for my next game, but I needed to know a few things first. I apologize for not doing too much of my own research on the subject first, but I figured someone else has already put in the time to find this out My biggest concern with using a scripting language is will I be able to interact with variables and functions inside of my game engine through this language, or will I have to write my own kind of scripting interface to do this? Is there some way through Lua that you can change the velocity value of an enemy without having to do some external parsing to accomodate? That''s pretty much my only main concern. I''d appreciate it if someone could shed some light on this for me. Thanks, dave -- david@neonstar.net neonstar entertainment

Share this post


Link to post
Share on other sites
Sadly, those tutorials are about making your own scripting language.

As for the original question... I don''t know. Lua seemed pretty low level to me, and I couldn''t find a good source on integrating it into my game. Embedding scripting engines, like writing scripting engines, seems to be one of those tasks where the people who can do it consider it too trivial to need to explain it properly, while the rest of the world have trouble working it out

Share this post


Link to post
Share on other sites