It took me a little while to play around with their waypoints but the Toy Wind Up Robots are now on patrol in the Tree House in level 03 of my "Bud the Spud" game. I was having some problems trying to keep the robot on the top look out deck from wanting to walk towards the waypoints in the actual Tree House, I had to do a lot of experimenting moving them around so as they would not be in line with the ones below. After much tweaking and playing around I think I have something workable. The robot in the Tree House walks along 4 waypoints arranged in a sort of box pattern of 3 sides;
_____
| |
| |
Sort of like that across the floor of the Tree House. The robot above walks a similar pattern, it took me some tweaking to get it so as he passes very close the hole in the deck that Bud must fall through onto the tree branch below. That way if he's not looking out and takes to long trying to figure out which angle is best to drop down from and is not aware then a sparking wind up robot will zap him.
_____
| |
| |
Sort of like that across the floor of the Tree House. The robot above walks a similar pattern, it took me some tweaking to get it so as he passes very close the hole in the deck that Bud must fall through onto the tree branch below. That way if he's not looking out and takes to long trying to figure out which angle is best to drop down from and is not aware then a sparking wind up robot will zap him.
No comments:
Post a Comment