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

Report as inappropriate.

danpost presents ...


PIP Actor Class

An actor class that shows the current state of one world inside another.

1942 views / 5 in the last 7 days

8 votes | 0 in the last 7 days

Tags: simulation demo with-source danpost support picture_in_picture pip mouse_drag

This scenario is a member of: Support Classes by danpost

open in greenfoot

There is no HTML 5 translation of this scenario available.
View legacy version (requires Java plugin)

This scenarios uses Java features that are not available for use after conversion to HTML 5. Please try the legacy version, which requires the Java plugin to be installed.



Your programm did help me, but know we have another problem: We want to have several levels and the actors should be able to go into a new level at different time (in the minor wolrds). Do you have an idea, how this could work or it is even possible?
A new version of this scenario was uploaded on Sun Feb 09 03:43:21 UTC 2014 Added score counters to both worlds and rocks to shot at in the ship world.
A new version of this scenario was uploaded on Mon Feb 10 15:26:58 UTC 2014 Cut down on lag for unbounded worlds.
A new version of this scenario was uploaded on Tue Apr 15 01:34:43 UTC 2014


Do not know why or how long it has been that way; but, I noticed that the ship was not centered in the Space world (corrected).
A new version of this scenario was uploaded on Tue Apr 15 04:20:27 UTC 2014


Forgot to check 'Publish source code' checkbox after centering ship in Space world.


You can't lose in the asteroids game.


@Game/maniac, it was not intended to be a game -- just a sample world. The Wombat world was a sample of a gridded (cell size greater than one) world and the Space world was a sample of a pixel cell-sized world. Originally I did not even have the asteroids in it; and DoctorProfessorYoshi wrote that it would be nice to be able to shoot at something. So, I added asteroids and a counter (and gave the wombat user-key control).


I currently am using a lot of the code from this project but I have the problem that I cannot click actors in the world (which I need), so would it be possible to remove the code that enables the user to move around the PIP elements and if then how?

See all comments

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

Who likes this?

BenMcBen lordhershey Entity1037 Game/maniac DoctorProfessorYoshi SPower pigletisland kiarocks