Z depth

Example where the player can move a character on a map, and the character is displayed behind or in front of other objects according to its position.

How it's built?

This game is made with GDevelop using these features:

  • Events and control flow
  • Keyboard
  • Mathematical tools
  • Mouse and touch
  • Objects
  • Scene
  • Sprite
  • Text object

Edit it in GDevelop

Try Z depth online

Test and edit this example in the GDevelop game engine.