Resonant Blade Devlog 31: Physics and Movement
Resonant Blade Devlog 31
Physics and Movement
Hey you! Hope you're having an awesome week so far! Thanks for taking the time to actually open and possibly read this! Recently, I’ve been reworking and improving the movement physics for the player controller. Before, it was a bit clunky with the player reaching maximum velocity and coming to a complete stop instantly. I added more of a deceleration effect whenever you let up off of the run where Atlas’s animation continues and slows down for a short time. I had previously removed the deceleration altogether because I had trouble getting it to play nicely with the animations, but I finally got that figured out.
Exaggerated deceleration (above). Natural deceleration (below).
On top of the movement physics, I added in sprinting. Hold L-shift and you can move faster. All I had to do was increase the movement speed and animation speed to get this to work. I also added a bit of a screen shake and some smoke effects at the start of the sprint.
I had to put a cooldown timer for the sprint to account for how often you can start sprinting. It’s a short timer, but I didn’t want the player to be able to spam the Shift key and spaz out sprinting. The dash visuals have also been improved with the same smoke effects.
I made a couple of visual cues for when you run out of energy and when your energy is restored from being completely depleted. There's also a cue for when you try to sprint or dash but don't have enough energy. All of these cues will help relay information to the player about energy management.
Energy depleted. Energy recharged.
Not enough energy to dash/sprint.
One last thing I forgot to mention on the last devlog was some custom particles that I added in to hitting enemies with the wrong resonant frequency. These little randomly colored particles will appear as a visual cue that you hit them with the wrong resonance.
Alrighty, another week, another devlog! Don't forget to subscribe to the weekly newsletter to stay up date with latest developments! I hope you found this interesting and thanks for reading :)
Youtube Devlog | Resonant Blade Website | Play the Demo! | Instagram | Follow on Twitter! | Discord
Get Resonant Blade
Resonant Blade
A 2D sci-fi action adventure. Listen for your enemies' weakness. Dial in sonic frequencies to destroy your foes!
Status | In development |
Author | Richard_Daskas |
Genre | Adventure, Action, Role Playing |
Tags | 2D, Action-Adventure, Action RPG, Pixel Art, Retro, Sci-fi, zelda |
Languages | English |
More posts
- Resonant Blade: STEAM Page is up and running!Aug 03, 2022
- Indie Game Devlog 30: Juicing up the CombatApr 13, 2022
- Indie Game Devlog 29: Visual Improvements [ Dark Synth Citadel ]Apr 07, 2022
- Resonant Blade Demo 0.0.7 - 0.0.9 ChangelogApr 03, 2021
- Resonant Blade Demo Update 0.0.7Mar 27, 2021
- Latest Resonant Blade Devlogs and Demo (PC/Mac) on Itch.ioOct 05, 2020
- Resonant Blade Demo v0.0.3Aug 22, 2019
- Resonant Blade - Demo TrailerJun 06, 2019
- Resonant Blade Update: Devlog Episode 13Jun 04, 2019
Leave a comment
Log in with itch.io to leave a comment.