Uploaded February 2026 | Updated September 2026, 2 weeks ago
Building levels in the room editor is great and everything, but sometimes you need to be able to spawn objects into the game through code.
0:00 Introduction
1:42 Creating instances in the room editor
2:22 instance_create_depth and instance_create_layer
8:30 Using the returned instance id
11:00 The end
The sprites I used in this example:
anokolisa.itch.io/free-pixel-art-asset-pack-topdown-tileset-rpg-16x16-sprites
You should all go wishlist Wizarducks and the Lost Hat:
store.steampowered.com/app/2769920/Wizarducks_and_the_Lost_Hat
#GameMaker
#GameMakerTutorial
#GameMakerInstances
- - - - -
I've now made that Patreon:
patreon.com/wizardragon
That promised social media link spam.
twitter.com/DragoniteSpam
Transition / idle music is by my old friend Kamex:
youtube.com/user/GreatGabite/about
Rate, comment, subscribe, watch more, enjoy!
Building levels in the room editor is great and everything, but sometimes you need to be able to spawn objects into the game through code.
0:00 Introduction
1:42 Creating instances in the room editor
2:22 instance_create_depth and instance_create_layer
8:30 Using the returned instance id
11:00 The end
The sprites I used in this example:
anokolisa.itch.io/free-pixel-art-asset-pack-topdown-tileset-rpg-16x16-sprites
You should all go wishlist Wizarducks and the Lost Hat:
store.steampowered.com/app/2769920/Wizarducks_and_the_Lost_Hat
#GameMaker
#GameMakerTutorial
#GameMakerInstances
- - - - -
I've now made that Patreon:
patreon.com/wizardragon
That promised social media link spam.
twitter.com/DragoniteSpam
Transition / idle music is by my old friend Kamex:
youtube.com/user/GreatGabite/about
Rate, comment, subscribe, watch more, enjoy!










