cse442-fall-2019-offering / 442projects-chicken-add

442projects-chicken-add created by GitHub Classroom
0 stars 0 forks source link

Add Crouch animation #54

Open zatenenb opened 4 years ago

zatenenb commented 4 years ago

Character should be able to crouch under platforms

zatenenb commented 4 years ago

Acceptance test:

  1. Start the game
  2. Click the "Play" button
  3. Hold down the down arrow or 's' key to crouch
  4. The sprite's appearance changes (shrinks downwards)
  5. The animation holds while the down arrow key or 's' key is pressed
  6. When the sprite moves out from under a platform, and the down arrow key or 's' key is no longer pressed, the sprite is no longer crouching and it's appearance goes back to the idle state.