Scrolling Background


I found an example of scrolling background on openprocessing website. I tried to understand the code and write my own code for my game.


Initial Sketch of the game













This is my initial sketch of the game.

What do I have to develop? : need to crate a character for the game, need to have a nice background-possibly scrolling background, need to edit the star

Adding Snow

Rob suggested that if there were “falling snow” in the background, it would be nice. So, I tried to write the code for it and Finally, I had got it!

Basically, I created two different classes Moving dots and Moving dots2 and used for loop for repeating the dots.