MMDT1022 HTML II and Javascript
Week 10
| Week 10 This week is about using 2D physics engine. Boxbox and Box2dWeb download and documentation https://github.com/incompl/boxbox. Documentation pulled from github and published on this website. Documentation on BoxBox Topheman.js boxboxevents |
Lab Angry Pig For this exercise you need to create: Create a world based upon what we did in class. Add your own objects. Create at least 20 objects. 5pts Change the circles (pigs) to be an image of a pig head or something relevant to your game theme. Change the blocks to be like a block wall image. 5pts Make a sound when a collision occurs. 5pts. Create a scoring model of your choosing. Let me know how you come up with the score. Type up some rules outside of the canvas and display it so users know how to play your game. 5pts Assignment is due one instructional week from when it was assigned. 50% penalty if late. |