This is the engine I use in my platformers, and I thought I would share it with you. Use arrow keys or wasd to move around the small sample space to test the code, then put it into your own games!
The original script idea came from @TeachUDude and his platformer tutorial https://scratch.mit.edu/projects/57640350/ from which I added a few tweaks to make it function without a hitch. Check out the first game I use it in! https://scratch.mit.edu/projects/141704771/ Also, feel free to see my profile @Mr-Pineapples to see my studio about colored ball platformers, which is a collab studio! Hope you enjoy! P.S. tell me what you think in the comments.