Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

How would I handle layering in my game when the player sprite is taller than the tiles on my map?

$
0
0

@DefiniteGoose wrote:

Hello everyone,

While creating my RPG-like game, I started wondering how I would handle layering in my game to make it look like the player is walking behind or in front of certain objects. To clarify my question, have a look at the image below:

I found this image on Discord and is not mine. Still, this is an example of what I want to avoid with my own game, which works in a similar way. The player is expected to be in front of the fence, and not partially behind it.

Does anyone have a way to fix this problem? Help would be really appreciated!

Posts: 3

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles