Scrolling Background

Rocket

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

 

 

 

http://www.openprocessing.org/visuals/?visualID=42350

Advertisements

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.