I am working on a game (that i haven't yet put out) that i need to make the background scroll. help would be appreciated.
private void scrollBackground() { GreenfootImage bg = new GreenfootImage(getBackground()); getBackground().drawImage(bg, -1, 0); getBackground().drawImage(bg, getWidth()-11, 0); }