You are just listing a bunch of expressions. Maybe you meant to write an assignment or use them as parameters for a command?
What I'm saying is, writing...
10,20,15
...doesn't really mean anything. Meanwhile, writing...
A=10:B=20:C=15
...or...
SPOFS 10,20,15
...does make sense.
You need to write GUN=SOMETHING every time you want to assign something to GUN, not just once.
For example...
GUN=10
GUN+20
GUN-5
...the second and third lines won't change the value of GUN. They just serve as expressions. However...
GUN=10
GUN=GUN+20
GUN=GUN-5
...will change the value of GUN accordingly.
@12me21 i dont know what the lines do yet because i cant fix the syntax error to test the game, all i know is that im making an asteroids like game *you know the Asteroids arcade/atari game*
You need to use SmileBASIC's graphics commands. They all start with a G.
You can use GLINE to draw lines, GCIRCLE for circles and GCLS to clear the graphics screen. I suggest looking at their manual entries, but I will give you a basic rundown.
Parameters in brackets aren't necessary.
GLINE X1,Y1,X2,Y2,[COLOR]
...This one is pretty self-explanatory. You draw a line from point (X1,Y1) to (X2,Y2).
GCIRCLE CX,CY,R,[COLOR]
...For this one you specify the center coordinates of the center (CX,CY) and the radius R of the circle.
GCLS [COLOR]
...This one "clears" the graphics screen by filling the entire screen with a single color.