Uploaded September 2012 | Updated November 2026, 3 hours ago
PLEASE READ
I'm getting a lot of people saying that this isn't isometric. At the time of making this video I believed that any sprite with the illusion of depth was considered isometric but luckily with all the help from your comments I've discovered that I was wrong. The programming is still the same as it would have been had the sprite been isometric so therefore I will not change the title even though it may be slightly misleading. Sorry.
In this tutorial I'll be showing you how to make isometric games in game maker
This is a re-upload of a tutorial on my other channel, several people have been annoyed by the excess music in this tutorial so I decided to reupload it without it playing while I'm talking
Music by NathanWills
PLEASE READ
I'm getting a lot of people saying that this isn't isometric. At the time of making this video I believed that any sprite with the illusion of depth was considered isometric but luckily with all the help from your comments I've discovered that I was wrong. The programming is still the same as it would have been had the sprite been isometric so therefore I will not change the title even though it may be slightly misleading. Sorry.
In this tutorial I'll be showing you how to make isometric games in game maker
This is a re-upload of a tutorial on my other channel, several people have been annoyed by the excess music in this tutorial so I decided to reupload it without it playing while I'm talking
Music by NathanWills





![Stackable Inventory Part I Game Maker Tutorial
In this tutorial Ill be showing you how to create a stackable inventory in game maker. This technique is used in a variety of different games such as minecraft, runescape and pokemon.
Music by docjazz4
FAQ
Q: Can you put up a download link?
A:Sure I guess I can do that
http://www.mediafire.com/download/05vb89vhr0ds8zj/sourcecode2.gmk
Q:
ERROR in
action number 1
of Collision Event with object obj_player
for object obj_item:
Error in code at line 16: obj_invcontrol.inv[slot,0]=index ^
at position 25: Negative array index
When my inventory is full and I try to pick up an item the game crashes, how do I fix this?
A: Sorry in the left pressed event of obj_item I have 2 for loops, one to check if there are any matching items in the inventory and another to check for empty slots if there arent any like items in the inventory. The slot variable is set to -1 if it hasnt found a slot yet so if it makes it through both loops it will try to add 1 to the -1 index in the inv array. The problem with that is that you cant have negative indexes in arrays and therefore the game crashes.
In order to fix this replace the last 4 lines in the code to the following if slot! 1{ control.inv[slot,0]=index }
}
if slot! 1{ control.inv[slot,1]+=1 instance_destroy()
}
Q:
ERROR in
action number 1
of Draw Event
for object obj_slot:
Error in code at line 2: draw_sprite(control.sprites[control.inv[index,0]],0,x,y) ^
at position 14: Unknown variable control
How do I fix this?
A: This is a rather tricky error and it took me a long time to figure out what the problem was. Even if you coded everything exactly as I said its still possible for you to get this error. Whats happening is obj_slot is created in the room before the control object. So at the instance obj_slot is created it tries to find a variable in control but it cant because control doesnt exist yet.
What you need to do is ensure that control is created first. So go into your room, remove all the slot objects and ensure that the control object is there. Leave the room then go back and readd the slot objects. This way you added the slot objects to the room after the control object which will create the control object first
Q:
ERROR in
action number 1
of Draw Event
for object obj_slot:
Error in code at line 2: draw_sprite(control.sprites[control.inv[index,0]],0,x,y)
^
at position 38: Unknown variable inv
A: People have been having this problem for a months, but Ive only recently figured out what the issue is, you might not have initialized your variables correctly but usually people forget to add the control object to the room. I guess I went through that a little fast in the video or something. Do NOT add obj_item to the room but be sure to add control Stackable Inventory Part I Game Maker Tutorial](https://i.ytimg.com/vi/Iy_ei_BXfV0/mqdefault.jpg)




