This site requires JavaScript, please enable it in your browser!
Greenfoot back
compsciproject8
compsciproject8 wrote ...

2017/4/25

How to Make Randomized Infinitely Scrolling Background

compsciproject8 compsciproject8

2017/4/25

#
I am currently working on a game for my class and would like to know how to make a scrolling background that moves down. I want the sprites to be randomized so that the map is always different.
danpost danpost

2017/5/3

#
I think this was left unanswered for so long because you asked about multiple issues. It is always best to introduce one issue at a time. For the scrolling background, you may want to check out my Scrolling Tutorial scenario. Even if you cannot view it, it has a link to a discussion about it which includes the codes to the Scroller class. If you can view it, you can also check out my Scroller Class Demos which shows the versatility of the class.
You need to login to post a reply.