At the end of the game, the player would need to get 5,000 points. I have set up a code that will check if the player has gotten that many points and will end the game once the player gets it.

In here, you can see the score go up whenever the player defeats an enemy.

Here's the code that ends the game when the player gets 5,000 points.

Here's the code for settings up how many points an enemy gives.
No comments:
Post a Comment