Jumping and Landing Feedback
I spent some time improving the visuals for jumping and landing. One minor tweak that I did was to alternate the jumping animation so that each time the player jumps the animation will be mirrored horizontally. This keeps the animation for jumping from looking too repetitive when the player makes a quick sequence of jumps.
I also implemented a few feedbacks from the Feel asset. The first feedback that I implemented was squash and stretch on landing. When the player lands they will squash down in the Y-axis and stretch out in the X and Z axes. While working on this I wanted a more subtle effect for short falls and a larger effect for high falls. I added a "hard fall" velocity to the player movement controller to accomplish this. If the player hits the ground above a certain velocity threshold it will count as a hard fall. Hard falls have a different set of feedbacks. There is also an event that is fired whenever a hard fall occurs. Currently, this event is used to briefly prevent player movement input which adds to the impression that the player was hurt by the fall. In the future, I'd like this event also to be picked up by a health system to damage the player.
I also added several particle systems for jumping and landing. Jumping uses two particle systems: one that creates a ring of puff particles where the player left the ground and a second that creates a trail of puff particles at the player's feet as they jump. Soft landings have a small ring of puff particles. Hard landings have a large ring of puff particles as well as a ring of start particles.
The final feedback that I added was a screen shake on hard landings. This is a brief high-amplitude, low-frequency 6-D shake that adds impact to hard landings. I'm feeling happy with the basic movement at this point. There is still a lot of polish that I could add, but I think the current state of player movement is good enough to proceed with expanding the game mechanics and test level.
Files
Vaults & Vampires
A platform adventure game with mechanics and themes inspired by tabletop role-playing games.
Status | Prototype |
Author | rcxa |
Genre | Adventure, Platformer, Role Playing |
Tags | 3D, 3D Platformer, Prototype, Singleplayer, Unity |
More posts
- Refactored Shadows for PerformanceAug 18, 2024
- Audio Controller for Sound EffectsFeb 18, 2024
- Refactoring and Starting CombatFeb 03, 2024
- Double JumpingJan 29, 2024
- Spikes and Mobile InterfaceJan 21, 2024
- Player Health and DeathJan 15, 2024
- Waypoint SystemJan 14, 2024
- Codebase Restructuring and Walk AnimationsJan 06, 2024
- Player Animation ControllerJan 04, 2024
Leave a comment
Log in with itch.io to leave a comment.