I've been trying to use the smaller tile size feature so I could reduce work on making tiles, Except now the character positioning is weird, where the characters in question (specifically the tile-sized ones) seem to be placed slightly upwards in comparison to the rtp characters in 48 by 48. Is this simply unavoidable? Or Am I doing something wrong?
Trying to work with 16 by 16 sized tiles, but now Character sprites Have weird positioning.
RPG Maker MZ SupportCharacters are by default shifted upwards a couple of pixels, if you're read the documentation. You can put a ! in front of the file name to disable that feature. (Seen on most "non character" sprite sheets)
As @SGHarlekin points out, this is default behavior. The intent is to make placement of non-object characters look more natural. You can just overwrite the shiftY function in rmmz_objects to the desired offset. The standard offset is 6:
Since 16x16 tiles are a third of the default, you may want to change the offset to 2 instead. For that, just save the below as a .js file and load it as a plugin.
JavaScript:
Game_CharacterBase.prototype.shiftY = function() {
return this.isObjectCharacter() ? 0 : 6;
};
Since 16x16 tiles are a third of the default, you may want to change the offset to 2 instead. For that, just save the below as a .js file and load it as a plugin.
JavaScript:
Game_CharacterBase.prototype.shiftY = function() {
return this.isObjectCharacter() ? 0 : 2;
};
Solved! Thank you very much for the help!
This thread is closed due to being indicated as solved. Report the next one so it’s easier to find~ If you need this one reopened, report it to let us know. Thank you!
Original thread: https://forums.rpgmakerweb.com/threads/trying-to-work-with-16-by-16-sized-tiles-but-now-character-sprites-have-weird-positioning.176147/