Report as inappropriate.

Mesepia200x200_thumb

polle presents ...

2008/8/4

Side scroll demo

Some scenarios require the background to move.
Here is a demo that shows gow to side-scroll the
background image.
If you need this for your own scenario, download the source and have a look.

3313 views / 41 in the last 7 days

Tags: demo with-source sidescroll

open in greenfoot
Your browser is ignoring the <APPLET> tag.
A new version of this scenario was uploaded on Mon Aug 04 09:07:26 UTC 2008
No_avatarlirki

2009/10/26

I look at the code and i somewhat understand it. Yet i change something like the dimension (I change it all the way through) it compiles, i look at the scenario and get a gray Run, Act, Pause set and the game is like a 1mm square box. Do you know whats wrong? And the only way to get it back to normal is to delete the class and re-copy original.
No_avatarlirki

2009/10/27

Nevermind. I was didnt change the image extension from .gif to .jpg. Spent 1 and a half weeks on it then the dude next to me was like you need to change the extension....
LogoGameCode

2011/7/1

@lirki At one of my scenarios I got the same mistake with this squarebox. For some reason everything works in Greenfoot. But as soon as I export it to .jar there is this stupid square instead of my game. Maybe it's a bug in Greenfoot
Smalldavdavmac

2011/7/2

@GameCode, best thing to do is create a new discussion (Discuss tab at the top of the gallery page) and talk about the problem, and give a link to your scenario. Probably it is actually something that you are doing wrong...

Want to leave a comment? You must first log in.

Who likes this?

No votes yet.