please provide a link to the plugin you're talking about, we can't help if we can't check what you're talking about
I know about the %(#) part. despite that, it didn't seem like it read them as a rectangular sprites? some parts were cut above the other when I move it around.
It doesn't matter what the frame size is or if the dimensions are even. All that matters is that each frame is consistent with one another and the appropriate number of frames are included in the sheet.
I was having a problem with that too. I ended up moving up one section(left) up by 1 pixel and it seemed to fix it. Was kinda weird
No, They just slide to the next frame from left to right. I've made sure that the sprites are right at the center in each frame.
I think I should just modify the plugin to end this trouble--
Oh, I did that. And that's the result I got. .
There is no need to modify the plugin, you can already use any sized sprite. If you download the demo, you will see a file there that is not the default size.
If you have a $ in the filename, it means it will only slice the spritesheet into frames for 1 character.
Without the $ in the filename, it means you need to have 8 characters in the spritesheet. Each of those characters must have the same amount of frames as you specified.
So a spritesheet using $ (for 1 character) that you want to have 8 frames needs to be 8 x 4 frames of any size (as long as they are all the same)
A spritesheet without $ (8 characters) that you want to have 8 frames needs to be 32 x 8 frames (all of equal size).
I hope I got that math right. But that's all the plugin does - uses math to cut up the sheets.
EDIT: (Fixed... 4 rows for direction, not 3, Galv.)
What about for 96x96?
Sorry- I've changed the frame sizes midway.
The numbers I said above refer to the number of frames (of any pixel dimension). Any frame dimensions will work with the plugin.
So if you have, for example:
$spritesheet%(8).png
The spritesheet has the $ in it, so it's only 1 characters. It needs to be 8 columns of frames and 4 rows of frames.
Each frame can be any size... in your case 96 x 96.
For the width (columns) the spritesheet needs to be 768 pixels wide. (8 x 96).
For the height (rows) the spritesheet needs to be 384 pixels heigh. (4 x 96).
Wait. . It doesn't have to be 8 frames, right? I am using 6 frames for each (diagnol, and idle). So this means the width should be 576 (if I got it right, that's the size of each movement I am doing)
I'm sorry for the trouble, and for not being too clear from the start!
I did.
Since it's getting late now, I have to go.
I'm sorry for all the trouble, and I'll keep you updated ASAP.