Free ActionScript

Flash AS2 & AS3 Tutorials, Game Code, Effects, Source Files & Sample Downloads

Enemy AI – Patrol

No Comments »

New enemy AI patrol script. Movieclip follows a predefined set of point markers stored in an array.

Features

  • Accelerate/Decelerate
  • Smooth movement & rotation
  • Bounce off walls on collision
  • Go to next point once destination is reached
  • Easily add/remove destinations

Preview

Download Fla Sample

Download Fla Sample

Leave a Reply

You must be logged in to post a comment.