We will be adding an Img class to handle images in our game.
Because each Img object has position and size in it, we can draw images everywhere with this simple code
just set the value of images for each page you want an image
We will make the inventory contents an object, keeping track of each item as a property, the value of which is the number we have.
Add some fun items to it
Created 8 months ago
Teach coding to your students with MVCode Teach
MVCode offers an integrated product designed to teach coding to students.
Learn more about MVCode Teach