lbehr19 / hello-world

My code portfolio
0 stars 0 forks source link

Game Over Text/Score displays incorrectly #12

Closed lbehr19 closed 5 years ago

lbehr19 commented 5 years ago

When the player dies, the game over text doesn't appear immediately - only after the player presses another button.

The other thing is that the score doesn't appear until the game is finished; it would be nice to display that throughout the game, rather than at the end.

lbehr19 commented 5 years ago

Game Over text problem is probably an issue within the event handling process. The game should check that the player has (or hasn't) died after finishing enemy movement.

lbehr19 commented 5 years ago

Score display has been fixed; it was an issue with the placement of the text on the canvas. Still working on 'You Died' message displaying at the correct time.

lbehr19 commented 5 years ago

The problem was that the list of positions did not update when the intersection check occurred. Issue is now fixed.