-
Sometimes my hero have no face, sometimes have. as below: Maybe this is a bug? My tile is home.tmx : Not only this scene, but also many scenes. |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 2 replies
-
Does this only happen when character face to one direction? |
Beta Was this translation helpful? Give feedback.
-
I downloaded ur mod and there wasnt any problem. |
Beta Was this translation helpful? Give feedback.
-
Take a look to character animations and then size and layer of ur tiles.This issue doesnt happen when ı tried it. |
Beta Was this translation helpful? Give feedback.
-
Its weird, I'm still playing ur mod but doesnt see any issue like that. |
Beta Was this translation helpful? Give feedback.
-
not sure, there are two directions: |
Beta Was this translation helpful? Give feedback.
-
my environment: uname -a |
Beta Was this translation helpful? Give feedback.
-
This is a draw order issue similar to the issue you had with tall tiles. Entities like the player are rendered in the same pass as the tiles on the layer named "object". This happens top-to-bottom, left-to-right. So in your screenshot, the rug tile is to the right of the player, and gets drawn on top as a result. The solution is to create another layer between the "background" and "object" layers. I'll usually call this the "fringe" layer. Put the rug tiles on the fringe layer, and they'll then always render behind entities. |
Beta Was this translation helpful? Give feedback.
This is a draw order issue similar to the issue you had with tall tiles. Entities like the player are rendered in the same pass as the tiles on the layer named "object". This happens top-to-bottom, left-to-right. So in your screenshot, the rug tile is to the right of the player, and gets drawn on top as a result.
The solution is to create another layer between the "background" and "object" layers. I'll usually call this the "fringe" layer. Put the rug tiles on the fringe layer, and they'll then always render behind entities.