This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

Busch2207
Busch2207 presents ...

2011/6/5

ScrollWorld

Press Arrow Keys to scroll the world.

The Objects has to be subclasses of "ScrollObjects" or "NoScrollObjects"!
And the world has to be a subclass of "Scrollworld"!

7130 views / 22 in the last 7 days

7 votes | 0 in the last 7 days

Tags: with-source

open in greenfoot
Your browser does not support the canvas tag.
A new version of this scenario was uploaded on Thu Nov 17 19:29:35 UTC 2011 Some new useful methods added.
-Tigerkralle--Tigerkralle-

2011/11/17

Is that the Scrollworld, your scenarios AnimalFight and FishScroll are based on?
Busch2207Busch2207

2011/11/17

Yes! That is the scenario. And my next project, with that I will start next days will be based on this, too!
AwesomeNameGuyAwesomeNameGuy

2011/11/17

How did you get the actors to go offscreen smoothly like that? I can't seem to do that in my scenarios.
tkieseltkiesel

2012/5/1

This is some really great work! I've been working on extending this as a base for a real-time strategy game a student of mine wants to create. I seem to be having problem with collision detections utilizing getObjectsAt(int x, int y). It seems like that method has some weirdness when called off screen.

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

Who likes this?

SPower Game/maniac Starsonovasa -Tigerkralle- K_O_P D_Meehan F-L-Undead