This week I continued to finish programming the cake quest, completing the first ending last week and successfully triggering the final dialogue. This week I started the second ending, which is relatively more difficult. The idea of this ending is that the player needs to help decorate the cake by finding three strawberries in the room, picking them up and placing them on the cake, and automatically triggering the dialogue after placing all three. My idea was to start by placing three strawberry teleportation points on the cake, and when the strawberries are near the cake they are automatically placed at the designated points. In the end this solution worked but had too many bugs and parker gave me another new idea.


The above solution was eventually scrapped, and we went with another solution: now place three invisible strawberries on the cake, and when a pickable strawberry is near the cake, the pickable strawberry disappears, and the corresponding strawberry on the cake becomes visible instead. This solution is no longer buggy and is less difficult.


I’ve always had an idea: adding sounds to the game. So I thought it would be a good idea to start by adding sounds to the game first. I started by adding the sound of a cake dropping, and found similar sounds from the internet to add in.
