Mechanic 8 - Spike Ball

Game Assets:

All of the assets required can be downloaded here.

The sprites for the saws are in the Traps --> Spiked Ball.

Level Design:

Create any level you like.

Use the Saws in your level.

You may copy my level layout.

Note: There are two images required to create the spiked ball. These are in the folder and are shown here:

Some of the chains will swing back and forth and some of them will rotate around. These are shown in the screenshot below.

The chains in the pink squares are for rotating.

The chains in the green squares are for swinging.

Add the sine behaviour to the chains which will swing left and right.

Swinging Chain Settings

These are values which work well for the location of the chains in this particular level design. 

You are free to modify these so that they work well in your own level.

For the Rotating chains they only require the Solid behaviour - set to disabled.

The rotating chains need instance variables for Length, Rotation Speed and Starting Angle.

Left hand side rotating chain values

Left hand side rotating chain values

The final part of the setup is to create one more object using the Chain.

Call it ChainPin

Give the pin the Orbit and Pin behaviours.

Reset all the Orbit properties to 0 as we will modify them dynamically in the Event Sheet later.