Platformer Physics - Riptide901 My Platformer engine, new, improved, and easy to use! PLEASE NOTE: This script is for making regular platformers and IS NOT a tutorial. If you want to make a scrolling platformer you can check out my script here: https://scratch.mit.edu/projects/251202402/ There are a lot of platformer scripts out there, but take a moment to look at this one. Smooth detection, optional edge collide, and more, all easy to use! Currently I am working on double jumping an such, but for now, you can enjoy this script, with more for less. Here's what this script currently has to offer: v2.0 Basic Feature Overview (See below for how to use): -Adjustable values for easy customization -Smooth and jitter-free slope, ground, wall, and ceiling detection -Dash feature -Optional collision when touching the edge of the game window (This is demonstrated in the project, but if you don't want it, then just change the Edge Collide setting in the platformer script to something other than "1") How to Use v2.0 (A basic overview will be provided in the project, but this will tell you how to get the most out of this script): There are many custom properties in this script to ensure you get the best experience, so here's where you can learn how to use them. These features are listed below in the order they appear on the custom block inside the project. 1. Jump height: A lower value gives your player a low jump, while a higher value sets the jump height to be higher. 2. Gravity: How fast will your player fall? Setting this value to negative one will give you normal gravity. If you increase (ex. -2) or decrease it (ex. -0.5) then your player will jump lower or higher respectively. To fix this just change your jump height. Also, since gravity pulls you down, this should always be a negative value. 3. Collision Sprite: This should be set to the name of your collision sprite (The sprite the player interacts and collided with). This makes it easier than changing every "if touching" input individually. 4. Speed: This controls how fast your player will go and how much momentum they will gain. Most platformers use 1, but a lower input will make you go slower and a higher one will make you go faster. Generally, a number greater than one is too high, though. 5. Edge Collide: Set this to "1" if you want your player to stop moving (and set x and and y velocity to 0) once they reach the edge. Otherwise, set this to any other input besides one. 6. To use this script, just let me know in the comments (no need to wait for my permission), backpack it, use it, and link the project in the comments when it is done so I can see the awesome stuff you guys make. Also, make sure to give credit to me for making the script if you use it. If you have questions, comment them down below and I will create a Q&A here to answer it if I feel like it will be a common question, but I will always answer it in the comments regardless. That's all. Enjoy!