WEEK: 12
Active: March 30th - April 5th
Work Due: April 6th @ 11:59 PM

Homework

Homework Video

In this assignment, you are going to implement something that fulfills the following objectives. Be creative and have fun!

  1. Create a JSON file with at least five objects in it.
  2. Create a class for your objects in the JSON file.
  3. Add all objects to the array.
  4. Create an object for your player and make sure it can move with the arrow keys.
  5. Make sure the player cannot collide with any of the objects on the canvas.
  6. Create another JSON file with at least three objects in it.
  7. Create objects from each entry in the file.
  8. Create a new array for each of the objects.
  9. Make sure when the player collides with those objects, they are collected, and the collectibles disappear.
  10. Show an increase in the score when a picking up a collectible

Homework 11 Examples and Video

Homework 11 Example


Previous section:
Next section: