#4735 closed defect (fixed)
TEENAGENT: Choppy animation
Reported by: | SF/muyfa666 | Owned by: | SF/megath |
---|---|---|---|
Priority: | normal | Component: | Engine: TeenAgent |
Version: | Keywords: | ||
Cc: | Game: | TeenAgent |
Description
The main character's animation is very choppy. Not fluid like the original.
Language of game: English Version of game: Floppy, from GOG Platform and Compiler: Win32
Ticket imported from: #2922931. Ticket imported from: bugs/4735.
Change History (19)
comment:1 by , 15 years ago
Owner: | set to |
---|---|
Summary: | Choppy animation → TEENAGENT: Choppy animation |
comment:2 by , 15 years ago
comment:5 by , 15 years ago
That was one of the changes I tried myself, but I couldn't - and still can't - see much of a difference so I assumed frame 0 was meant as a "this is the actor, standing still" frame and therefore deliberately not included in the walk cycle.
comment:6 by , 15 years ago
I'm pretty sure that first frame should be part of the original walking sequence. its code is pretty straightforward. I found magic frame number 7 yesterday, still trying to figure out what it means.
comment:7 by , 15 years ago
Well, I don't really have any way of knowing which frames should or shouldn't be used; I don't know reverse engineering. But the main difference to me when I did the DOSBox/ScummVM comparision is that in DOSBox, when Mark sets down his foot it stays there until he lifts it for the next step. In ScummVM he seems to jitter, and at least before your change he moved much further with the same number of animation frames.
One thing I was wondering when I looked at it, but didn't bother to find out: Are all frames in the walk cycle the same width, or is it variable? If it's variable, perhaps the position needs to be adjusted for where his feet are? But that's just idle speculation.
comment:9 by , 15 years ago
Owner: | changed from | to
---|
comment:10 by , 15 years ago
check the latest svn build please, seems I figured out how the original animation was handled.
comment:11 by , 15 years ago
Owner: | changed from | to
---|
comment:12 by , 15 years ago
Still doesn't look quite right to me. I've updated the comparision page (re-encoding both videos, since I couldn't remember which parameters I used for the DOSBox one). Note that in the comparision I have once again removed the zeroeth frame from the walk cycle because that seemed to correspond to the frames I saw in DOSBox.
(As before, the animations do not capture the speed of the movement. For the DOSBox video, I slowed it down and hit the screenshot button each time the image changed. For ScummVM, I added some code to TeenAgent::run() to generate fake keydown events to trick it into creating screenshots, and then I removed all duplicate frames to get the same walk cycle.)
comment:15 by , 15 years ago
With the latest SVN the animation is WAY better. One thing thou, now it seems the main character is walking alot slower than he should.
comment:17 by , 15 years ago
So, i'm closing the bug. I will tune various speeds (game/text/hero) later.
comment:18 by , 15 years ago
Status: | new → closed |
---|
comment:19 by , 15 years ago
Resolution: | → fixed |
---|
I wrote about this on the forum already, but just for reference...
I tried capturing the animation frames from both DOSBox and ScummVM. The comparision can be found on http://www.update.uu.se/~d91tan/ScummVM/teenagent.html