depth = -y: The Most Famous Line of Code in GameMaker

Channel:
Subscribers:
10,900
Published on ● Video Link: https://www.youtube.com/watch?v=ulnEUdYg8yM



Duration: 17:29
2,033 views
115


Automatic depth sorting in GameMaker couldn't possibly be any easier!

Shader playlist:
https://www.youtube.com/playlist?list=PL_hT--4HOvrdkihto8Xu7hhp1-5Gj8zsa
GameMaker 3D playlist:
https://www.youtube.com/playlist?list=PL_hT--4HOvrcML9uqHe4fwBVTm650Vy3V
GameMaker Studio 2 playlist:
https://www.youtube.com/playlist?list=PL_hT--4HOvrdAGC6YHCqn_VR69GlR_rQw

0:00 Introduction
0:44 What is depth sorting?
1:36 depth = -y in action
2:45 Why this works
3:38 Improving depth = -y
8:17 Performance talks: is depth = -y bad? (Spoiler: no)
12:39 Objects with a depth below -16,000 will have their GUI layer disappear
15:28 Alternatives to depth = -y
16:30 The end

#GameMaker
#GameMakerDepthSorting
- - - - -
I've now made that Patreon:
https://www.patreon.com/wizardragon
That promised social media link spam.
https://twitter.com/DragoniteSpam
Transition / idle music is by my old friend Kamex:
https://www.youtube.com/user/GreatGabite/about

Rate, comment, subscribe, watch more, enjoy!







Tags:
gamemaker
gamemaker tutorial
gamemaker depth
gamemaker depth sorting
depth equals negative y
depth = -y



Other Statistics

The Game Maker - The 18th Carol Reed Mystery Statistics For DragoniteSpam

At this time, DragoniteSpam has 607,718 views for The Game Maker - The 18th Carol Reed Mystery spread across 404 videos. The game makes up over 5 days of published video on his channel, or 11.07% of the total watchable video for The Game Maker - The 18th Carol Reed Mystery on DragoniteSpam's YouTube channel.