Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 282 Bytes

index.rst

File metadata and controls

15 lines (9 loc) · 282 Bytes

Move Up

Up arrow starts motion in Y direction

  • Remove down arrow and move_down
  • Change velocity to velocity_x
  • Introduce self.velocity_y = 0 and first line of update
  • Change up go_up to affect velocity, not position
  • Detect whether hitting the top/bottom