Original Post
Is there a tutorial on making a scripting language that can move sprites around, set animations, points for sprites to move to and junk like that that is very similiar to programming in c? Every "script" in my scripting language right now is just a big if-then statement.
ON
whatever
THEN
do whatever
DONE
that is the basic syntax of all of my scripts. Is there a tutorial on how to input from a file and implement a scripting language that would be more like programming? like this:
You get the basic idea. Is there a tutorial where I can learn how to do this?
if(StepAtLoc(characters[ego], 100,200,500,500)) { //if ego stepped at 110,200-500,500
SetCharacterGoto(characters[ego], 15,20);// make ego go to 15,20;
SetCharacterAnim(characters[ego], anim1); //change anim of ego to 1
}