Saw Behaviors

VERTICAL and HORIZONTAL Saws require NO BEHAVIOURS!

VERTICAL and HORIZONTAL Saws require NO INSTANCE VARIABLES

The Platform Saw has the MoveTo Behavior

Platform Saw

Instance Variables

The naming scheme for the Position variables refers to the corners of the platform.

So PosTLx refers to the X Position of the Top Left Corner

PosTLy refers to the Y Position of the Top Left Corner

And so on...

Take note of the TilesWalkX and TilesWalkY variables.

These represent HOW MANY tiles the saw has to walk ACROSS and DOWN.

This will CHANGE depending on the platforms you put the saw on.

For my level the first saw has to walk ACROSS 10 tiles and DOWN 6 tiles.

The second saw has to walk ACROSS 6 tiles and DOWN 3 tiles.

Other ways to do this are with PathFinding Behavior or a TimeLine animation.

Instance Variable values for Platform Saw 1

Instance Variable values for Platform Saw 2