banner ad

Tuesday, July 18, 2006

obstacle avoidance v4 »

In video games we often need to slalom a MovieClip between obstacles...err without tweening. This obstacle anticipation//avoidance of  the the cone shaped obstacles technique can be used in the case of enemie spaceships where you want to implement...

Thursday, June 15, 2006

obstacle avoidance v3 »

In the spirit of the 2006 FIFA worl Cup I decided to use the obstacle avoidance v2 post to slalom a MovieClip between obstacles.  The ball anticipates its future path and avoids the cone shaped obstacles. Drag the obstacles around and make the...

Thursday, June 01, 2006

obstacle avoidance v2 »

This is the same steering behavior  as the previous post.  It anticipates the clip's future path and avoids the the cone shaped obstacles. What has been added is a  slider that  grows|shrinks the obstacle.  Mathematically this...

Tuesday, May 30, 2006

Obstacle avoidance v1 »

This is the first script of a series on obstacle avoidance with unknown trajectories.  This steering behavior anticipates the clip's future path and avoids the the cone shaped obstacles by adding a lateral steering force to the velocity. ...