This is a keyboard controller. After you click Start button, please use direction keys to control the palmerworm. You can find it moves to eight directions and inclines sideward 45 degrees when it touches house. This can be used in checking irregular shapes' collision. Flash can only support checking collision of regular shapes and that of point to irregular objects. In order to check two irregular shapes' collision, you can define a group of shape points for the irregular shape and then check whether the points and the irregular shape collide or not.
Key Function: ActionScript1.0, Shape and Reshape