This is a first step from the template for classroom use. It steals the physics from jebiminecraft's game, and then simplifies the other code. See more in the studio https://scratch.mit.edu/studios/34481231/
Some code initially gotten from jebiminecraft for the original project Suika Game (watermelon game).