Jay's Project Update 3

by JayYang95

25 Apr 2016

To do list from last week:

  • Manage states of turtles to allow a restart function to be easily implemented
  • Put the text file I created to use
  • Use the rest of my dictionary
  • Create collectible turtles
  • Check for collisions
  • Restart function
  • Beating a level restarts the game with updated gamesettings (more enemies, more difficult)
  • Make “Help” button print something helpful

While creating the enemy turtles, I had a problem getting the pause/resume function to get the enemies to stop moving but found out I was using a variable from my variables module incorrectly. Now, the pause/resume is fully functional. I also implemented a collision check as well as player lives (3 to start with). At first, colliding with an enemy turtle would take away several lives because collision is called everytime tina moves, which is a lot when you hold down the movement key. To fix this, I gave the user a short frame of invincibility upon impact and now the lives are functioning properly. Although there are quite a few things left to do, I think I’ve finished most of the hard part so the rest shouldn’t take too long to code.

Last goals: - [ ] Use text file - [ ] Make collectible turtles - [ ] Restart function - [ ] Increase level/difficulty after winning - [ ] Print help dialogue

Here's a little about JayYang95 Find JayYang95 on Twitter, Github, and on the web.