Jerky walk animation when using continutous scaling and AdjustSpeedWithScaling

Started by TerranRich, Thu 02/07/2009 19:17:36

Previous topic - Next topic

TerranRich

For some reason, if my player characters has AdjustSpeedWithScaling set to true, and he is walking on a walkable area with continuous scaling (gradual change from top to bottom), his walking is a bit... jerky. It looks as though he jumps in height (by a few pixels) with each step, or is being shifted around in position (again by a few pixels) with each step.

What could be the problem? I could capture some video and post it if that helps.

If he's walking on a regular fixed-scale walkable area, he walks just fine, no jerkiness. It's only on continuously-scaled walkable areas, with AdjustSpeedWithScaling set to true, that he jerks around slightly, but noticeable, while walking.
Status: Trying to come up with some ideas...

Invalid

The only problem I could think of is if you imported the sprite with space above, under, or to either side of the person that could of not been there. What I suggest is re-importing the sprites as 'tight' as possible, if you get what i'm saying. However, if the problem persists, I dont know what to tell you.

TerranRich

 That's precisely what I already do beforehand... since I pre-render my 3D characters, I find out the maximum amount of space I can trim off of all of the images, and then do so. There is no unwanted space on either side of any of the sprites.

I'll fiddle around some more, and if I still can't find a solution, I'll post some video to demonstrate the problem is better detail.
Status: Trying to come up with some ideas...

Khris

Cropping has nothing to do with it. It's a side effect of the adjusted speed, I guess.

TerranRich

Status: Trying to come up with some ideas...

SMF spam blocked by CleanTalk