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

Report as inappropriate.

FlyingRabidUnicornPig
FlyingRabidUnicornPig presents ...

2013/11/24

Moving Mouse In 3D

So I did it, and it took much less time than I thought it would.
Look around the world of weird rotating PokeBalls with the mouse!
Note: Does not work on site, download scenario to try it out.

Controls
To trap/untrap the mouse, press enter. It will reset the position and rotation of the camera back to normal everytime you trap/untrap the mouse.
When not trapping the mouse, the controls are the same as my previous 3D scenario:
Arrow keys - pan the camera (it looks like the spheres are moving oposite of what you choose)
aswd - move the 2nd world on a horizontal plane
qe - move the 2nd world up and down
ik - pan camera forward and back
jl - rotate camera left and right
uo - rotate camera up and down
space - look at the main world.
When the mouse is trapped, the controls are the same, except for any camera-rotating tools. Use the mouse to rotate the camera instead.

There are a couple "bugs", like the movement isn't as smooth as it could be, and the rotation can get all messed up, but I will try to fix those... Someday.

2252 views / 7 in the last 7 days

2 votes | 0 in the last 7 days

Tags: mouse with-source

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.

No Comments

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

Who likes this?

herusaputra Entity1037