Over the weekend Chen had added some code to the strawberries to freeze the cake when they entered its box collider, and to start the dialogue when all 3 strawberries were added. This worked somewhat but would be much simpler if the code was moved to the CakeScript.cs script I added rather than on each strawberry individually. I therefore added this functionality to the script.

Now all I had to do is call the FreezeCake method when the first strawberry is added. This is done by checking if the cakeLocked variable has been already set to true.

Another change I made was adding a new font to the game. For this I opted for a 100% free-use font called Tovari Sans. This complemented the game’s playful and mischevious tones perfectly, and was easy to convert into use with TextMeshPro.


Leave a Reply