Jumpy talking animations.

Started by Reno Caspain, Mon 15/09/2003 11:06:59

Previous topic - Next topic

Reno Caspain

When I use continuous scaling in my game, the character bounces left and right one pixel, or adds extra pixels to the edges of the character in certain frames of talking animation. My game is in VGA, and this happens only when the character is scaled down. Is there a way to make only the head move while talking, even when scaled?

dtm1980

Your sprites in the sprite manager are alright? maybe you forgot to clear those messy pixels when painting your images... although it is weird this only happens when scaling down.
If you want the characters head to move while anything else stands still, you should paint the characters body and make some copies of the image.leave some space for the head. afterwards place the heads on the bodies.Be careful you put it on the same place as in the image before. also try to make the images have the same properties. If you got one that is 80x100 and another with 85x103 for example the character will bounce as it does right now when animating him.

Reno Caspain

#2
I've checked that all sprites are the same size (that's how I prevent the character from bouncing at least in normal size). The extra pixels appear connected to the character, but they make it look like the character is pulsating, especially at sloped edges.
Also, all the talking frames are identical exept the head movement.

Ishmael

The scaling does it, since a some pixels need to be discarted in order to fit the sprites in the space given to the character. It doesn't scale all sprites the same way, and I believe there's no way to effect the scaling... you just need to live with it... we all do.
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

SMF spam blocked by CleanTalk