Why the event's graphics are higher then they are on the sprite sheet?
RPG Maker VXAce SupportThe engine draws character/event sprites about 4 pixels higher than the tile it's standing on. It's so characters don't look like they're walking on the very edge of paths and cliffs.
If you have a sprite that is not a person, and you want it to be drawn level with the base of the tile (like a door on a house, for instance), put a ! at the beginning of the filename.
If you have a sprite that is not a person, and you want it to be drawn level with the base of the tile (like a door on a house, for instance), put a ! at the beginning of the filename.
To remove that behaviour entirely, you can add this little redefine. No need to credit for that.
~炬燵あ
Ruby:
#==============================================================================
# ** Remove four Pixels Offset for Eventoid Characters
#------------------------------------------------------------------------------
# Normally this would require a "!" at start of every character's filename.
#==============================================================================
class Game_CharacterBase
#--------------------------------------------------------------------------
# * Get vertical Sprite Offset
#--------------------------------------------------------------------------
def shift_y
return 0
end
end
~炬燵あ
Original thread: https://forums.rpgmakerweb.com/threads/why-the-events-graphics-are-higher-then-they-are-on-the-sprite-sheet.156315/