SEARCH
Posts Tagged ‘Physics’
HTML5 Game Physics Velocity
Wednesday, July 3rd, 2013
HTML5 Game Physics Position And Velocity
This tutorial is the first in a series about HTML5 game physics. The HTML5 canvas element will act as a stage for all game characters. JavaScript will be used for game logic and updating canvas items.
The first tutorial will draw a simple rectangle that will act as a game character. The character will move horizontally across the canvas. The code is based on an article by Hunter Loftis for Skookum Digital Works titled “Physics for Lazy Game Developers”.
Tags: Games, html5, Javascript, Physics, Position, Velocity
Posted in Tips & Tricks | 2 Comments »