Characters being offset with normal tiles. Searching for a fix.

● ARCHIVED · READ-ONLY
Started by TheObermotz1 4 posts View original ↗
  1. Sorry for asking, but I've run into an issue with my project and I've not found any solution (not even people who have the same problem. That problem is, that character-sprites and tiles are slightly offset (like a few pixels up). It messes up both shadows and general map-design.
    Is there a way to realign the character-sprites so they look more like a normal tile?


    For reference, I have postet a screenshot:
    crate_example.png

    The lower crates are normal tiles only, the right crates are character-sprites only and the upper crates are a mix of the two. As you can see, it looks absolutely horrible.

    If anybody has had the same problem, it would be great if you could share the solution (if there is one).
  2. The problem lies in your character sprites. Character sprites are meant to be few pixels above normal tiles. To fix this just add a ! in your sprite file name, it is used for sprites that are supposed to be on the same level as other tiles so they will be aligned to the grid.

    If you want to have an idea of what I am talking about you can take a look at the RTP folder then graphics/characters. You will find a few examples of what I mean.
  3. @Heirukichi

    Well, that solved the issue. Thank you.
    The solution always seems so obvious in hindsight.

    ...how do I close down a thread again?
  4. @TheObermotz1 To get your thread closed, use the Report button on your opening post and ask for it to be closed.
    [closed]IgnoreMe[/closed]