Drawing the user interface

One of the most important elements in creating a great game is ensuring that the player has all the information they need to play the game. Much of this is usually presented in the heads-up display, otherwise known as the HUD. Every game has different components that can be a part of the HUD including things we need such as scoreboards and life counters.

  1. To start with, we are going to need a font for the text we intend to display. We have supplied a font called Retroheavyfuture for use in this game that will need to be installed on your computer. To install this font on a Windows 7 computer, right-click on Chapter 3/Fonts/RETRRG__.ttf and click on Install. Then follow the directions when prompted.
  2. Back into GameMaker: ...

Get HTML5 Game Development with GameMaker now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.