Polish and UI



Screenshots: Decorations for the Cave Environment

Polish and UI

This week I added some decorations to the environment such as stalagmites that sit on the walls of the cave. I created them in GIMP and imported them into Unity. I also added them to the tile palette and started adding them into the game. Initially I put them at a consistent level around the map, but currently I have added more variety of spacing and also, they are randomly set down with the random brush using the tile palette. I also added a red coloured particle explosion for when the Enemy dies and scripted that into the Enemy health script.

 

The UI has a timer which records the amount of time you take to find the three explorers and escape the cave via the escape cave. The escape cave is not shown until you find the three explorers then it displays, and you can exit, and it will take you to the scoreboard and show you your time. It will also show the best time and show the initials. If you get the best time, you can enter your initials.

 

I've spent a significant amount of time trying to get the UI scoreboard and escape cave functionality to work correctly after the initial game is completed. It works correctly initially but in any following games it doesn't. This seems like a scripting issue; I have been unable to correct the error to this point.

 

The problem is when you press the back button it currently won't load the escape cave properly once you find the three explorers just as it does the first time you play the game. This is a work in progress to fix and have added a note underneath the game in the text window for awareness. So currently the game functions correctly for the first run through but not for any following runs unless you hit refresh or F5 to restart the game properly.



 Screenshots:  Particle Explosion addition for Enemy, and Scoreboard UI elements.



Screenshot: Escape Cave

Files

Build.zip Play in browser
52 days ago

Leave a comment

Log in with itch.io to leave a comment.