Improve My Code

BlitzMax Forums/BlitzMax Beginners Area/Improve My Code

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

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:
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.