Arrows to scroll. Creates an infinitely scrollable random looking (but not random) terrain. For an example of a game using this engine: http://scratch.mit.edu/projects/24657191/
Go here for the 2D version: http://scratch.mit.edu/projects/24410031/#player Thanks to @epictester000 for the cubes and the inspiration! The terrain is built from four sine waves. You can change the amplitude, frequency, and offset of each of the waves to get a different looking terrain. If you want to see only one sine wave then set the amplitude on the other waves to 0.