Build 10/12/24


"Fine, I'll write my own move_and_slide"

Godot has a built in function for character controller movement called move_and_slide. It handles a lot of things pretty well, like sensing the floor and riding moving platforms. But it has a habit of completely eating any momentum on slopes.

Managed to replicate the basic move_and_slide behavior with my own custom function, move_and_react. Momentum on slopes is working beautifully, but introduces some other issues, like collision jitter and inability to stop on a slope.

I added a couple debug controls to switch between the two functions, as well as spawn/clear mobs.

Additionally, some of the purple balls have been replaced with some critter sprites.

Get Freeformer

Leave a comment

Log in with itch.io to leave a comment.