I’m currently developing a side scroller game on very early stages and I’m new to game development. At the moment, I have a main character able to switch walking speeds via 2 different keybinds:
Default speed: WALKING
**Press Caps Lock: **JOGGING (press it again, back to walking)
**Press Shift: **RUNNING (press it again, back to walking)
The above solution is not really what I wanted as it can be very cumbersome to deal with. Ideally I want 2 ways to be able to control the character speed:
- Using a single key to toggle between all 3 stages ( WALK / JOG / RUN )
- Gradually increase/decrease the character speed by turning the mouse wheel up and down
Does any of you guys know a way to do the solutions I’d like to have in my game by using blueprints?
Thanks in advance!