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

Report as inappropriate.

nccb
nccb presents ...

2012/6/8

Lines of Sight

This is a scenario where you must shoot the hordes of robots who have gone haywire and are running towards you.

Use arrow keys to move, and left click on a square to shoot -- but your aim is not perfect, and each move you make, the robots advance towards you. Added to this, all that is shown is what you can see, so you won't know where the robots are until you can see them directly! See my "Robots on the Loose" scenario for a version without this line-of-sight mechanism.

3769 views / 23 in the last 7 days

Tags: with-source

open in greenfoot
Your browser is ignoring the <APPLET> tag.
nccbnccb

2012/6/8

Details on how to implement the line-of-sight mechanism is here (building on previous posts): http://sinepost.wordpress.com/2012/06/08/lines-of-sight/

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

Who likes this?

No votes yet.