Explain the sheet formatting like i'm 5

First i want to say that i know this post exists: https://forums.rpgmakerweb.com/index.php?threads/sprite-sheet-formats-and.63612/

I read it a lot of times now. And i understand the basics. But the number part gets me a bit confused, and also it feels like the guide is not for what i am trying to do. Let me explain in step-by-step.

1) I have 4 images of the character i want to animate. I go in visual editor and create a 3x4 grid that is few times bigger than the character because i want to adjust his position in game later (there are probably a way to pre-calculate it somehow, but not for my rotten brain).

2) I put the character in the grid as a new layer, so i can delete grid afterwards. It looks like this:
Grid.jpg

I put it in the corner because it's best for start, since i know that each sprite is evenly placed without having to create a second grid. It works ok but the chair is moving a bit. I have no idea why because there is a grid and character is alligned to it.

$Pianist4.png

Also it's not positioned where i want it in game. I need to move it a bit up and left. Just like red arrow on my first screenshot is pointing. But how do i make sure that they are evenly spaced? I cread a new layer and draw a second grid somewhere close to the place i want to move the character to. Then move the character within that grid (without changing the size of the actual image). And i am getting this image.
But in the game it does not work properly. It moves like the old cinema, from top to bottom. And i don't understand why. At this point i kinda losing any clue to what i am even doing and feel very disoriented. Any advice? If possible, do a step-by-step, because it's hard for me to understand otherwise.
$Pianist3.png
But the number part gets me a bit confused
Whenever you're asking for help, the best thing to do is actually ask a specific question. Saying "the number part" doesn't really tell us anything - say which specific words you don't understand, or which sentences.

and also it feels like the guide is not for what i am trying to do.
You're trying to make a character sheet. That thread is about how to format a character sheet.

I go in visual editor and create a 3x4 grid that is few times bigger than the character because i want to adjust his position in game later
I'd say it's a bad way to start by shooting yourself in the foot. It's not hard to count/measure pixels in an image editor.

I opened the image you attached in GIMP. The furthest left pixel is at X coordinate 60 (depending on the frame, but you already know they're not lined up correctly):
1717619784430.png


and the furthest right is at X coordinate 99:
1717619811007.png


99 - 60 means your sprite is 39 pixels wide, so that should be the width of each cel.

Doing the same thing in the other direction says it's 55 pixels tall, so that should be the height of each cel.

Therefore your grid should be 39x55. Not any larger.

I put it in the corner because it's best for start
But it's not. You should make sure the sprite is centered - that is, any parts that don't move should be in the same place in each cel.

since i know that each sprite is evenly placed
But they're not, they keep going to the left. In your top cel the chair starts at X coordinate 62; the next two down the chair starts at 61; and the bottom one the chair starts at 60.

It works ok but the chair is moving a bit. I have no idea why
Because it's not in the same X position.

Also it's not positioned where i want it in game.
Because you didn't make it centered in the grid. The spritesheets are designed so that the center of the cel is centered on the tile you place it on in the editor.

Also, you should put the bottom of the chair's feet on the bottom of the cel, not a few pixels up.

But in the game it does not work properly. It moves like the old cinema, from top to bottom. And i don't understand why.
I don't know what this part means. Do you know what the format of the character spritesheet is? Have you looked at the ones that come with M...whatever you're using? You don't say on your profile what you use.

Have you made chests and doors in the game and seen how they work?

Your image is in the wrong place to start with - it should be in the middle cel, not the left one. And then the other images depend on how you want the image to be moving in the game.

If you're using a move route to turn up, left, right, down, then you put them vertically in the center column. If you were using a three-image animation with the Stepping check box, you'd put that going across one row.
here is a different tutorial that focuses on explaining the numbers:
Hope that helps
First, thank you for such detailed reply. I will try to learn from it.

say which specific words you don't understand, or which sentences.
There isn't really anything specific. It's just that when such information piles up, i have a really hard time keeping it all in mind and processing it. Like, when you move on the road and count flowers on roadside - 1, 2, 3... and suddenly there are flower field, you still counting, but not sure if you are right, or where you started, or what you even doing.

It's not hard to count/measure pixels in an image editor.
Thank you. After your explanation i understand that part.
Therefore your grid should be 39x55. Not any larger.
Why? Is grid supposed to be the size of the character? But all the character sheets i see have a lot of space between characters. So the characters are smaller than the grid, or their edges would touch each other.

Therefore your grid should be 39x55. Not any larger.
How to do that? I kinda fail at this part. As you can see, there are 2 parameters grid has - size, and width. If i put 39 or 55 on width, it will just turn screen black. And i can't use both numbers in the size window.

You should make sure the sprite is centered - that is, any parts that don't move should be in the same place in each cel.
Like, centered in the grid? Is it even possible to do that?

I found only one plug-in that seems to be capable of doing alligning: https://forums.getpaint.net/topic/4193-align-object-plugin-updated-06172007/
But it does not work for grid, it just alligns pictures in overall image, so like when i am doing allign left, it puts character on the leftest possible corner, when it should be a bit far away from edge. Shouldn't it?

Also, you should put the bottom of the chair's feet on the bottom of the cel, not a few pixels up.

But i did? There are grind on first screenshot, and the character is not above it. What i did wrong? Is the grid bugged?

You don't say on your profile what you use.
MV. I edited profile and added that information now.
Have you made chests and doors in the game and seen how they work?
Honestly, i did add custom characters, tiles, etc to all the 3 games i made. But i kinda cheated, since each time i tried to understand how it works i failed, so instead i searched for existing sheet of simillar size, replaced characters there, and then go in game and see if they are not too high, low, right or left. Sometimes i were lucky to place it right where it is needed, sometimes not, and i had to do a 5-30 resstarts move it around the image.

I could do the same probably, but i decided to give it one last try and see if i can understand how to do it properly.

Your image is in the wrong place to start with - it should be in the middle cel, not the left one.
Yes, that was another mistake i understand.

But the funny thing is - when i tried it seemed to be working. Just not in position i wanted it to be, but it's a different issue. And yes, i use the turn down, left, right, up sequence and 10 frames pause between each turn. It was playing the animation just right for some reasons despite middle and right column being empty. You can try it for yourself if you have MV, here is the image that working for me -
$Pianist4.png

here is a different tutorial that focuses on explaining the numbers:
Hope that helps

Thank you. I need to go sleep now, it's late. I will check it out tomorrow and see if i can understand it.
There isn't really anything specific. It's just that when such information piles up, i have a really hard time keeping it all in mind and processing it.
I don't really know what to say...it seems to me if you're following instructions, and then you're lost, there must be a specific step in the instructions where you got lost.

Why? Is grid supposed to be the size of the character?
Yes.

But all the character sheets i see have a lot of space between characters.
What "all" character sheets? None of the ones that come with MV do. They are all exactly as wide and tall as the widest and tallest cel needs. No extra space.


1717639820295.png

1717639867765.png

1717640001108.png


How to do that? I kinda fail at this part. As you can see, there are 2 parameters grid has - size, and width. If i put 39 or 55 on width, it will just turn screen black. And i can't use both numbers in the size window.
I have no idea about the image editor you're using. If you don't know how to use it, you'll have to look up its instructions, tutorials, Web forums, whatever.

With GIMP, I open the image you posted and set the grid to the sizes I measured (looks like I missed one pixel in my first reply, so the cels need to be 40x56). Then I just select each one and drag it into the correct place with the select tool.

1717640604949.png


Like, centered in the grid? Is it even possible to do that?
I don't understand the question. An image editor displays pixels where you put them. How would it not be possible to put the pixels wherever you choose?

But i did? There are grind on first screenshot, and the character is not above it.
Again, I don't know anything about this paint.net or how you made the grid - but if you drew the grid on there, then it's taking up pixels on the sheet.

This is the character sheet you attached to your first post. I opened it in GIMP, went to the bottom and zoomed in. You can clearly see the bottom of the feet are a pixel above the bottom of the sheet.

1717640846953.png


Sometimes i were lucky to place it right where it is needed, sometimes not, and i had to do a 5-30 resstarts move it around the image.
...isn't that harder than just reading and learning how it actually works, and then you can do it instead of guessing 30 times?
Also, you should put the bottom of the chair's feet on the bottom of the cel, not a few pixels up.

But i did? There are grind on first screenshot, and the character is not above it. What i did wrong? Is the grid bugged?

Yes and no. I really zoomed into the paint.net screenshot of the first post to find the cause of the problem.
I don't know if it is a paint.net problem or if you selected the wrong tool, but your grid-lines take up one pixel of the picture as if they are frame lines and not grid lines that should take no space and be placed between the pixels (like you can seen in ATT_Turan's screenshot of GIMP).

And that pixel makes the difference of not being on the bottom of the sprite but being on the frameline around the sprite.
They are all exactly as wide and tall as the widest and tallest cel needs.
Sorry, i don't understand.
rm.jpg
I draw red lines where i see empty space. And on some of the things its bigger or smaller. But most of the time it's there.
Then I just select each one and drag it into the correct place with the select tool.

I downloaded GIMP and tried to do that, but for some reason every time i drag it drags entire image.
In paintnet i use select tool to draw box around image i need, and then switch to drag tool and drag around. Here i do the same, i select a box (there is no way to move it), but then when i switch to drag it does not drag selected box, but entire image.

I don't understand the question. An image editor displays pixels where you put them. How would it not be possible to put the pixels wherever you choose?
But i don't know where i want to put it. Or, like, i know that i want it in the center of the grid window, but unable to see where is the center with my own eyes. Is there a tool that will move the image exactly to the center of grid?

...isn't that harder than just reading and learning how it actually works, and then you can do it instead of guessing 30 times?
It is, but back then when i started developing games in rm my english kinda sucked, ukrainian community did not existed (i kinda doubt it exists even now), and ru community were super slow to answer and not really helpful. And since i could not figure it out in my own, i got used to do things like that.

Update - Also i fail to understand how to properly set grid in GIMP. There are 8 windows total, 4 for spacing and 4 for offset. Do i need to fill them all? Also when i try to input numbers, it automaticly changes the other number too, like horisontal 50 - it changes vertical to 50 as well, and vice versa. How do i make uneven grid?
Sorry, i don't understand. I draw red lines where i see empty space.
I really don't understand what part of this is difficult for you.

Look at the left side of the cels. Her hair goes exactly to the edge pixel.
1717679334500.png


That means the left edge of the cel is 24 pixels away from her midline. That means the right edge of the cel must also be 24 pixels away from her midline, even if her hair is drawn differently on that side.

As has already been said, you have to use the largest dimension present anywhere, that's how you keep the image centered.

And then you're circling stuff in the other cels and I have no idea what it's supposed to show. How could you possibly make a grid get smaller for individual cels when she's facing a different direction? When she's facing up or down, her hair isn't sticking out to the side, so how could you not have empty space on that specific side of that specific cel?

But i don't know where i want to put it. Or, like, i know that i want it in the center of the grid window, but unable to see where is the center with my own eyes. Is there a tool that will move the image exactly to the center of grid?
I've already shown you screenshots - there are coordinates shown on the bottom of the screen for where your cursor currently is. You just do math.

Update - Also i fail to understand how to properly set grid in GIMP. There are 8 windows total, 4 for spacing and 4 for offset. Do i need to fill them all? Also when i try to input numbers, it automaticly changes the other number too, like horisontal 50 - it changes vertical to 50 as well, and vice versa. How do i make uneven grid?
You click the chain icon to unlink the two numbers so they can be different from each other.
That means the left edge of the cel is 24 pixels away from her midline. That means the right edge of the cel must also be 24 pixels away from her midline, even if her hair is drawn differently on that side.
I think i am beginning to understand. So you measure the sprite, take the largest side and vertical length, multiply in by 2, create sell, and adjust the longest parts of the picture to the edge of that cell?

I still don't understand how to properly move things in gimp though.
Guide online says this:

To move the selection contents (i.e. the part of the layer inside the selection), you can press Ctrl+Alt and click-and-drag the selection. The original location of the selected part of the layer will be emptied (i.e. filled with the current background color).

First i realized that you need not just press, but HOLD those two buttons and at the same time move the image... That can't be the only way, can't it? Or it was designed by some kind of sadist?)
Then, when i move part of the image around it lags. And sometimes disappears, and i have no idea why. Is there a way to move stuff by mouse only?
you measure the sprite, take the largest side and vertical length, multiply in by 2
I...guess? The words you're using for your instructions aren't right to me, but if they make you understand what I keep saying, the other tutorial thread says, and you've been shown, then go for it.

I still don't understand how to properly move things in gimp though.
I dunno about all that. I just select a portion, Cut it, Paste it back and it's a floating, moveable selection.
I...guess? The words you're using for your instructions aren't right to me, but if they make you understand what I keep saying, the other tutorial thread says, and you've been shown, then go for it.


I dunno about all that. I just select a portion, Cut it, Paste it back and it's a floating, moveable selection.
Thanks, i managed to make the animation working. Better late than never)

But i have another problem - as many times before, he is not in place where i want him to be in game. He is either far away from the piano to reach it with hands, or inside it.
Before, i solved this problem quite easy by simply moving the sprite forward because i had way bigger cells than i needed to. But if i move him now, he will just appear in the middle section instead. How do i proceed?
Why are the character and the piano separate images?
Why are the character and the piano separate images?

I kinda wanted him to move around, but changed my mind later, and piano is part of tileset instead of event. But i think i will do just that, merge them into one image, thanks.

But now i face another problem. How do i make sure that every pianist sits exactly at same place as the first one?

Why are the character and the piano separate images?
So i solved previous problem by seing what pixel of piano are in same height as pianist eye. Maybe there are easier ways, if it's so, then please tell.

But i faced another problem.This yellow lining is constantly present, even if i load new image. It does not allow me to copy more than it's selected by the yellow lane. And i have no idea how to remove it.
FFF.jpg
Please pardon this giant post, but I wanted to be sure I covered all of your questions!

The yellow line is the Layer Boundary, which is something that is--near as I can tell--a unique feature to GIMP. Think of it a little bit like a mini-canvas: it's an edge to what you can do on that layer.

When you copy and paste something in GIMP, the layer will automatically be the size of the selection you pasted in. (So if you copied something with a lot of empty space around it, your pasted layer will have the same amount of empty space around it. If you copied it with the selection closer to the object, there will be less empty space around it.)

When you paste something into GIMP, it goes onto what's called a "floating selection," and you can either click anywhere but on the selection to "anchor" it to the layer below, or you can create a new layer from the floating selection. The keyboard shortcut for a new layer is Ctl+Shift+N (all together) but you can also right-click and select "To New Layer."

Layer boundaries and floating layers are a little weird and annoying to get used to (I remember banging my head against the wall over both of them when I first started with GIMP), but now it's legitimately one of my favorite tools because it makes it so much easier to line things up the same way from cel to cel or even document to document.

For example, if I want to copy a chair from one tileset to another and have it line up the same way, I'll turn on the grid in the document I'm copying from, select the two whole squares that the chair occupies, copy it, and paste that into my new tileset. Line up the yellow Layer Boundary lines with the grid or template, and voila! The chair is lined up exactly the same way.

If the boundary bugs you, you can make the layer the same size as the image by right-clicking on the layer in the Layers window and clicking "Layer to Image Size." Be aware that this will remove anything that is sticking outside the visible canvas area! You can also adjust the layer's size in pixels by right-clicking on the layer in the Layers window and clicking "Layer Boundary Size."
Thanks for everyone who answered. Problem almost solved. I have question:

Is there a way to select entire squares of grid in gimp automaticly? It's hard to do manually because pixels too small, takes a lot of time to zoom in and out, and also i have a bit of tremor in hands, so 60-70% of time i am ending up selecting extra pixel or one less because the hand twitched in the finishing moment.
'View -> snap to grid' will make it so any select tool snaps to the grid you defined under Image-> configure grid. Most tools will try to automatically 'snap' to your grid edges this way. If you need to show grid it's under 'View->Show grid' and to set up the grid it's 'Image->configure grid'

If you go to (I think...) File-> Preferences you can have it start at a grid of 48x48 every time or whatever you most commonly use.
I generally stay zoomed in pretty close and use the keyboard shortcuts for zooming in and out as necessary, though I think holding Ctl while you scroll will also zoom in and out.

In addition to the Snap to Grid Slaughty mentioned: if you're using the rectangle select, you'll see there are extra lines when you hover the edges of your selection. Those are transformation handles, and you can click and drag on them to adjust your selection borders. If you don't see them, make sure you're using the rectangle select tool, and click once inside the selection. They should show up then!

If you need to add or subtract from a selection, you can either select the appropriate function from the tool settings on the toolbox panel, or you can hold Shift to add or Ctl to subtract. That goes for all selection tools in GIMP!

Original thread: https://forums.rpgmakerweb.com/threads/explain-the-sheet-formatting-like-im-5.169283/