Today, I got my AI to carry out shadow attacks randomly every 2-4 seconds. This means that it is now possible to lose in the game. As a result I added a fail-state where if the player's health is reduced to 0, Kaiku's sprite gets destroyed,reinforcing the fact the player has lost. As well as that, I added some text that says "You Died!" in large bold text along with a button that restarts the level, and a button that returns to the Main Menu. Finally, I improved my Main Menu by changing the colours of the background and buttons. I would like to add more to the main menu in the future (Fire? Kaiku? Who knows....) Tomorrow, I will continue working on my AI and create a win state. I would also like to create a restart keybutton so it is easier for players to restart the level rather than dying and clicking restart each time.
0 Comments
Leave a Reply. |
AuthorMy name is William Hughes, and I study Games Development. I also am learning Web Development and general programming. Archives
May 2018
Categories |