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

2013/5/24

Upward scroller

programmer22 programmer22

2013/5/24

#
Hello, to anyone willing to read this. :) I want to make an upward scrolling type game. Would I use setScrollingBackground(bg); or something different?
danpost danpost

2013/5/24

#
Are you using a particular scrolling class from off the site? if so, which one (one may work better for what you want than another)? Will you want an infinite scrolling or a limited scrolling area? when you say 'upward scroller', do you mean that the main actor appears to move upward or that the background scrolls upward, making the main actor appear to fall downward?
programmer22 programmer22

2013/5/26

#
well, Im trying to make a game where you start on earth and eventually get to the moon. You go up but the background also changes to different colors the higher your up in the atmosphere. So it appears as if you are flying to the moon.
programmer22 programmer22

2013/5/26

#
like this http://armorgames.com/play/14107/into-space-2
Rudi Rudi

2013/5/27

#
yea.... how can we make that??? like into space game, that the background seems moved...
It seems if you want to follow from Into Space 2, you will have to have both a scrolling background and cloud or other objects that move down according to the speed of the rocket (I'm assuming you want to use a rocket). You may want to use this if you're planning on doing that: http://www.greenfoot.org/scenarios/5806 If you take a look at his methods, I think you would be able to get it. Or, if you want, you can make your own scrolling-like implemenation. However way you want to tackle it.
You need to login to post a reply.