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

29. Sequences

Ben Tyers1  
(1)
Worthing, West Sussex, UK
 

Sequences allow you to program in a set sequence that can be applied to one or more assets. It can play sounds, move objects, and move and animate sprites. Generally, you’ll program this within the sequence editor rather than using GML.

Sequences are ideal for such things as:
  • Moving buttons in for a menu

  • Creating an effect, for example, when an enemy dies

  • Animated cut-scenes

  • Making a sprite rotate, like when collecting a bonus

  • A boss level enemy movement and attack sequence

  • Make a complex animation, like a swinging chain/rope

  • Firing an ...

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.