Journal Entry 1
Activity:
- Implemented the main mechanic of my game: jumpable bullets the player can bounce off and essentialy double jump thanks to them.
- Created a small demo build with only few obstacles to showcase the mechanic and let the player have some fun with it.
Notes:
The mechanic is even more fun than I imagined, it's fun even without a level, I'm really pleased with the idea.
I encountered two major issues while implementing it. Beacuse I didn't implement my own player character and relied on the existing movement scripts I had to figure out how they work which took me some time. There was already programmed a mechanic that allowed the player to jump higher when holding the spacebar, I had to disable that after double jumping, because it didn't feel right and allowed the player to jump really high when holding spacebar even after bouncing off a bullet.
The second issue I encountered was that I wanted to play sound and destroy a bullet at the same time when colliding, but that wasn't working because the AudioSource gets deleted with the object. I solved that by using the static function AudioSource.PlayClipAtPoint.
Invested hours:
- Implementing the mechanic: 2.5 hours
Files
Get Project B
Project B
mff-gdintro-2023-t
Status | In development |
Author | dannmosny |
Genre | Platformer |
More posts
- Journal Entry 3Apr 16, 2023
- Journal Entry 2Apr 03, 2023
Leave a comment
Log in with itch.io to leave a comment.