Sarmat, Вот тебе в помощь
[php]
5 cls
10 gelload "up","up.png"
15gelload "down","down.png"
20gelload "left","left.png"
25gelload "right","right.png"
30spritegel "player","right"
35px%=0:py%=60
40 spritemove "player",px%,py%
45 if left(0) then spritegel "player","left":px%=px%-1:sleep 20
50 if right(0) then spritegel "player","right":px%=px%+1:sleep 20
55 if up(0) then spritegel "player","up":py%=py%-1:sleep 20
60 if down(0) then spritegel "player","down":py%=py%+1:sleep 20
65 if fire(0) then end
70goto 40[/php]