What exactly does scritping do?

Anything related in any way to game development as a whole is welcome here. Tell us about your game, grace us with your project, show us your new YouTube video, etc.

Moderator: PC Supremacists

Post Reply
MisterReplicant
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 18
Joined: Sat Oct 09, 2010 10:06 am
Contact:

What exactly does scritping do?

Post by MisterReplicant »

Don't call me a total "noob"...
When making a game what do scripting languages (like Lua) do? (to the game)
http://www.youtube.com/MisterReplicant
Needs more subscribers B)

XD
User avatar
Ginto8
ES Beta Backer
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?

Post 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.
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.
MisterReplicant
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 18
Joined: Sat Oct 09, 2010 10:06 am
Contact:

Re: What exactly does scritping do?

Post 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.
http://www.youtube.com/MisterReplicant
Needs more subscribers B)

XD
Post Reply