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

Report as inappropriate.

nccb presents ...


Robots on the Loose

This is the first stage (second stage next week) of 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.

3913 views / 436 in the last 7 days

2 votes | 0 in the last 7 days

Tags: with-source

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


oh, I accidently shoot into the inner wall!囧


Why not use the vector form of the shot line with scalar and direction , then give a slight increment of scalar (say 0.1) in each loop to check if collided with the wall ? I think this would be more precise to forbid the bullet running through the wall.
I believe he made it inaccurate on purpose to make it more challenging.

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

Who likes this?

Bytelord SPower