2024-10-29 Running Speed

Published: Tue 29 October 2024
By Ibb

In MorCol.

Two weeks of not-enough-motivation, but I'm back at it now. Today, I implemented some variable-speed animation (so the character accelerates to a full walk animation) and also the ability to "run". No animation is available for this running yet, so it just uses the walking animation, but moves at twice the speed. Running also uses a faster acceleration speed, so pressing the run key will get you up to walking speed faster and then will continue on to running speed.

I also added some debug info and resized the game window to make it easier to work on the game and see debug console output at the same time.

running animation

Next up is probably actually implementing a running animation and then moving most of this logic into an AnimationTree state machine.

social