Animation frame rate

Non-platform specific questions.

Animation frame rate

Postby Novice » Thu Nov 24, 2005 11:07 am

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.
Why do i always get stuck?
User avatar
Novice
 
Posts: 399
Joined: Mon Aug 29, 2005 10:54 am
Location: Relative
Score: 5 Give a positive score

Re: Animation frame rate

Postby ondy1985 » Fri Nov 25, 2005 6:34 pm

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.
Image

Motto: "I never let my schooling interfere with my education" --- Mark Twain
User avatar
ondy1985
 
Posts: 99
Joined: Thu May 05, 2005 7:43 pm
Location: Slovakia
Score: 1 Give a positive score

Postby Novice » Sat Nov 26, 2005 12:58 pm

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;
Why do i always get stuck?
User avatar
Novice
 
Posts: 399
Joined: Mon Aug 29, 2005 10:54 am
Location: Relative
Score: 5 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest