Follow the Butterfly

game

Move the butterfly around with your mouse, and Niho will follow it.

This is an experiment on working with a movie clip that can change its rotation depending on the mouse cursor's position. I owe the rotation code to a helpful example file that Flash provided with its tutorial files.

It's not a very complicated code, but the effect it gives is remarkable. My only complaint here is that her head's rotation isn't perfect when she's looking down. But otherwise, I'm very pleased with the results. Niho seems to come to life in this flash! :aww:

Publisher: DeviantArt
Developer: Jdan-S
Language: en
Year: 2009