Question Regarding Custom Sprites and Height

Hey guys!

I've started experimenting with my RPG Maker MV generated sprites and I stretched them out a bit using Photoshop. I put them into a new file, and used the "$filename.png" system to name them. They look pretty good, but I've noticed something strange when some of my characters walk around. Depending on where they're walking, their feet almost lift off or sink into the ground.

Walking right:

Walking left:

If you notice, the male character in green seems to sink into the ground more whenever he is moving left. Here are some shots of what my Photoshop file for the character looks like:



The dimensions of the canvas are 145 x 270 pixels.

My question pretty much boils down to this: is there a system or a formula for what dimensions your custom character sprite sheets should be to always be equally consistent? I'm not stretching them horizontally, only vertically. Should they be touching/side by side in the file, or is there something I'm missing? I'm still learning when it comes to sprites, so I apologize if this seems obvious.

If you need anymore info from me, let me know! Thank you!
Your sprites need to be in a cell which is identical for each one. So, taking the default sheet as an example, each sprite is in a cell that is 48 x 48. There are 3 columns and 4 rows. Taking that as your template, your sheet - assuming you've given it width x height - divides out as 48.33 x 67.5. That in itself is not a problem, but you must ensure that you have each sprite centred exactly the same in every cell, which is more tricky when you are not using a standard grid. As for being close to each other, it is better not to have a lot of empty space around each sprite, as that is included in the size of the sprite, but serves no useful purpose. Instead it can make collision awkward. Make the size of the cell no bigger than it needs to be.
It worked like a charm. Thank you so much for taking the time to explain!

Original thread: https://forums.rpgmakerweb.com/threads/question-regarding-custom-sprites-and-height.113231/