#How to make tilesets work with a simple depth sorting system?

1 messages · Page 1 of 1 (latest)

slender hare
#

I think this is one of the most asked questions regarding game maker haha.

Many solutions only focus on instances, but very few focus on the relationship between tileset and instances. I wrote once a system that worked more or less together with the tilesets, but I'm trying new things to see if I can get something better, because the system I made at that time consisted in having many Layer (instances and tileset) and quickly went to chaos.

tranquil kelp
#

So I’d have my one or two layers for my tilesets, and in-game those layers would be split across for depth sorting purposes

#

It also allowed me to reuse those layers for instances as well

slender hare
#

What functions you use for that? layer_get_element?

tranquil kelp
#

And then I rebuild the tileset layers for every tilesize cell

slender hare
#

Uuhh sounds hard