[SOLVED] Custom Sprite Slightly Offset

I'm so sorry if this is a question that is posted here redundantly, I read some of the other posts on resizing, but my sprite sheet is oddly sized, so I couldn't make it work after multiple attempts. My character sprites are about 46x71 individually. I initially tried to double the 48x48, but it broke the sprites, and then i tried to reference the way that other custom spritesheets were setup, and the sprite had a bigger offset.

Can anyone give me any advice?
Attached is the basic sprite sheet

Thank you.
Try putting !$ in front of the spritesheet name, that may help with the offset 🙂
Thank you for the suggestion! I tried it, and it didn't fix the offset. : ooo!!
First image is corrected name, then sheet with 48x48 gridlines & examples of the offset.

I can't tell if I spaced the sheet incorrectly, or didn't make enough boxes for the sheet to fit in. I had another sheet where I had it larger and it created cutoff problems.

I think it's mostly only noticeable in movement when the character goes left or right, but it's been giving my eyes a bit of whiplash.

Thanks again for the help too! 🙂
a single character requires an $ in front, not more, for doors, chests single
sheets require $! in front.

if you dimensions are correct, it should work correctly, otherwise make a
8 character sheet so you place nothing in front.

Edit:
I fixed your sprite for you, this should work.
$sprite.png
The space in the sprite is divided into 12 pieces: 3 in every row, 4 in every column.

Each of those parts are exactly 1/3 of the width of the entire picture, and 1/4 of the entire height.

I could open this up in my browser and fix it for you, but I don't know where you got this. If this is a payed sprite, you're not supposed to share it and I'm not supposed to download it.

Edit: Your file should not start with !$, only with $. ! is to line the character up with the grid. You don't want that. You want it to look like it walks in the middle of a tile. On the road instead of next to it, right?
! is for things like doors, and other items that need to show on the grid, instead of between them.

Edit: I got ninja'd by the shadow dragon. 😛
The space in the sprite is divided into 12 pieces: 3 in every row, 4 in every column.

Each of those parts are exactly 1/3 of the width of the entire picture, and 1/4 of the entire height.

I could open this up in my browser and fix it for you, but I don't know where you got this. If this is a payed sprite, you're not supposed to share it and I'm not supposed to download it.

Edit: Your file should not start with !$, only with $. ! is to line the character up with the grid. You don't want that. You want it to look like it walks in the middle of a tile. On the road instead of next to it, right?
! is for things like doors, and other items that need to show on the grid, instead of between them.

Edit: I got ninja'd by the shadow dragon. 😛

It's no problem!! Sorry for the confusion @ implementation.

I created this sprite & character design myself. (which is why it's so rocky OTL)! So, I would love if you could alter it to work with the engine. Thank you so so much!

I messed with it again so i've attached it once more.

Edit: nevermind! Thank you for offering.

a single character requires an $ in front, not more, for doors, chests single
sheets require $! in front.

if you dimensions are correct, it should work correctly, otherwise make a
8 character sheet so you place nothing in front.

Edit:
I fixed your sprite for you, this should work.
View attachment 299512
Oh I didn't see this!! Thank you so so so much for the help!!!!

a single character requires an $ in front, not more, for doors, chests single
sheets require $! in front.

if you dimensions are correct, it should work correctly, otherwise make a
8 character sheet so you place nothing in front.

Edit:
I fixed your sprite for you, this should work.
View attachment 299512
Sorry to ping you again but genuinely you're such a lifesaver!!!

Thank you so so much, i've been trying to adjust this for hours.
You made this yourself? Oh wow, it looks very good.

You know what I do, when I make sprites?

1. I make 1 frame
2. I crop the image to that single frame
3. I set the grid to be the same as the total image size
4. I change the canvas size of that image to 300% width x 400% height

Now my sheet is exactly as large as 12 frames, no matter the size of the frame. And the grid is exactly 1 frame.

Now I copy that 1 frame over to the other frames, so I have a reference on where each character goes in the frame.
You made this yourself? Oh wow, it looks very good.

You know what I do, when I make sprites?

1. I make 1 frame
2. I crop the image to that single frame
3. I set the grid to be the same as the total image size
4. I change the canvas size of that image to 300% width x 400% height

Now my sheet is exactly as large as 12 frames, no matter the size of the frame. And the grid is exactly 1 frame.

Now I copy that 1 frame over to the other frames, so I have a reference on where each character goes in the frame.

That's so smart! I'll need to do that with the other characters. I watched tutorials on it, but I certainly underestimated the grid.

Thank you so much for the advice!
The pleasure was all mine. Just remember me when this makes you rich and famous. 😉
another tip as given.

if you size (2x 48) in height, set the foot on the bottom, do this for the right/left/top
as well, because the one I edit for you wasn't align correctly and I correctly did it for you.

I use a color grid of 72 pixel height, and I notice it wasn't aligned inside this grid.
so double check that and your good as well.

next time, I'm sure you do it right 😉
I can't tell if I spaced the sheet incorrectly
You did 😉 And the version that @ShadowDragon posted for you still has issues.

The description of the character sheet format is right in the instructions, in Help -> Contents -> Documentation -> Asset Standards

If you read through that, and look at the characters that came with the software, you'll see you have way too much space. Your cels should only be as large as required.

The feet should be on the bottom pixel of the sheet, then going up they should be one pixel above the head of the row below. No extra space.

Similarly, there should be no space between the columns unless one of the cels goes further to the left/right for limb movement. Then you make all the cels exactly that width.

Edit: It's a little bit futzy because you need your cels to be an even number of pixels wide and yours aren't; also, your character isn't the same height when standing still in the top center sprite as he is when facing left and right, so there's some potentially noticeable wobble that way.

He's also not the same when standing still facing left as right - I took the liberty of trimming off a row of pixels when facing right.

But this is trimming the cels correctly for what you drew - they're 32x59.
$sprite.png

1711349581270.png
I just repositioned the characters correctly and I have also a bit more space
space above without any issue though, trimming it has the same effect as
the middle top you have is 1 pixel up and not aligned either like the rest in
the center 😛

but trimming is a better way anyway if it really needs to be perfect.
Space above is useful, when not all characters are the same size
You did 😉 And the version that @ShadowDragon posted for you still has issues.

The description of the character sheet format is right in the instructions, in Help -> Contents -> Documentation -> Asset Standards

If you read through that, and look at the characters that came with the software, you'll see you have way too much space. Your cels should only be as large as required.

The feet should be on the bottom pixel of the sheet, then going up they should be one pixel above the head of the row below. No extra space.

Similarly, there should be no space between the columns unless one of the cels goes further to the left/right for limb movement. Then you make all the cels exactly that width.


I'm SO sorry for all the hassle,

I appreciate the second fix too, I was trying to study the sheet to see what to do for the next ones.

I'll boot this one up & fix my work based on the dimensions you gave.

I can also admit, initially I was going to have the sprites so they'd all 100% be the same height (because of a hat that would flatten / level it) but I think I entirely forgot to fix any broken dimensions left by leaving it off.

Though, the side profiles not matching size surprised me, and I have no idea what I pixeled wrong when i flipped the canvas, but clearly I made a mistake. There's a lot to learn with custom dimensions.....

Initially I did create some cells with no space between them, as per guidelines, which is where I had cutoff issues, but it seems like I just didn't do my math properly to make sure everything actually lined up. So this makes SO much more sense.

Sorry again,

and thank you all sincerely for the advice and help.

---
Additionally, before I get ahead of myself and need to ask, in the same vein -

In a project with custom tall sprites, I know that character sprites should all be the same general dimensions like base,

But can you have smaller sprites, like a familiar or an animal, or something wider like a wheelchair? Or is it all the same with collision, if properly measured?
In a project with custom tall sprites, I know that character sprites should all be the same general dimensions like base,

But can you have smaller sprites, like a familiar or an animal, or something wider like a wheelchair? Or is it all the same with collision, if properly measured?
If you make the spritesheets correctly, it doesn't matter.

Your first sentence is a little confusing, but the only thing that matters is that, visually, it will look weird to the player if the sprites are in different styles or scales - I think that's what you're getting at.
That's exactly it! Sorry for the poor wording, and thank you again for the help!

Original thread: https://forums.rpgmakerweb.com/threads/solved-custom-sprite-slightly-offset.167131/