Hi, I hope this question isn't stupid, I searched in Google for a while now but didn't came up with anything, maybe I'm using the wrong keywords?
I want to create a classic Point and Click Adventure like Monkey Island or Deponia. Currently I'm trying to make the character walk behind an object. The problem is: The whole scene is a painted background texture and the character can move inside of it. Now let's assume there is a trashcan in the background image, but I want the character to move behind it instead of walking in front of it.
Do I have to split my image up into several layers in Photoshop or some similar software, so that I have multiple layers that compose the background image in Godot?
As you can see in this screenshot, the player character is behind that machine, but the image looks like it is just one big texture rect.
I thought maybe there is something like a masking technique so if the player sprite enters an Area2D or something similar, the part that is occupied by the collision body will mask out the sprite so it looks like the character is actually moving behind the object.
What will be the best way to achieve something like in the screenshot? Right now I guess I need to use multiple Textures as layers and move between them?