A Video for the Ojambo.com HTML5 Game Physics Elastic Collisions article.
Part One of One
Elastic collisions cause characters to change their acceleration. The exact point of collision impact can be determine by the character’s position and dimensions. Gravity will not be uniform due to the different drag coefficient for objects.
The video begins editing a previous index HTML file from the first tutorial about HTML5 Game Physics. The file will contain the page content and the updated JavaScript information.
The tutorial is broken up into four parts. The first part runs the previous code in the browser.
The second part adds the acceleration code. The third part adds the collision code. The final part consists of testing output using a web browser.