Page 1 of 1

What exactly does scritping do?

Posted: Sun Oct 10, 2010 8:28 pm
by MisterReplicant
Don't call me a total "noob"...
When making a game what do scripting languages (like Lua) do? (to the game)

Re: What exactly does scritping do?

Posted: Sun Oct 10, 2010 8:51 pm
by Ginto8
whatever you want them to do. The whole point of a scripting language is to be able to have game elements (like AI) exist outside of the actual source code. This way, you can have the compiled engine, and just tweak a script here, write a script there, and run the engine, without having to recompile every time you change something. Scripting languages (especially embedded ones) are designed for convenience and flexibility for the most part.

Re: What exactly does scritping do?

Posted: Mon Oct 11, 2010 3:11 pm
by MisterReplicant
Ginto8 wrote:whatever you want them to do. The whole point of a scripting language is to be able to have game elements (like AI) exist outside of the actual source code. This way, you can have the compiled engine, and just tweak a script here, write a script there, and run the engine, without having to recompile every time you change something. Scripting languages (especially embedded ones) are designed for convenience and flexibility for the most part.
OK, i fully understand it now :D thanks man.