danpost wrote...
First of all, no changes are meant to be done in the SWorld class (but, I guess if you only changed what was printed to the terminal, it should not mess things up any). Secondly, the SWorld class has a 'setMainActor(Actor actor)' method which you need in your Scrolling_World class (as well as the 'Actor mainActor' field, if not already there).
Btw, the SWorld class, as is, was meant to be re-usable support class. That is, you can add it to any scenario and subclass it with a world that you want scrolling implemented in. However, it can be difficult to work with and may not be compatible with all types of scrolling. I, more recently, wrote aScroller class. which is a support class that is easy to work with and does all types of scrolling. It is well documented and has a tutorial to go along with it.
