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

7. Sprites

Ben Tyers1  
(1)
Worthing, West Sussex, UK
 

Sprites are images or sets of images that are that in most cases – assigned to an object. Multiple images can be shown in order to create an animation. There are several functions for drawing and manipulating sprites.

You can use sprites for
  • Animation of player and enemies.

  • Missiles, weapons, and other projectiles.

  • Solid objects, such as walls or platforms.

  • Menu options.

  • Power up buttons.

  • Showing lives as images.

  • Trees and other in game elements.

  • Collectible items.

  • HUD.

  • Backgrounds.

  • + Most other graphical uses you can think of.

When you create ...

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.