SEARCH

Posts Tagged ‘Moving Physics’

HTML5 Game Physics Moving Elastic Collisions

Wednesday, July 17th, 2013

HTML5 Game Physics Bouncing Elastic Collisions

This tutorial is the third in a series about HTML5 game physics. Game character movement becomes more realistic when multiple collisions are utilized. At each collision, a character will need to reverse or lose some momentum.

The third tutorial will move the game character in different directions after each collision. The bounce effect will be achieved by using a constant acceleration. The canvas sides will act as a non-moving object for collision with the moving game character.

(more…)

Tags: , , , , ,
Posted in Tips & Tricks | 1 Comment »