Guest_imported
New member
- Jan 1, 1970
- 0
im trying to get a sprite to move left and right, up and down using the keyboard. right now im using a script
on keydown
if keypressed(123) then sprite(5).loch = sprite(5).loch -5
if keypressed(124) then sprite(5).loch = sprite(5).loch +5
end if
This works fine for moving the sprite left and right, what do i need to do to get this thing moving up and down?
on keydown
if keypressed(123) then sprite(5).loch = sprite(5).loch -5
if keypressed(124) then sprite(5).loch = sprite(5).loch +5
end if
This works fine for moving the sprite left and right, what do i need to do to get this thing moving up and down?