Question about making a sprite-sheet in Asesprite

I'm making a sprite sheet that uses DreamX_SideViewFrames, which means it'll have more than the standard 3 frames. In my case, I'm making an 8-frame sprite sheet.

My idea is to separate the layers based on the direction,

Down - Left - Right - Up

To match the RPG Maker MV standard, export it, then re-cut and assemble it in Photoshop using the Sprites in the Project files as templates.

Is this a good way to do it, or is there a better and easier way? Such as being able to format the sprite sheet export in Asesprite to match RPG Maker MVs?
I don't think you need Photoshop at all to create sprite sheets from Aseprite. That being said, I'm puzzled why you would want directions to be on separate layers. Typical workflow in Aseprite is to use draw each frame on a separate... frame (I mean that's the whole raison d'être of Aseprite) and then export as sprite sheet.

So in your case you would just have 8 frames of down, 8 frames of left, etc back to back for 32 frames total, and export as sprite sheet in 8 columns (or whatever format your plugin requires).

Note: please going forward include a link to the plugin, that will help in figuring out what your specific needs are.

EDIT: I'm a little confused now as DreamX_SideViewFrames.js seems to be for sideview battlers...?
I don't think you need Photoshop at all to create sprite sheets from Aseprite. That being said, I'm puzzled why you would want directions to be on separate layers. Typical workflow in Aseprite is to use draw each frame on a separate... frame (I mean that's the whole raison d'être of Aseprite) and then export as sprite sheet.

So in your case you would just have 8 frames of down, 8 frames of left, etc back to back for 32 frames total, and export as sprite sheet in 8 columns (or whatever format your plugin requires).

Note: please going forward include a link to the plugin, that will help in figuring out what your specific needs are.

EDIT: I'm a little confused now as DreamX_SideViewFrames.js seems to be for sideview battlers...?
Sorry, I thought the plugin was common enough for someone to search. Will do it in the future.

As for why the separate layer, I'm trying ways to organize sprites so it doesn't get confusing, previously I did as you said but the workflow felt way too slow than it should, even if it's making spritesheets.

If I remember correctly, using the exported sprite sheet files without editing caused them to run wrong, so I needed Photoshop to edit the files to mimic the format to a T

Also, this is a correction, I'm using Galv's Character Frames, Not DreamX_SideviewFrames. I got that mixed up.
As for why the separate layer, I'm trying ways to organize sprites so it doesn't get confusing, previously I did as you said but the workflow felt way too slow than it should, even if it's making spritesheets.
Interesting. But yeah we all have our own workflows, of course.

If I remember correctly, using the exported sprite sheet files without editing caused them to run wrong, so I needed Photoshop to edit the files to mimic the format to a T
That shouldn't be the case, really... so I wonder what kind of format you have in Aseprite? If it goes wrong on exporting from Aseprite, more than likely it's just not aligned properly in Aseprite.

Since you asked...
Such as being able to format the sprite sheet export in Asesprite to match RPG Maker MVs?
I'd say the answer is YES, and I'm puzzled by your claim that it requires editing in Photoshop.


Sorry, I thought the plugin was common enough for someone to search. Will do it in the future.
No problem! The point is, that you're asking for help, right? It's only nice if you spare whoever is reading your post a trip to google. 👋Trust me, it becomes tiring after a while.

EDIT: I just took a look at the demo project from GALV's website, the one with the templates, and this should be no problem to export it directly from Aseprite. Could you share how the export from Aseprite messes things up for you? I am 99% certain it's either an issue with how you've set it up in Aseprite, or a setting during exporting as sprite sheet.
Interesting. But yeah we all have our own workflows, of course.


That shouldn't be the case, really... so I wonder what kind of format you have in Aseprite? If it goes wrong on exporting from Aseprite, more than likely it's just not aligned properly in Aseprite.

Since you asked...

I'd say the answer is YES, and I'm puzzled by your claim that it requires editing in Photoshop.



No problem! The point is, that you're asking for help, right? It's only nice if you spare whoever is reading your post a trip to google. 👋Trust me, it becomes tiring after a while.

EDIT: I just took a look at the demo project from GALV's website, the one with the templates, and this should be no problem to export it directly from Aseprite. Could you share how the export from Aseprite messes things up for you? I am 99% certain it's either an issue with how you've set it up in Aseprite, or a setting during exporting as sprite sheet.
Of course, here's how my Asesprite Setup looks like:
Sprite.PNG
Sprite2.PNG

This is the result, (Don't mind the subject, it's for a personal private project):
TroompaOverworldSprite.png
This is the result, (Don't mind the subject, it's for a personal private project):
I’m not at my computer right now so can’t tell you which, but the problem seems to me that you choose “horizontal strip” for the output type. It should be “packed” or “by columns” or something.
I’m not at my computer right now so can’t tell you which, but the problem seems to me that you choose “horizontal strip” for the output type. It should be “packed” or “by columns” or something.
Like this?
Sprite3.PNG
Yes it’s a start but obviously not what you want (eight frames per row, right?). Just experiment with those settings.
Yes it’s a start but obviously not what you want (eight frames per row, right?). Just experiment with those settings.
Okay so after experimenting, this is the best I got:
Sprite4.PNG


It's definitely what I'm looking for. But it needs to be formatted to match this (Especially with the added frames):
Monster.png


My guess is after completing one character, you can add another or make it empty, is that right?
So once you have your export of a single sprite sheet, you can press “C” on the key board to adjust the canvas size. I’m not sure if the goombah is supposed to have just three directions, but if you need eight characters like these you’d just pad 144 to the bottom and 1152 to the right.

When copying other sprite sheets into this one, you can press Ctrl + ^ to show the grid (should be 48 by 48) and press Shift + S to turn “snap to grid” on. This way you prevent misaligning as you combine the sprites.
So once you have your export of a single sprite sheet, you can press “C” on the key board to adjust the canvas size. I’m not sure if the goombah is supposed to have just three directions, but if you need eight characters like these you’d just pad 144 to the bottom and 1152 to the right.

When copying other sprite sheets into this one, you can press Ctrl + ^ to show the grid (should be 48 by 48) and press Shift + S to turn “snap to grid” on. This way you prevent misaligning as you combine the sprites.
Sprite5.PNG

I'm currently trying to use a different sprite to test, I'm confused about what you said about padding, because when I try that the UI for Canvas doesn't show up during the exporting.

But it did show up when I exited exporting:
Sprite6.PNG

Are you saying I should build my sprite-sheet like this? Instead of exporting and Photoshopping it?
I think you may have read over “Once you have your export”. First finish exporting your sprite sheet (check “open sprite sheet” and hit “export”), and it should open as a separate file.

If you then press C it should take you to “change canvas size”. From there you add extra space to the right and to the bottom, to copy paste your other sprites into.

Are you saying I should build my sprite-sheet like this? Instead of exporting and Photoshopping it?
No, what happened in your screen shot is that you exited out of the export.
I think you may have read over “Once you have your export”. First finish exporting your sprite sheet (check “open sprite sheet” and hit “export”), and it should open as a separate file.

If you then press C it should take you to “change canvas size”. From there you add extra space to the right and to the bottom, to copy paste your other sprites into.


No, what happened in your screen shot is that you exited out of the export.
So Like this?
Guerilla%(8).png
Sprite7.PNG
So Like this?
Well, you’d want to fit in the same four-row sheet, so I’d say you need another 48px at the bottom. But other than that, that’s the gist of it.

Now you can create other sprite sheets and copy them over into the blank spots. 😍
Well, you’d want to fit in the same four-row sheet, so I’d say you need another 48px at the bottom. But other than that, that’s the gist of it.

Now you can create other sprite sheets and copy them over into the blank spots. 😍
So when I tested the game using the new sprite-sheet, it seems it reads the sprite sheet wrong and cuts it's legs:




So I compared it using Galv's demo files and the sheets aren't aligned:
Sprite8.PNG


The plugin must've changed how it reads the sprite sheets by frames. But by how many pixels? It's certainly not 48 Width and Height.
Sprite9.PNG

!test2%(8).png

Above is the sprite sheet I used as a comparison.
Okay, I said 48 px assuming that the sprite height is 48px. If it’s not, you need to adjust the sprite sheet height accordingly.

Naturally, all the sprites on a single sheet need to be the same frame size. This has nothing to do with Aseprite or Photoshop, rather it’s planning ahead; you can’t mix sprites of different height on a single sheet and expect it to work.

The sprite height and width you can determine by dividing the pngs by the number of frames horizontally and vertically.
Okay, I said 48 px assuming that the sprite height is 48px. If it’s not, you need to adjust the sprite sheet height accordingly.

Naturally, all the sprites on a single sheet need to be the same frame size. This has nothing to do with Aseprite or Photoshop, rather it’s planning ahead; you can’t mix sprites of different height on a single sheet and expect it to work.

The sprite height and width you can determine by dividing the pngs by the number of frames horizontally and vertically.
What's the formula for calculating that exactly?

Like, If the Horizontal number of frames is 24 and the vertical number of frames is 4 then it's 6, so like
6px?
What's the formula for calculating that exactly?

Like, If the Horizontal number of frames is 24 and the vertical number of frames is 4 then it's 6, so like
6px?
I don’t understand how you came to these numbers… have you reviewed the asset standards of RPG Maker? I don’t know how long you’ve been at RPG Maker, but this is pretty critical stuff to understand before delving into plugins.

The standard sheet (with eight characters) has eight frames vertically and twelve frames horizontally. Take the file’s dimensions, and divide the height by 8, and the width by 12. With the standard assets included, this is a frame size of 48px by 48px. I don’t know what format Galv uses, but I suspect it to be something similar. So if the sprite sheet from Galv’s example is, say, 480 high, the frame height would be 60. Same idea for the width.
So, say the height is 464 then divided by 8 = 58
Width is 2048 then divided by 12 = 170.6 Rounded to 171

I don’t understand how you came to these numbers… have you reviewed the asset standards of RPG Maker? I don’t know how long you’ve been at RPG Maker, but this is pretty critical stuff to understand before delving into plugins.

The standard sheet (with eight characters) has eight frames vertically and twelve frames horizontally. Take the file’s dimensions, and divide the height by 8, and the width by 12. With the standard assets included, this is a frame size of 48px by 48px. I don’t know what format Galv uses, but I suspect it to be something similar. So if the sprite sheet from Galv’s example is, say, 480 high, the frame height would be 60. Same idea for the width.
So, say the height is 464 then divided by 8 = 58
Width is 2048 then divided by 12 = 170.6 Rounded to 171
That's still very opposite of what you should be doing.

Draw your character.

The size of the character is the size of the character. Then you place as many cels of that size as you need.

Original thread: https://forums.rpgmakerweb.com/threads/question-about-making-a-sprite-sheet-in-asesprite.173563/