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

Report as inappropriate.

LeoLi
LeoLi presents ...

2011/6/17

run sheep run

avoid snakes and wolfs
use the direction keys to controll

for some reason wolfs won;t spwan

2125 views / 149 in the last 7 days

Tags: game with-source

open in greenfoot
Your browser does not support the canvas tag.
A new version of this scenario was uploaded on Fri Jun 17 00:01:51 UTC 2011
A new version of this scenario was uploaded on Fri Jun 17 00:09:12 UTC 2011 sorry... forgot to deleted the snake spwan potion by accident last time
mikmik

2011/6/17

Did you want more wolves to spawn over time? If that's the idea, the reason it doesn't work is that you insert the SAME wolf object over and over again. To get more wolves in, you need to create a new wolf before inserting it. So instead of writing addObject(wolf, ..., ...) write addObject(new theWolf(), ..., ...) For the same reason, you will (currently) never get more than one snake.

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

Who likes this?

No votes yet.