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

Report as inappropriate.

RcCookie
RcCookie presents ...

2022/6/4

Resizable World

A reusable world class that can - unlike normal worlds - be resized after it was created. Additionally, it can also be resized using drag-and-drop using the little triangle in the bottom right corner of the black border around the scenario.

The use of this world is very simple: just replace the "extends World" in your world class with "extends ResizableWorld".

Make sure to copy all necessary files:
- The "ResizableWorld.java" file
- The "Greenfoot.java" file
- The "org" directory
Otherwise the program does not work.

1162 views / 21 in the last 7 days

Tags: mouse game demo drag world library reuse resize lib

open in greenfoot
Your browser does not support the canvas tag.
A new version of this scenario was uploaded on 2022-06-04 13:03:17 UTC

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

Who likes this?

No votes yet.