Page 1 of 1

HELP With Custom Sprite Sheets

Posted: Tue Jan 11, 2022 4:35 pm
by Sluggish
How do you make sprite sheets that have a different amount of animation frames from the original? The original Mario duck only has one frame, from standing, to instantly crouching. How would I add an in-between frame to a sprite sheet with the game still formatting it properly?

Also, how would you make sprites that are a bit taller than the original still work without being cropped, as well as sprite sheets with custom animations for moves that aren't in the base game like wall jumps and stuff?

I guess what I'm asking is how do you format sprite sheets to work with SMBX?

Re: HELP With Custom Sprite Sheets

Posted: Wed Jan 12, 2022 8:59 pm
by CaptainMonochrome
Sluggish wrote:
Tue Jan 11, 2022 4:35 pm
How do you make sprite sheets that have a different amount of animation frames from the original? The original Mario duck only has one frame, from standing, to instantly crouching. How would I add an in-between frame to a sprite sheet with the game still formatting it properly?

Unfortunately, unless you're skilled with LunaLua, you can't really add frames to an animation. Removing frames is easy since you can just add duplicate frames, but adding them means that you need to find a way to get the game to display frames that it usually doesn't.

Sluggish wrote:
Tue Jan 11, 2022 4:35 pm
Also, how would you make sprites that are a bit taller than the original still work without being cropped, as well as sprite sheets with custom animations for moves that aren't in the base game like wall jumps and stuff?

If you want to make sprite sheets that are taller than the defaults, I'd recommend using the Player Calibrator, that of which you can find under the name pge_calibrator.exe in the PGE folder. I would also recommend not using the default sprite sheets, as they're horribly aligned. Use these instead. It'll make your life much easier. While the general "custom animations thing" circles back to the first point, it's worth noting that, as with SMW's most popular wall jump scripts, this game's wall jumps just tend to use the skidding animation to simulate sliding against the wall.

Sluggish wrote:
Tue Jan 11, 2022 4:35 pm
I guess what I'm asking is how do you format sprite sheets to work with SMBX?

In general, what you need to do is align every sprite manually. There isn't really an easy way to do this unless you're lucky and just so happen to be replacing, say, SMB3 Mario with SMB3 Luigi or another SMB3 character, meaning that their sprites will align by default (though, even then, you're still going to have to tweak things manually on occasion).

Re: HELP With Custom Sprite Sheets

Posted: Fri Jan 14, 2022 11:59 pm
by Sluggish
Thanks for the help with making the sprites taller, and I also found out how to add frames. Turns out you're supposed to use a costume instead of just replacing the sprites directly, and with costumes, I found out you can simply add more frames to the list of frames to be displayed at in animation. But there is one issue.

I've been using the Super Mario World Costume as a base, and it's worked well, but there doesn't seem to be anyway I can edit the left animations.
(For example, running right works perfectly but running left does not work)

Re: HELP With Custom Sprite Sheets

Posted: Sat Jan 15, 2022 1:03 pm
by CaptainMonochrome
Sluggish wrote:
Fri Jan 14, 2022 11:59 pm
Thanks for the help with making the sprites taller, and I also found out how to add frames. Turns out you're supposed to use a costume instead of just replacing the sprites directly, and with costumes, I found out you can simply add more frames to the list of frames to be displayed at in animation. But there is one issue.

I've been using the Super Mario World Costume as a base, and it's worked well, but there doesn't seem to be anyway I can edit the left animations.
(For example, running right works perfectly but running left does not work)


This is actually because SMBX has separate sprites for the player while they face left and while they face right. I'd strongly advise you to download paint.net if you haven't already and go here to download a plugin that automatically mirrors player sprites. It saves an unimaginably high amount of time, and makes sprite sheets far less strenuous to set up.

Re: HELP With Custom Sprite Sheets

Posted: Sun Jan 23, 2022 4:07 pm
by Abashi76
I was wondering where the custom enemies are.

Re: HELP With Custom Sprite Sheets

Posted: Fri Apr 15, 2022 12:27 pm
by EverleighCharlotte
Thanks for your assistance with making the sheet sander; I also learned how to add frames. It turns out that instead of altering the sprites directly, you should use a costume, and with costumes, I discovered that you can simply add extra frames to the list of frames to be presented at the animation. However, there is one snag.

I've been using the Super Mario World Costume as a basis, and it's worked out beautifully, but I can't seem to alter the left animations.
(Running right, for example, works wonderfully, but running left does not.)

Re: HELP With Custom Sprite Sheets

Posted: Sat Apr 16, 2022 8:34 am
by EverleighCharlotte
In general, what you need to do is align every sprite manually. There isn't really an easy way to do this unless you're lucky and just so happen to be replacing, say, SMB3 Mario with SMB3 Luigi or another SMB3 character, meaning that their sprites will align by default (though, even then, you're still going to have to tweak things manually on occasion).