In this game, the Bee object chases after the Flower object.
The movement of the Flower is controlled by the user.
Specificially, the user moves "drags" the Flower by moving
the cursor. The Flower will continually be positioned where
the cursor is.
The Bee will move with an "easing motion" toward the Flower.
Easing motion in animation controls the acceleration and
deceleration of an object over time. Instead of moving at a constant,
robotic speed, the Bee will mimic real-world physics by gently
gliding to a halt when it reaches the Flower.
|