Do things need to be in a particular order or can they just be put on there here is my project so far.
LOADBMP "space.bmp"
LOADSPRITE "motion1.bmp", 0
LOADSPRITE "motion2.bmp", 1
LOADSPRITE "alien.bmp", 2
alein_x = 400
WHILE TRUE
//animation:
delta=delta+1
IF delta>15
ani=1-ani
delta=0
ENDIF
SPRITE ani, 100, 290
// alien
alien_x = alien_x - 1
SPRITE 2, alien_x, 290
SHOWSCREEN
WEND
LOADSPRITE "bullet.bmp",0
GLOBAL xpos=0
GLOBAL ypos=100
main:
SPRITE 0,xpos,ypos
xpos=xpos+1
IF xpos>=640
xpos=0
ENDIF
SHOWSCREEN
GOTO main
The programm will start at the very top. Then it will evauate every command down, down, down. If you have a GOTO / GOSUB / FUNCTION call, guess what.
The best way to see what it's doing is to press F9 on the first line (add breakpoint), then hit the bug-icon (debug mode) and start. With F10 key you can now go through every step the program makes.