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. |
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. Change the blocks to be like a block wall image. 10pts Create a scoring model of your choosing. Let me know how you come up with the score. Put it in the rules section below. Type up some rules outside of the canvas so users know how to play your game. 5pts Extra credit: Make a sound when a collision occurs. 5pts. Assignment is due one instructional week from when it was assigned. 50% penalty if late. |