Skip to main content

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

Great tutorial series! I have a question: 
Is there a reason to set up the depth/draw the way you did it with depth = -y and then in the draw_test script y -= position.z

as opposed to just having depth = -y - position.z? I haven't ever seen it setup the way you have so I'm just curious about that.

(+1)

I didn't want the depth to change when the player jumps up, if there is a tree in front of them blocking them from view they would clip through it when jumping.