Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Zach Meyer

Question about AVI's

This topic is 6628 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have an animation that I turned into an .AVI of a Rocket taking off, the problem is when I run the .AVI, the rocket takes off way faster than the animation is supposed to. Is there any way to fix this, I know its prolly simple, but im still new at this. Im using the 3d Modeler/Animator called Anim8or. Thanks Edited by - Zach Meyer on 6/23/00 6:11:22 PM

Share this post


Link to post
Share on other sites
Advertisement
You can use GetTickCount() to slow down your animation

example..


void Delay(DWORD milisecs)
{
DWORD start = GetTickCount();
while (GetTickCount()-start <= milisecs); /* Do Nothing */
}
[/CODE]
now in your program in between each frame you can do something like this...

Delay(500);

which in turn waits for half a second in between each frame...

Share this post


Link to post
Share on other sites
I Would but im just putting together a sample video of the game using some of the objects in the game,this video wont be in the game..

Share this post


Link to post
Share on other sites
Exactly... That''s why it''s safe to use that.. Otherwise there''s a possibility of slowing down your game if you wait a lot in the game loop... anyways.. use it..

Share this post


Link to post
Share on other sites
But its not in the game, its just a plain .AVI file, having nothing to do with the game. All it is is an .AVI file that shows what the game is going to have, it isnt going to be in the game, Im just looking for a way to slow the .AVI down a little bit.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!