Gibt es sowas wie wenn in 10,20 bis 10,200 bis 100,20 bis 100,20 (x,y)(also dazwischen) dan :
Code: Alles auswählen
If KeyboardPushed(#PB_Key_Up )
figurY-1
CopySprite(#3, #6 ,0 )
EndIf
If KeyboardPushed(#PB_Key_Down )
figurY+1
CopySprite(#2, #6 ,0 )
EndIf
If KeyboardPushed(#PB_Key_Left )
figurX-1
CopySprite(#5, #6 ,0 )
EndIf
If KeyboardPushed(#PB_Key_Right )
figurX+1
CopySprite(#4, #6 ,0 )
EndIf