20
Jul
In the previous part we created the enemies and shot them down. In this part we'll add a HUD (Heads Up Display) to show the player's lives, level, and score. Adding a HUD We're going to add a HUD to the game. This will show the player's lives, level, and score. We'll use a simple HTML structure for this, and some CSS to make it look nice.In bigger games the HUD is usually part of the game canvas, but for this tutorial we'll keep it separate to keep things simple. In part 1 we already added all the HTML and…