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
44,744
Reaction score
15,884
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

I need to work more on perspective.
WSQfuc8.gif

rawrrrr
Archery target and improved training dummy!
1656682912105.png
Map034.png
First try making a temple- looking thing.

Forum statistics

Threads
123,231
Messages
1,155,093
Members
161,611
Latest member
rie123
Top