Altitudems:
Firstly, Does the code work on your PC?
I'm really just looking to improve what I already have (Sprite engine with scripting for movement and animation). I'm trying to make a shorthand way of controlling images. Like this:
That defines a path of a square, then jumps back.
Hopefully you get the idea, some may not like this style for creating games, But I do.
Keep in mind not just one SAM object would be going as in the Example, but hundreds for all the game images.
Firstly, Does the code work on your PC?
I'm really just looking to improve what I already have (Sprite engine with scripting for movement and animation). I'm trying to make a shorthand way of controlling images. Like this:
L 1:M 150,0,.5,0:M 0,150,0,.5:M 150,0,-.5,0:M 0,150,0,-.5:J 1
That defines a path of a square, then jumps back.
L means label M Means Move J Means Jump (Like Goto) And I'm going to add alot more like A for Anim that would be like this: A (Frame#,Delay#)(Frame#,Delay#)(Frame#,Delay#)(Frame#,Delay#)
Hopefully you get the idea, some may not like this style for creating games, But I do.
Keep in mind not just one SAM object would be going as in the Example, but hundreds for all the game images.