Original Post
I was just wondering.
I always hear of people writing scripting languages in their games based on real programming languages.
In my game, the scripting language consists of functions specific to the game like MESSAGE which displays a message from a character or LOADMAP which loads a map file.
I don''t understand what good embedding a C like language or Python or whatever I always hear about? Scripting, I would think would be something game designers could play around with or something, so it would be simplified. So making it be essentially a real programming language would defeat that purpose.
So my question is how do some of those languages work? Am I mistaken about the way these things work? Do they just share the same syntax? and have specific functions in them like mine does.
I''m curious because there are almost definetely better ways of creating scripting languages than the way I did.
-Andrew