write it like....
if a:b:else:c:endif:if d:e:endif
which is equivalent to
if a
b
else
c
endif
if d
e
endif
which can also be written as
if a then b else c
if d then e
similarly,
if a:if b:c:endif:endif
is equivalent to
if a
if b then c
endif
etc. It's the same as writing it on separate lines, but with colons instead of next line/ return.
I've just finished downloading your thing. Will give feedback in a minute.
edit: to make things totally clear, instead of your code:
if upkey=1 then 'go up':if downkey()=1 then 'go down'
use this:
if upkey=1:'go up':endif:if downkey()=1:'go down':endif
SBSX
[http://forum.thegamecreators.com/?m=forum_view&b=8&t=134372]ASTEROID WORLDS[/url]