A very early and buggy version of the engine I used for this project: https://scratch.mit.edu/projects/1184342310/ less than 80 blocks of code!!!! space to jump arrow keys to move
Code 100% by me A quick run-down of how this works: So basically, the gravity is just a simple script telling the player sprite to move down 10 steps until it touches the ground or if the key space is pressed. And the jump is just a simple code checking if the key space is pressed, once it is pressed the sprite will move up 10 steps once released it will come back down. The movement is just checking if the arrow keys are pressed and if so, the player will move in the given direction when hitting a new sprite called level wall the sprite will back up 5 steps 2 times so that it doesn't walk through the wall.