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

23. Paths

Ben Tyers1  
(1)
Worthing, West Sussex, UK
 
Paths can be used make an instance move around in a pre-determined way. This can be useful for
  • Making an enemy follow a patrol path.

  • Graphical effects.

  • Making a bomb or missile follow a curved path.

Path Example

Create a new path, path_example. Click four points, and select Smooth Curve and Closed, as shown in Figure 23-1.

A path window of path example. It has a name, connection kind as smooth curves, precision as 4, and closed marked as a ...

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.