Assignment JS7: Bee Chases the Flower



IMPORTANT: Upload your final game to Canvas as a .wick file.


    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.

  1. Construct a Flower object
  2. Code the Flower so that it moves using the mouse.
  3. Construct a Bee object
  4. Code the Bee so that moves toward the Flower
    (representing the user's position on the screen).
    Code the Bee so that is eases into its destination.