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

Status
Not open for further replies.

TheObermotz1

Veteran
Veteran
Joined
Mar 5, 2014
Messages
34
Reaction score
17
First Language
German
Primarily Uses
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).
 

Heirukichi

Veteran
Veteran
Joined
Sep 24, 2015
Messages
1,421
Reaction score
596
First Language
Italian
Primarily Uses
RMVXA
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.
 

TheObermotz1

Veteran
Veteran
Joined
Mar 5, 2014
Messages
34
Reaction score
17
First Language
German
Primarily Uses
@Heirukichi

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

...how do I close down a thread again?
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
@TheObermotz1 To get your thread closed, use the Report button on your opening post and ask for it to be closed.
[closed]IgnoreMe[/closed]
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:

Forum statistics

Threads
105,854
Messages
1,017,004
Members
137,562
Latest member
tamedeathman
Top