New UI


Dungeon cleanup now finally has a title screen that allows players to access the game via a button. 


Skele-Tony can now tell players their health and souls with a helpful widget. While these are fully functional, there are ongoing issues around getting them to appear at the right part of the screen. They behave in unity, but once uploaded to itch.io they appear lower than exxpected.


the game now has end conditions. To complete the game, Skele-Tony must reach the exit door at the end of the level. This takes the player to a level complete screen that tells players their final soul count. If the player is defeated they instead get a player defeated screen. 

The level complete screen came with challenges as when the player won, the game continued, causing any remaining spirits to attack the player until the player died, which would cause the player defeated scene to load on top of the level complete screen. This was fixed by setting the time scale to 0 on completion of the level so more enemies couldn't attack the player. 


The player defeated screen posed a challenge in coding as I used a simple statement causing the scene to change when the player's health reaches 0 or lower. Because this updated constantly and the player's health remained at 0, this caused the game to endlessly switch to the player defeated scene, breaking the game. This was fixed by adding a simple piece of code that destroys the player game object after changing to the player defeated scene, thus preventing further scene switching.


both end game screens have buttons that allow the player to restart the game.

Files

Build 1.40.zip Play in browser
May 21, 2024

Leave a comment

Log in with itch.io to leave a comment.