Hey, i have a simple question,
I have created a big picture, 800x3000. My world is a 800x900 world with 1x1 cells.
I want my background to scroll from top to down, like an infinite scroll (my picture is set so it's like one infinite picture).
I began to try something, and based on something i found here,
But it's not working as expected. I tried several other things, but none worked. Any idea ?
1 2 3 | GreenfootImage bg = new GreenfootImage(getBackground() ); getBackground().drawImage(bg, 0 , + 1 ); //On redessine le bg par dessus getBackground().drawImage(bg, 0 , getHeight() + 10 ); //En le faisant défiler |