If KeyDown(200) Then
a=1
y=y-speed
EndIf
If KeyDown(208) Then
a=1
y=y+speed
EndIf
If KeyDown(205) Then
a=2
x=x+speed
EndIf
If KeyDown(203) Then
a=2
x=x-speed
EndIf
If KeyHit(200) And a=2 Then RotateImage hero,90
If KeyHit(208) And a=2 Then RotateImage hero,90
If KeyHit(205) And a=1 Then RotateImage hero,90
If KeyHit(203) And a=1 Then RotateImage hero,90
Изображение не вращается, хотя, если мониторить переменную "a", то она
меняется.