Proper sizing of character folder sprite sheets [MV]

● ARCHIVED · READ-ONLY
Started by Snarkyfork 5 posts View original ↗
  1. Just to clarify, I know that the sprite sheets in the character folder are supposed to be 3 wide and 4 high. So for example, if the sprite was 50 pixels wide and 50 pixels high the sheet would be 150 wide by 200 high. But if the individual sprite is say... 50 wide and 30 pixels high would I make the sheet 150 wide (3 x 50) and 120 high (4 x 30)? Or would I still make the sheet 150x200 and just have 20 pixels of space above each individual sprite?

    I am not referring to character sprites but other files placed in the character folder, such as the seasonal trees used by Moghunter with his TimeSystem plugin.
  2. If you make one character sheet (12 frames) and add a $ at the beginning of the file name, the engine will adapt to the dimensions and automatically divide width by 3 and height by 4.
  3. Never any padding, but the sprite sheet needs the structure based on the cell size.
    The engine takes the total picture size and divides that number by the number of cells to get the cell size.
  4. As Andar said you don’t want to have extra padding as it will still be included in the displayed character and can cause collision issues.

    For example, if the tree you referred to has 20 pixels of padding on the bottom, the player walking up to the tree will be stopped 20 pixels below the tree, assuming you have Same As Character priority set.

    If you ever had a playable character with say, 10 pixels of extra padding all around, it would stop 10 pixels away from everything.
  5. That's what I thought, just wanted to make sure. Thanks.