Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Gamemaker Essentials

You're reading from   Gamemaker Essentials Learn all the essential skills of GameMaker: Studio and start making your own impressive games with ease

Arrow left icon
Product type Paperback
Published in Mar 2015
Publisher
ISBN-13 9781784396121
Length 154 pages
Edition 1st Edition
Arrow right icon
Toc

Resource naming conventions

While working with GameMaker, you will begin to see how important it is to keep things as organized as possible. Part of this is keeping resource names short and concise. If your resource names are long and complicated, it can lead to ugly and confusing code later on.

Due to GameMaker having specific resources, it becomes easy to keep resource names clean. The easiest and most commonly used way to keep names consistent and specific to each resource type is to pick a code word or letter to put in front of the actual resource name.

When looking at other GameMaker projects, you will see a few different implementations of this. We are going to take a look at the three-letter code word technique. This is where you pick a three-letter code word to put in front of your resource name. The code word should be specific to each resource type. There is no need to stick to three letters. You can use one, two, or more letters if you want to.

Here are some commonly used three...

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 $19.99/month. Cancel anytime
Banner background image