Day 13 - 10.08.2024
Had a final push today—started working early, took a nice long outdoor break, and then accidentally pushed through until morning.
- Sound:
- Implemented ambient sounds
- Added sound effects for:
- Portal
- Enemy explosion
- Level completion
- Reworked the flash explosion sound
- UI:
- Created and added icons for:
- Remaining flash counter
- Remaining enemy counter
- Score
- Game Time
- Level Time
- Added 3D labels above the portals to display the final level score and time
- Added 3D labels to display the current and previous game time and score
- Created and added icons for:
- Visuals:
- Replaced the prototype material with unlit particle volumes used for the walls
- Used the same particle style to rework the player character
- Did some additional tweaking to hide and show the particles once the camera is in first person
- Point System:
- Fixed a lot of bad math and bugs in the point system. I heavily underestimated the work required for this feature. Next time, I would skip it and just be content with the time trial aspect.
- Added the missing text displays for the time and flashes used score.
- Game Restart:
- Made it possible to rerun the game
- Added time-efficient code to restart the game while keeping some level data for each run
- Added a new green portal type that shows up once the game is completed to start again
- Exporting the Game:
- I knew I might wake some dragons here because I chose to use Godot Jolt as the physics engine, which doesn't support web builds currently. However, there is a pending PR that enables this.
- It works really well (at least for me). I grabbed the zip mentioned in the PR, copied it over the Jolt addon, enabled GDExtensions in the Export settings, and done 👌
I think that’s everything I did. Submitted two hours before the deadline, and everything seems to be working at the moment 👀