YOU WILL NEED:

This mfa contains all the objects you will need for this tutorial. Apart from the objects, frame 1 is empty, while frame 2 includes the finished code. Download here.

This is our enemy object. It contains 3 embedded detectors stored as 3 different animation sequences. We will switch between these animations testing for collisions with obstacles..

The level is made up with from various blocks which our enemy objects will collide with. Some are active objects, while others are backdrop objects.
2