GameMaker Studio 2: Automatic Depth Sorting - a great alternative to depth = -y

Опубликовано: 17 Февраль 2026
на канале: GameMaker Rob
7,046
178

Using depth = -y can cause some issues with GameMaker 2. This video will show you how you can just draw what's on screen, in the correct draw order, with just one object and a small amount of code.
Half the video shows you how it works and how I have my project setup so it's about 3 minutes of coding! :O

[--- SUPPORT ME / SOCIAL MEDIA ---]
Discord:   / discord  
Patreon:   / gamemakerrob  
Itch: https://gamemaker-rob.itch.io/
Twitter:   / randomdude_sdu  

======
Credits
======

Background animation by: AA VFX, Amitai Angor ,    / dvdangor2011