Nov-13-2022, 04:43 PM
You aren't updating the screen. You need to redraw the screen any time anything changes.
I don't think you're going to be happy with how the ship moves. I would expect the ship to start moving when I press a key and stop, or begin decelerating, when the key is released. Your ship moves one tiny step each time a key is pressed.
I don't think you're going to be happy with how the ship moves. I would expect the ship to start moving when I press a key and stop, or begin decelerating, when the key is released. Your ship moves one tiny step each time a key is pressed.