FEATURES--- Jump: The higher the number, the higher the sprite jumps when you press the up arrow. Default Value: 12 Gravity: How quickly the sprite falls. Negative values cause it to fall and positive values cause it to rise. Default Value: -1 Friction: The higher the decimal, the longer it takes for the sprite to slow down when you let go of the right/left arrow. Default Value: 0.9 Speed: How fast the sprite moves when you press the right or left arrow. Default Value: 1 H-Wall Jump: How far the sprite bounces off a wall after jumping off of it. Default Value: 8 V-Wall Jump: How high the sprite jumps from a wall jump. Default Value: 8 Max Damage: How many frames a sprite can last while touching red before something happens. Default Value: 100 Fall Damage: How far a sprite can fall before something happens. Must be a negative value. Default Value: -20 Upside Down Support: You can now make the physics upside down! Just make the gravity positive, jump negative, and both wall jumps negative. Wind: You can make the project automatically push the sprite in a specific direction. Default Value: 0
HOW TO USE IN YOUR PROJECT--- 1. Click "See Inside" 2. Find the long pink hat block 3. Click the backpack at the bottom of the editor 4. Drag the script into your backpack 5. Go to your own project 6. Open the backpack again 7. Drag the block into the script area 8. Click the "More Blocks" section on the "block types" 9. Drag the pink block into the editor 10. Experiment with the values! CREDITS: I found a video on YouTube showing how to make a platforming script. VIDEO: https://www.youtube.com/watch?v=ytBv2-FJ6xc If you want to change the controls, just find the "key pressed" blocks and change them to your liking.