© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
B. TyersGameMaker Fundamentalshttps://doi.org/10.1007/978-1-4842-8713-2_4

4. More Drawing

Ben Tyers1  
(1)
Worthing, West Sussex, UK
 

There are also lots more drawing functions for formatting text, and for drawing sprites. This chapter will introduce you to them.

Text can be used for such things:
  • Scores and health

  • Player names

  • Game information

  • Pop-up text

  • Dialogue between characters

  • Menu options

You will want to use sprites for such things as:
  • Displaying the main player

  • Drawing lives as images

  • Displaying what weapons are currently available

  • Various in-game buttons

  • Instances the player can walk or jump on

  • Enemy instances

  • Game info such as health or timers

Note

Ensure you only ...

Get GameMaker Fundamentals: Learn GML Programming to Start Making Amazing Games 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.