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

2014/1/14

Question about a scrolling platformer...

askgriff askgriff

2014/1/14

#
Hi Folks! Okay, I am building a simple platformer as a tutorial project for my Java class. My question is whether it's a fairly simple change to make the platformer work as a scroller. It doesn't have to be an endless scroller or anything -- we just want to have more area to walk around in . My current scenario is here: http://www.greenfoot.org/scenarios/10593
danpost danpost

2014/1/14

#
You could look at some of the scrolling demos and support classes on the site to see what is involved. I have several support classes myself. The latest was my Horiz/Vert/Univ Scroller. I am not sure if I remember, but I think it requires an image the size of the expanded scrolling area (but you can create a new GreenfootImage of the size you want in your world constructor, filling it with a color (it cannot be transparent), and then using it in creating the Scroll world object.
askgriff askgriff

2014/1/14

#
Thank you, sir! I will check it out.
You need to login to post a reply.