© 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_3

3. Drawing Shapes

Ben Tyers1  
(1)
Worthing, West Sussex, UK
 

GameMaker is very flexible when it comes to drawing. There are several built-in functions for drawing basic and advanced geometric shapes. Drawing is done by positioning sprites or vertices within the room. In GameMaker, x relates to how many pixels across the screen and y for how many down. The position at the top left is 0,0. This chapter will introduce you to the basics of drawing.

Basic geometric shapes can be used for such things as
  • Drawing the border of a room.

  • Making popup text boxes.

  • Creating effects when changing rooms. ...

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.