Press space to change the background Use the up and down arrow keys to toggle the speed
This is a simple example of how to implement an infinitely scrolling background that you might want to use in endless runner games, racing games or simply for an interesting background. Please credit me if you use this in your projects :)