sprite alignment in character animation

Started by , Wed 09/07/2003 08:38:58

Previous topic - Next topic

pslim

I've looked on the boards and faqs and I haven't found a very detailed explanation of aligning sprites, but if I've missed something I apologize for posting too soon.

The problem I'm having is that when I import sprites, i'm copying and pasting them, and it automatically aligns them to one side, cutting off the excess transparent parts. This is fine except that with some of the animations (like the talking one), the following frames in the loop are sprites that extend further to one side or the other, meaning the whole sprite is pushed further away from the "edge" (i don't know what to call it), or where the transparent part has been cut off. This means that when the animation runs the character jerks back and forth in place, in addition to his normal talking animation.

How do I go about aligning them so that he can move his hands around  the sides of his body without the whole sprite moving in the other direction and causing the weird bounce effect?

 Thanks in advance for any help.

Scummbuddy

youre going to have to redo the sprites and this time make sure that the bottom center pixel is in the same spot for all animations.  making sure that the bottom center pixel is aligned will cause them all to work accordingly and you may end up with a lot of invisible space on some of your sprites.
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

pslim

That sounds very sensible, but I'm not sure I understand it... Their torsos are always lined up, but as far as the center... I mean, what if I wanted him to stick one arm out to the side, without the other one on the otherside (in other words, to be asymmetrical)? In this case the center as far as all the horizontal pixels would jump over to accomodate his arm adding horizontal length to the sprite as a whole.. so how would i line it back up without matching it on the other side?

Scummbuddy

in that case you would also put the same amount of invisible space on the left side to accomodate for you moving his right arm out.
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

Hollister Man

Depending on how you import it, it can bring up a little window where you can adjust where the sprite sits in the frame.
That's like looking through a microscope at a bacterial culture and seeing a THOUSAND DANCING HAMSTERS!

Your whole planet is gonna blow up!  Your whole DAMN planet...

pslim

okay, it worked.. thank you very much.

SMF spam blocked by CleanTalk