This is a much easier-to-copy version of my top-down scrolling engine found here: https://scratch.mit.edu/projects/557048798/ Press space to make new clones, but remember the clone limit! How everything works is explained inside the project, although it is kind of general. If you have any questions, feel free to leave a comment and I will respond with a more in-depth explanation.
If you choose to use this engine, please credit me. It doesn't have to be anything big, just something like a mention in the "Notes and Credits"