How to Add a Sprite in GameMaker

A sprite is an image (or a set of images) that you use in your game. A player’s character, a coin, or a tree are all things that use sprites. It’s one of GameMaker’s asset types, and you’ll be using them a lot, so it’s a good idea to get very comfortable working with them. In this post, we’ll show you how to add a sprite in your GameMaker games.

Method 1: The Create Asset Button

  • In the Asset Browser, left-click on a folder where you want the sprite to go.
  • Click on the “+” at the top of the asset browser.
  • Select “Sprites”.
  • Enter the amount of sprites you want to add.
  • Press “Create”.
  • A new sprite (or sprites, if you entered more than one) will appear in the list, and the sprite(s) will open in the Sprite Editor.

Method 2: Right-Clicking in the Asset Browser

  • In the Asset Browser, right-click on a folder where you want the sprite to go.
  • Select “Create > Sprite”.
  • A new sprite will appear in the list, and the sprite will open in the Sprite Editor.

Method 3: ALT+S Hotkey

  • With GameMaker open, press ALT+S.
  • A new sprite will appear in the list, and the sprite will open in the Sprite Editor.

Use whichever method works best for you! After you’ve created a sprite asset, you’ll still want to assign an image, or series of images, to the sprite. From here, you can use the Image Editor to draw a sprite, or you can import an existing image using the Import button.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top