Workshop › Asteroids › Step 41 of 41
The arcade original had a panic button: hyperspace. Pressing H makes the ship vanish and reappear at a random spot, standing still. Add it to your game.
h key moves the ship to a random place on the screen.vx and vy are 0).Skills: Keyboard and mouse input, Game states