seanmtracey / Games-with-Pygame

The code for my "Making games with PyGame" series for Raspberry Pi's The MagPi.
https://smt.codes/writings
85 stars 71 forks source link

fixed the bug: 'the game is not starting after clicking int the butto… #25

Open Daltro-Oliveira-Vinuto opened 1 year ago

Daltro-Oliveira-Vinuto commented 1 year ago

…n start'.

Before this commit the game wasn't starting because 'mouseState[0] is 1' in line 194 was never becoming True, then because of this the gameStarted wasn't able to be assigned the value of True.

Daltro-Oliveira-Vinuto commented 1 year ago

Fixed the error: 'the ship can't shoot' because the condition of 'mouseStates[0] is 1' in line 83 was never recognized as True.