• Advertisement
Sign in to follow this  

Creating menu driven Animation

This topic is 4506 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

Hey all, I am trying to create menu driven animation, only problem is, the display loop runs through so fast that you never see the animation take place. How does one slow down the idle function?

Share this post


Link to post
Share on other sites
Advertisement
what method are you using to do the animation, and is a a 3d model or is it bitmaps. I think I saw you posting about bitmaps before, so I'll go with that, if I'm wrong correct me. You need to decide how much time you want to take between frames of your bitmaps. Then, when you start the animation, don't swap frames until that amount of time has passed. I can give you a good timer class if you want it. It returns the time passed as well as the frame per second. You can use this to add up how much time passes and when however much time you want it to be has passed, you then(and only then) swap frames, and do it again for each frame that follows.

Share this post


Link to post
Share on other sites
I am using Bitmaps. I would like to take a look at that timer class when you get a chance.

Share this post


Link to post
Share on other sites
Should I send it via e-mail. It is pretty small. Give me your e-mail if you want. I'll send the .h .cpp files and a couple of comments in the email about how to use it.

Share this post


Link to post
Share on other sites
can i have a copy from it ^^
ff8_flash4pro@hotmail.com

Share this post


Link to post
Share on other sites
I did not receive the email, could you send it to my other email account, huckstopper@gmail.com

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement