I have made a game similar to the game that you can play on google chrome when you have no connection where the objective is to jump over a load of cactus just by pressing the space bar. Well in my game i have managed to make a character that can jump and the background scrolls. All i need now is to make my wall spawn at random intervals and i don't know how i would go about that, any help would be appreciated,
Thanks