
Comments (5)
This is amazing. This is why Santa Claus is real.
Can I just this for my fan-game and credit you
Does this code also works on Godot 3 as well?
Maddie's Physics: Playable Demonstration
Maddie's Physics
I'm sick of there being no tutorials on Sonic physics, so here's exactly how to do it.
In this, you're just given a character controller with 360 degree movement, slope physics, and nothing else. All of the character's coding is done in just one single script, no state machines or any complex gizmos.
On top of that, I've written HUNDREDS of comments in the script to try and help you fully understand how every single line of code works. (Don't worry, there's a version without the comments, too.)
You may use this for your projects, no permission required.
Credit is optional, but if you do, credit me as "Maddie".
Please keep in mind that I'm a pretty amateur coder, so there may be a couple bugs. I plan on improving this a lot more eventually.
Amy sprites by me.