Monday, 21 May 2018

Week 33

This is the final post of the project. I worked on making a "You Win" text come up when you kill the last enemy to signal the end of the game.

This was pretty simple to do really, I just made a winner widget and chose where I wanted the text to come up. As you can see in the screenshot I made it in the centre of the screen.
I then added this simple code onto my spaghetti code to make it show up when the enemies alive counter hit 0.

And here you can see the text box working when the enemies alive hits 0.
I then decided after playing through the game, I wanted to move the start location to on top of the dried up waterfall so that is what I did.

No comments:

Post a Comment