This should probably go in the 2D section not the twenty liners section. But I've changed to make it look like I expect you want it anyway
Hide Mouse
sync on
CLS
Rem Variables
x=0
y=0
a=2
load image "blue02.bmp",1
Load image "shipp.bmp",2
load image "Enemy1.bmp",3
do
`this is the bacground sprite (number 1) placed at 0,0
sprite 1,0,0,1
`This one is the space ship
sprite 2,x,y,2
Rem Moving
if leftkey()=1 then x=x-a
if rightkey()=1 then x=x+a
if upkey()=1 then y=y-a
if downkey()=1 then y=y+a
if spacekey()=1
a=1
else
a=2
endif
Rem collision with wall
if y<=0 then y=y+a
if y>=440 then y=y-a
if x<=0 then x=x+a
if x>=600 then x=x-a
sync
loop
wait key
The happenings of tommorow are behind us now