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

danpost's Comments

Back to danpost's profile

Now, updated for HTML 5.
Updated to be HTML 5 compatible.
@Venbha, the image is created using program code. Four different colors are drawn onto the four quadrants of a blank square image and the transparency is set to half. All actors use the same image at any one time.
@Yogibaer, nothing is special about class configurations -- and the Scroller class is not directly linked to the World or Actor class, but is a "help class" in itself extending the Object class (the root of ALL classes). A subclass of world that is to scroll will create a Scroller object and tell it when and how much to scroll. That is basically it.
@davmac, they are filled in using the 'fillPolygon' method.
Currently, mouse dragging only works in applet version.
@Yehuda, it might be possible the user info server is down (possibly needs resetting).
Forgot about this one. Just finished up on documentation and uploaded with source.
@Cirion, it is required that a non-abstract subclass of an abstract class override any methods that have a semi-colon instead of brackets (see the 'run' method in the FullScreenWorld class). You can also go to the following link in the java tutorials: http://docs.oracle.com/javase/tutorial/java/IandI/abstract.html