Polishing Earth Survival Game
How the game looks now |
Today I felt like polishing up my game so that I could move on and perhaps make a new game. I started out with 2 major things that I knew I needed to finish up. The first thing I had to do was make the asteroids remove the planet from the game. This was easy since I already knew what code I was going to use and so I just copy and pasted it and after some modifications, it worked. Then I decided to put in the ending into the game. This took a bit longer than making the code remover work since I was now working on two different classes and I wanted to make sure that everything worked. This fear and caution towards making the end game state was mainly due to my last game where it didn't work as I planned. Fortunately, this time it worked wonderfully and there were no problems what so ever. This was great for me since I was really worried that I would have to spend half of the class working on it like last time. Then towards the end since there wasn't a lot of class time left I started to work looking up if it was possible to create a timer in Greenfoot. From my research it seemed that theoretically it was possible but no one seemed to have been able to yet. This made me sort of disappointed since I wanted to create a way to create a high score in the game.
The You Lose Screen |
-Moving the characters around to make the game hard + changing the speed to make the game fair
-How I plan to make the rock actors all move around differently.
Unfortunately, for me I was not able to get a lot of work done this Wednesday due to several computer problems. At first Greenfoot refused to start for a good 20 minutes. I shrugged this off since I wanted to get started and so I could finish up the game. Since most of the game was finished up I decided to start by making some unique asteroids. So I created a new subclass which spun around the bottum of the game. This was since I had discovered that if you stayed still at the bottom you wouldn't be hit by anything.
So after creating the spinning asteroids I started to play around with where the asteroids started (Look at the top picture to see it how it turned out). I was really happy with how everything worked out and how the game was actually kinda challenging. However, when this was done I realized that the internet wasn't working anymore. It was 2:30 and so I decided to go check it out. Unfortunately, for me it took a while to fix and by the end when everything was fixed, it had taken over a hour to get fixed.