Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Gamemaker Essentials

You're reading from  Gamemaker Essentials

Product type Book
Published in Mar 2015
Publisher
ISBN-13 9781784396121
Pages 154 pages
Edition 1st Edition
Languages

Loading a sprite


Loading a sprite in GameMaker can be done in two ways:

  1. The first and most common way is to create a new sprite resource by clicking on the new sprite button , and then clicking on the Load Sprite button. This displays the default file browser, allowing you to find your sprite image file and open it as a sprite in GameMaker.
  2. The second way to load a sprite is by using your default file browser to locate the image file and then drag and drop it onto the GameMaker user interface. This will show a dialog asking what sort of resource you want it to be.

Clicking on Sprite will create a new sprite resource with the image file loaded as the sprite. Clicking on Background will create a new background resource with the image file loaded as the background. Clicking on Included File will add the image as an included file to the project.

An included file is a file that will be exported and packaged with your final project. This allows you to attach things such as text files, dynamic link...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}