A simple HTML5 Game tutorial – Part 4

A simple game create using HTML's canvas and JavaScript Screenshot of HTML5 game[/captifon]

In the previous parts  (1, 2 and 3) we’ve developed a basic game which allows a player to move a target around the screen and shot some bad guys. In this post we’ll add labels to show the shots fired, hits and accuracy ratio.  This will give the player a reason for playing e.g. improve your statistics by shooting all of the bad guys with the minimum amount of shots.  With this in place we can start to think about adding levels and keeping a high-score table.
Continue reading “A simple HTML5 Game tutorial – Part 4”