@al_griff, the previous post has the code to do what I believe you wanted to do. The last line should probably read 'super.act()' (in case you add an act to your world -- if you do, make sure you call 'super.act()' in it also or the scrolling will not work).
My main actor is a Wombat object. To start him on the left edge of the scrollable world, the following can be used in the constructor for the subclass of SWorld:
Wombat wombat = new Wombat(); // creates the main actor
setMainActor(wombat, 250, 300); // sets as main actor and sets its range of movement
GreenfootImage bg = new GreenfootImage("scene.jpg"); // create background image
setScrollingBackground(bg); // set the scolling background image
int leftOffset = -getUnivX(wombat.getX()); // get -offset from left edge of scroll world
wombat.move(leftOffset); // move actor to left edge of scroll world
act(); // adjust the scrolling background
// add the rest of your objects
This is a glorified tic-tac-toe. Try to get three in a row horizontally or vertically along the same connected line. Click on one of your men, then click on the empty place you wish to put it. Alternate turns placing one at a time.
Oh, I see. You have to reset it for each new game. You should have it pick a new random selection each time the player clicks on one of the options and show the new result.
2013/4/10
Scrolling SuperWorld
2013/4/10
Scrolling SuperWorld
2013/4/10
Scrolling SuperWorld
2013/4/5
Rock Paper Scissors
2013/4/5
Private Messaging
2013/4/5
Mushroom Game Demo(s)
2013/4/5
Trilha (Nine Men's Morris)
2013/4/3
Rock Paper Scissors
2013/4/3
Rock Paper Scissors