Select Page

CS 1334 The University of Texas at Dallas Khan Academy Project Lab Report

Question Description

I’m working on a javascript exercise and need support to help me understand better.

Lab Lesson #5 – Follow the mouse!

1.Create a new Khan Academy project (you could do the codes on khan academy for free. That way they wont turn out different when you send them)

2. Create a custom function that draws a small cat or other creature

  • the animal should be small enough to move around the screen ?
  • you can use scale() to make the animal smaller, if you wish?

3. The animal should follow the mouse, if the mouse is pressed on the animal

  • use the mouseDragged() function, (or use mouseIsPressed boolean variable) and if() statements to determine if the animal should move with the mouse ?
  • use the smallest rectangular area that encloses your creature (bounding-box ) for hit testing ?
  • if the animal is not under the mouse, it should not move with the mouse

"Place your order now for a similar assignment and have exceptional work written by our team of experts, guaranteeing you "A" results."

Order Solution Now