Page 1 of 1

Animation frame rate

PostPosted: Thu Nov 24, 2005 11:07 am
by Novice
Dont know if this is a bug or what but after i put a frame rate above 30 i can se the sped up animation in the preview window, but when i play the game it plays 30 fps.

I have a whell that is turning so i want to make it spin faster or slower acording to the speed at wich it is moving. Also is there a way to change the frame rate of an animation thru script editor?

If not i was thinking about stoping the animation and making several timers and every timer would to this ex.
Timer1
Code: Select all
animpos=animpos+1;

Timer2
Code: Select all
animpos=animpos+2;

...
But it would be the same result.
Thanks for any help.

Re: Animation frame rate

PostPosted: Fri Nov 25, 2005 6:34 pm
by ondy1985
Novice wrote:Dont know if this is a bug or what but after i put a frame rate above 30 i can se the sped up animation in the preview window, but when i play the game it plays 30 fps.

The fact is that animation playback can not be faster than game's fps. Game fps is set to 30 by default.

PostPosted: Sat Nov 26, 2005 12:58 pm
by Novice
I know that but i was wondering if it can play it faster buy automaticly expeling ex. every other frame, or do i have to cut it manualy and make shorter animations so they play faster?

Also is there a script function that changes the anim frame rate (from 0 to 30) like
Code: Select all
anim_fps=speed;