Draw things on top each other - Depth sorting [Game Maker | Basics]
This basics video tutorial shows you how to depth sort (depth system) in GameMaker. Things feel natural if they are being draw correctly. Image a stack of cards and it is obvious that the top card would be visible to you. So what we do is to check where the instances are and sort them to their own depth (or their own layer so to say) according to their y position in the room. We cluster all the instances into a parent object and swap their current depth to their -y value. We do that with the "with" statement that allows use to go through all the instances and swap their own depth. That's it! Advanced version of controlling depth: • Depth System Tutorial: GMS2 (Free) Art shown in the project and in video thumbnail: Ansimuz CC0 https://opengameart.org/content/tiny-... 👑 Support me and get fresh game art and game maker projects every month: / 1upindie Follow me on: 📸 Instangram: / 1upindie 🐦 Twitter: / 1upindie 💬 Discord: / discord 📜 Udemy: https://www.udemy.com/course/become-a... (See youtube about page for discount) CHAPTERS ------------------------------------------------------------------------------------------------------- 0:00 What we will do 0:59 Subscribe 1:11 Theory of depth and how things are being draw 2:03 Depth sorting 2:37 Grouping instances into a parent object to sort 3:44 Pitfalls of this depth sorting
![Converting gml vs gml visual (dnd) [Game Maker | Basics]](https://i.ytimg.com/vi/zsqlnD9PBBU/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLAZmKWIWwIsQJE2YvPEXikg1BdxGA)
Converting gml vs gml visual (dnd) [Game Maker | Basics]

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

Easy Particle Effects in Game Maker Studio

Depth System Tutorial: GMS2

Optimisation Tips | GameMaker Studio 2

Why LittleBigPlanet Died

The Best Games from GMTK Game Jam 2020

Adobe Is Completely F*cked.

Simple Lighting System in GameMaker Studio 2

Unbelievable Smart Worker & Hilarious Fails | Construction Compilation #5 #adamrose #smartworkers

Pink Ombre Aura Screen | 3 Hours and 1 Second | No Sound
![Pathfinding #3 - Best with grid [Game Maker Studio 2 | Advanced]](https://i.ytimg.com/vi/gqzsBhb7ov4/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLC1oNrkrDwK0MbpEyXvJdJ6BpKVXg)
Pathfinding #3 - Best with grid [Game Maker Studio 2 | Advanced]

I Made A PVP Smithing Game

How To Make Enemies Smarter: AI Weighted Decision-Making

TV ART SCREENSAVER 2023 - Mixed Vintage Floral Framed 4k art - Interior Art

Unbelievable Smart Worker & Hilarious Fails | Construction Compilation #1 #adamrose #smartworkers

I made a successful game... It ruined my life

Into the Breach Design Postmortem

We Started Over - And It's WAY Better Now │ Devlog 0

