A downloadable project for Windows

GameMaker Studio 2 Project (v2023.2.1)

A very simple example of achieving illusion of height / z-axis in a 2D topdown game like classic zelda.

There are only a few lines of code, so I didn't bother writing any commentary, if you have problems understanding the code I recommend watching e.g. this tutorial by Friendly Cosmonaut on Depth Systems and Jump.

Collision is in a single point at the feet of the player but that can easily be changed into a collision mask (you my have to check multiple collisions per frame then).

Download

Download
Z-Height Test_export.yyz 40 kB

Install instructions

it's a GameMaker Studio 2 v2023.2.1, download, unzip and open the .yyz with GameMaker.

Leave a comment

Log in with itch.io to leave a comment.