Use the arrow keys to move. This is an engine I made. Remix all you want but GIVE CREDIT.
To add more ground, just duplicate the latest "ground" sprite, and then change the "times" operator slot in the far right by one. Then, change the costume of the "ground" sprite to whatever you want. If you need to make a moving obstacle like I did with the third "ground", then either do a more complicated thing (no, I don't know why or how you would do that) or make ??? extra costumes, then add the script: {forever [next costume] [wait (???) secs] }