View Single Post
Where am i going wrong here?
Junior Member
Status: Offline
Posts: 8
Join Date: Jun 2011
Location: Australia
Default Where am i going wrong here? - 06-08-2011, 12:30 AM

Short Alice Game: Wolf and Rabbit

Storyline: Wolf responds to <-- , --> and ^ arrows.

-If the wolf gets to within 4 mtrs in front of Rabbit, Rabbit goes down 0.5m
-If wolf moves to position greater than 4m from rabbit, rabbit comes up 0.5m
- If wolf can get behind roger and get close enough the wolf turns its head, rabbit says oh no and wolf eats rabbit.

I can't figure out how to make this work. So far i have :

if husky dist. in front of bunny <4
bunny move down 0.5m
Do nothing

If husky distance behind bunny >4
bunny move up 0.5m
Do nothing

I press play and the bunny moves straight down. I have spent 10 hours trying everything possible but i can't figure out how to get it done. Any help would be greatly appreciated
Reply With Quote