This is a Starter Project to make a hit detection box using the Pythagorean Theorem. You will need to edit the code to make it work properly. 1. Click See Inside. 2. Click Remix. 3. Go to the Player Sprite. 4. Use the Pythagorean Theorem to find the distance between the player and the obstacle using the player X and Y coordinates and the obstacle X and Y coordinates. 5. Enter the solution using the math blocks where it says set a to, set b to and set c to. Hint: a^2 = a*a and b^2 = b*b To jump, press space or up.
Based on Unit 8 from BootStrap World: http://www.bootstrapworld.org/materials/spring2017/courses/bs1/units/unit8/index.html