How to make floor in 2D?

Godot Version

3.5

Question

Floor`s texture overlaps the character, lying on the layer above the character. What to do? A game with a top view.

Move floor node to top on the top left menu, called “scene”.

There are two ways.

  1. Place the floor “above” your player on the hierarchy. In the same Node, the draw order is specified from top to bottom (top nodes are drawn in the back) Like this:
    image

  2. use z-index property to tell Godot which objects are drawn behind and which in front.
    image

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.