Welcome to my next work update for my work on 310Games’ The Krilling! This is our final week of work on the game! I have very little left to do for the Krilling, so let’s get into it.
My main concern for this week is to change the way our ingredients are displayed on the scenario menu. Currently they are text, and Meg, our UI designer, would like them to be images! Luckily, that should be a relatively simple swap. All I needed to do was change the types of declared variables and then adjust where I was using the text component to instead change sprites or set things inactive:
I also commented out the portion where OnComplete would strikethrough the text, as there was no strikethrough needed!
And…
It works! I also changed the ingredient pop up image from my previous work summary to match the ingredients here for consistency.
Next, we added a new possessable to the front lawn, so I added that to the proper quadrant so our UI element that tracks those for the player would be updated.
Next, we were making a small adjustment to the end of the game, so I made a new pop up to indicate to the player that they were done and could complete the game if they chose. I made a very simple panel prefab with the image for the pop up on the panel, and a quick script that will listen for a new game event triggered at the end of the game to show the image for a couple seconds.
Additionally, I made it so when the timer runs out and the pop up has been triggered (so it doesn’t just happen immediately), a new game event is triggered to end the game: