HW 2: Read about Collision and set up ImpactJS

Due Thursday before class.

Read Adam Brooke's HTML 5 Tutorial (see here) (code here, local copy code here )
Wikipedia Elastic Collision (see here )

Below is a flash tutorial, basic introduction using AABB collision boxes:
Game Development-tut-plus (here)
Advanced Collision Detection (Read)
         Collision detection using the separating axis theorem ( see here )

Further Reading: In-Elastic Collision
http://en.wikipedia.org/wiki/Inelastic_collision
https://www.youtube.com/watch?v=mhIOylZMg6Q
http://hyperphysics.phy-astr.gsu.edu/hbase/inecol.html#c1

 
Task 1 Use the local code copy of Adam Brooke's as a template, and add the visual of collision points (depicted by blue circles) described in the AABB collision tutorials.  
Task 2: Make it look more cooler, e..g, change color of balls on impact, add a sprite for collision site, make intealistc.  
Task 3: Install Impact JS, and make sure that apache, and PHP servers are working on your laptop that bring to class Thursday.  

 

Submission:

submit HW2 csx070

Use capital letters for H and W.

and email: maria.hybinette@mac.com

Please submit your work on nike.cs.uga.edu.

 

 

 

 

 

 

 

 


.