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

Report as inappropriate.

Ninto
Ninto presents ...

2009/3/23

Double Grid

The gridActor class in this scenario is made to fit 2 grids at once.
This means that whenever the 'grid()' method is called will the actor move to the other grid.
In this scenario the grids is 1 and 60.

Controls:
- M: Create a mover at a random location.
- B: Create a bullet at a the location of the mouse.
- H: Create a house that will follow the mouse until clicked.
- T: Create a turret that will follow the mouse until clicked.
- C: Clear all objects in the world.
- ArrowKeys: Move all movers in the world.

8438 views / 21 in the last 7 days

3 votes | 0 in the last 7 days

Tags: mouse with-source grid

This scenario is a member of: Reusable actors & support classes


open in greenfoot
Your browser does not support the canvas tag.
EduardoRTEduardoRT

2011/1/22

Nice :D

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

Who likes this?

Ned EduardoRT Builderboy2005