Don't call me a total "noob"...
When making a game what do scripting languages (like Lua) do? (to the game)
What exactly does scritping do?
Moderator: PC Supremacists
-
- Chaos Rift Newbie
- Posts: 18
- Joined: Sat Oct 09, 2010 10:06 am
- Contact:
- Ginto8
- ES Beta Backer
- Posts: 1064
- Joined: Tue Jan 06, 2009 4:12 pm
- Programming Language of Choice: C/C++, Java
Re: What exactly does scritping do?
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.
Quit procrastinating and make something awesome.
Ducky wrote:Give a man some wood, he'll be warm for the night. Put him on fire and he'll be warm for the rest of his life.
-
- Chaos Rift Newbie
- Posts: 18
- Joined: Sat Oct 09, 2010 10:06 am
- Contact:
Re: What exactly does scritping do?
OK, i fully understand it now :D thanks man.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.