Advertisement

scripting language questions

Started by August 08, 2001 08:53 AM
1 comment, last by neonstar 23 years, 6 months ago
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
--david@neonstar.netneonstar entertainment

www.flipcode.com ->Has a series of tutorials about scripting

www.peroxide.dk ->The same


What the hells!
What the hells!
Advertisement
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

This topic is closed to new replies.

Advertisement