Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Thank you! What does Y-sorting mean? Never heard of it! I hope you were able to escape at least if not sorry. I know the level design could have been a lot better, or some speed boost.

(1 edit)

Yeah, it's fine. Y-sorting is when the player can visibly stand in front or behind an object. Here's a random photo I found on the internet:


Sorting with SuperTile2Unity — SuperTiled2Unity 1.0.0.0 documentation

(+1)

Ooooh, layering. Yeah, I didnt really pay attention to that sadly, but next time I will since its a pretty easy fix.

More specifically, in Unity (this is version 2022.3.28f1) - in the sprite renderer, change sorting to pivot.  in the sprite importer (click on the .png itself in the project folder) - change the pivot, either using this drop down, or in the sprite editor.  For the style you chose, using the bottom of your player would work well.  although, in this case, you could also put things like the front door in a higher sorting layer, so it always shows on top of the player, and simply not allow the player behind certain items, like the auto-egg-maker.