Making the Game Work
Originally I first started adding classes and sub classes to the game and making sure that everything worked. Fortunately for me unlike last time I was able to finish up everything and have it run the moment I need it to run. Once I was done with the classes I put in the movement code for all of the actors. This code worked great and I had no major issues with the movement code besides one little issue where one of the actors when it hit the border of the map, would get stuck. Fortunately this wasn't that big of a deal and didn't happen again. Around this time I also realized that the pictures of the actors were a bit too big for what I was building and spent a bit of time to reduce and make them smaller since I thought that it was necessary if I wanted to make the game playable. In the end I was quite happy with the result but realized that I still had a long way to go before I was done.
The Game Currently |
Today since it was a short lesson I decided to finish up as much as the game as I possibly could. The first thing I did was to add another ghost into the game since this would make the game be more balanced and harder for the main character. At first I was going to make it so that the cross would lose if it hit the ghosts but then after some thinking realized that the game would be a lot more funner if instead of doing all of that, I would just make the ghosts attack the ship (liked planned originally) and make the cross kill the devils. Now the goal of the game is to remove all of the ghosts to before they remove all of the goats. Before class had finished I had been able to change the code around to make the game work. Fortunately for me nothing went wrong and I managed to change the game completely and get the YouWin image to show up once you win as the cross. I really
enjoyed the past 2 classes since I got a lot of work done and managed to nearly complete my game.
Here is how the game starts off with you being at the center and the game and the ghosts on all 4 sides. The game is relatively easy but on occasion you will lose.
Unfortunately I have yet to add an end game for when the ghosts eat all of the sheep. But considering all of the work and things that I have accomplished I was very happy with what I have done.
This is what the game looks like when you destroy all of the ghosts in the game. Really glad how easy it was to finish up this game and get things done.
No comments:
Post a Comment