HTML and CSS Reference
In-Depth Information
The Explosions
The explosion tiles are unique. They are rendered on top of the playfield when an enemy tank
orthe player's hit attribute hasbeen set to true .The explosion tiles animate throughalist of
five tiles and then are removed from the game screen. Again, tiles for the explosion are set in
the explodeTiles array:
var
var explodeTiles = [ 17 , 18 , 19 , 18 , 17 ];
Next, we examine the entire game flow and state machine to give you an overall look at how
the game logic is designed.
Search WWH ::




Custom Search