bfamig20

Villager
Member
Joined
Jun 19, 2014
Messages
13
Reaction score
1
First Language
English
Primarily Uses
I've been using HF Mega Pack sprites and tiles (downloaded from the RPG Maker Resources page) to make my game and everything imported and works. I then decided to add a few extra fames to my hero sprite's walk cycle by painting them photoshop and using an "Extra Movement Frame" script (by Modern Algebra). When I tested the script with a 9 frame sprite I found online, it looked great. But when I import my 5 frame custom hero sprite, the character animation jumps around a bit while walking. I think the script is working because I'm seeing all 5 frames of the walk cycle. But the walk cycle itself is jumpy, so I think it's an issue with my sprite sheet. I've never made a custom sprite sheet before...

I can't figure out how to fix this and importing the files into photoshop and comparing them only made things more confusing. None of these sprites follow the 32x32 pixel size… and when comparing my 5 frame sprite to the original 3 frame one, the sprite animations are spaced out the same way. I've attached screenshots of my sprite, the custom 9 frame sprite I downloaded (which worked) and another 3 frame sprite from the HF Mega Pack download (which also works).

Any help would be greatly appreciated!

MyHeroSprite.png

HFSprite.png

TestSprite.png
 

ロリ先輩

ロリだけど先輩だよ
Veteran
Joined
Mar 13, 2012
Messages
381
Reaction score
100
Primarily Uses
The only thing that I can think of it alignment issues.

Otherwise, I don't know what you mean by 'jumps around' or 'slipping'. Can you possible show a video or animated gif?
 

bfamig20

Villager
Member
Joined
Jun 19, 2014
Messages
13
Reaction score
1
First Language
English
Primarily Uses
It could be an alignment issue… if so, whats the best way to solve?

Video attached for reference:

WalkCycle.mov
 

Attachments

  • WalkCycle.mov
    323 bytes · Views: 5

ロリ先輩

ロリだけど先輩だよ
Veteran
Joined
Mar 13, 2012
Messages
381
Reaction score
100
Primarily Uses
Instead of evenly spacing your sprites from each other- check to see that each sprite takes up the same grid space.

Since I've also noticed that your sprite is named MyHeroSprite.png, you might try changing the name to !$%[5]MyHeroSprite.png.
 

bfamig20

Villager
Member
Joined
Jun 19, 2014
Messages
13
Reaction score
1
First Language
English
Primarily Uses
Yea - in terms of naming convention, thats what I had in there. I just named the compressed screenshot differently… sorry of the confusion.

Each sprite takes up roughly the same amount of grid space, but not exactly. Sometimes when his foot is extended all the way, the sprite is longer than one where he's resting.
 

bfamig20

Villager
Member
Joined
Jun 19, 2014
Messages
13
Reaction score
1
First Language
English
Primarily Uses
I just figured it out! You got me thinking about the sizing of each sprite - relative the edge of the sprite sheet, I noticed the sprites on the end were a little closer to the edge of the image than the distance between any two sprites. I simply took the same sprite sheet and made it a little larger - not the sprites themselves, just the image size. Now it works great!

Thanks!!
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
45,566
Reaction score
16,455
First Language
English
Primarily Uses
RMMV
bfamig20, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


Each cell should be the same size, and each sprite should be centered in the cell. This might mean there is more distance between some sprites than others - that's fine, as long as their position within the cell is the same. An extra background layer with a grid would be very useful while creating/arranging your sprites, then you can get rid of it before saving the final version.
 

Latest Threads

Latest Posts

Latest Profile Posts

Shoot.gif
Because The Fury from Metal Gear Solid 3 is one of my favorite bosses of all time, I felt the need to make a somewhat similar boss for my own game. taking cues from both the Fury and another awesome astronaut boss, Captain Vladimir from No More Heroes 2.
RE4make almost had me with their demo until I got to the dog stuck in a bear trap and realized that he was dead and could no longer be saved. Just not the kind of reimagining I'm interested in.
Here's some dudes that I'm drawing for Jimmy's Quest!
autredo.png
Autism Acceptance Month 2023!


Did this randomly in my free time, I guess today is a good day to show it.

Forum statistics

Threads
130,027
Messages
1,207,126
Members
171,293
Latest member
cbell77
Top