10 BOOLEAN%=0:W%=SCREENWIDTH(0):H%=SCREENHEIGHT(0) 20 GELLOAD "IMAGE","Image.png" 21 X%=0:Y%=H%/2-GELHEIGHT("IMAGE")/2 30 SPRITEGEL "SPRITE","IMAGE" 40 SPRITEMOVE "SPRITE",X%,Y% 50 IF BOOLEAN%=0 THEN X%=X%+1 60 IF X%>W%-GELWIDTH("IMAGE") THEN BOOLEAN%=1 61 IF BOOLEAN%=1 THEN X%=X%-1 62 IF X%<0 THEN BOOLEAN%=0 70 SLEEP 10 80 GOTO 40