Unlike the last one this one is more efficient and all in one function making it much easier to read. All code by me. Please credit me if you decide to use this.
Why I made this project: I needed some platformer physics for an AI I'm training to do parkour. My other platformer physics was too complicated for me to replicate in Python, so I started from scratch and did it in Scratch so that I could focus more on the logic than on the syntax. I'll post videos of the AI on my YouTube channel. youtube.com/@thenoobnotrealy