I have a sprite base for a character, but when it walks left and right it shakes side to side. Is it supposed to do that or is it drawn wrong? I attached the file with the base for reference.
Shaking Sprite?
RPG Maker MV SupportThat's probably a bad alignment on your sprite sheet. As it shakes side to side there's a sprite missaligned with the center of your frame.
Trace some guidelines on your spritesheet to check which one is offset.
Hope this helps you! 😤
Trace some guidelines on your spritesheet to check which one is offset.
Hope this helps you! 😤
If it shakes side to side, do you know if that is an indicator of misalignment vertically or horizontally?
If its only side to side then its horizontally.
I can't seem to figure out what the issue is. Everything seems to line up, but it's still shaking.
sprite sheet dimensions?
So what's the smallest I can do? I kinda wanted my sprites to be in the same definition as Pokemon red, blue and yellow.
forums.rpgmakerweb.com
What part am I supposed to pay attention to? If I'm reading it correctly, it just says I need to keep the 3x4 ratio for a single spritesheet, which I have.
Ok, I fixed it, it certainly is the 3x4 ratio you messed up, I'm bad at maths so couldn't figure out how to downscale your actual sheet, so I made a new one 44x124 and it works fine. Remember to keep it on pair numbers since that's a thing that's off on your sheet.
Maybe a sheet on 48x130 would be enough for your characters..? I'm not sure.
Maybe a sheet on 48x130 would be enough for your characters..? I'm not sure.
Your stuff is off center. Look at the border of each of your sprites. The center column has to split their left and right borders in half because they share them with the left and right sprites. On the other hand, the left sprite has a full unsplit border on its left and the right sprite has a full unsplit border on its right.
I just whipped this up in mspaint to demonstrate what I mean.
Let's say that the squares with circles in them are your sprites. And as you can see in the top row, they're each separated by identical sized borders and look "evenly spaced" apart.
But look what happens when you actually split them apart (which a sprite processor does).
You see how if you have even borders on all sides, the sprites are all out of alignment?
Now, in reality, it'd actually be proportioned a bit differently since it's based on even pixel spacing but this is just a simplified explanation of why it's kind of a bad idea to separate your sprites using anything but a pixel-wide line. Once you start separating them with fat borders and such, you gotta do more math which is just a bit silly to introduce for no reason.
Once you start using lines to separate your sprites as opposed to fat borders, you'll see the correct placement of your sprites and how much you have to crop your image, like so:
Your explanation was very helpful, Oir! I now understand why the original spritesheet didn't work! Thank you!
Original thread: https://forums.rpgmakerweb.com/threads/shaking-sprite.131788/