PDA

View Full Version : adjusting animation speed across machines


pfash
01-28-2004, 11:44 AM
Hi All,
This is probably a familiar issue to some. I would appreciate you sheding some light for me:
The game I am working on (a Director projector project) will have to play on a wide range of machines which vary the game's framerate quite a bit so I adjust the size of the steps assigned to all of the game's movements according to the fps the machine can achieve. [For example, on a machine getting 102 fps a translation might be (.3,0,0), while a machine only getting 32 fps will assign a larger step for the translation: (1.2,0,0)...so it arrives at the destination at the same time as the other, althogh it had a jerkier ride.)

This adjustment method works pretty well except for with the walking character (animated in and exported from Lightwave). I can adjust the playrates for the #bonesPlayer and #keyframePlayer modifiers to speed up the walk and to slow it down but I can't use the game's fps to figure by how much. There must be something other than the game's framerate that has a major affect upon the actual (visual) speed of the walk.

In other words: The character walks real slow on one machine and very fast on another even though in both cases the playrates for both animation modifiers are the same and the game's fps are the same.
How can I determine how fast I should set the playrates for this walking character (in Director [Lingo]) so that it walks about the same speed in all machines? What should I test to determine that?

Thanks much,
Paul

Original1
01-29-2004, 08:49 AM
Just a thought,

there is a relationship between the length of a characters walk
say one metre and distance he has to cover in a given time
could you fire some kind of stephandler based on time, rather than frame rate.