Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

It's all fun and games, but... HOW DARE YOU not YSort the trees? Literally unplayable :)

(+1)

I know, sorry about that!
I actually tried using them about 3/4 through the development, but found some problems. If I recall correctly, the trees were overlapping the player even when he was below them (the player global_position.y was greater than the tree global_position.y), and also the background was giving a lot of trouble (I used a sprite2d node for the BG, and somehow it ended up being on top of everything, and changing its Z value ended giving me odd results, like the player getting invisible after a certain y).

I don't think this is a Godot glitch, but rather a result of my messy project hahaha surely it can be fixed, I just need to get the courage to do so. Anyway, thanks a lot for playing and giving feedback!

(1 edit)

I also had issues with YSorting this jam. Here's how I did it

1. Ground above YSort

2. on each non-ground entity move sprite up, so that it starts at Y=0 and goes up (trees, player - whatever needs to be YSorted)

3. Use YSort instead of Node2D as containers 

4*. (In my screenshots root YSort node on all props (trees, trunks) is actually disabled, as I didn't know what I was doing - you should use Node2D there (or Area, KinematicBody,...) :)