Jump to content
  • Advertisement
Sign in to follow this  
Tiege

Frames Only Update When I Move Mouse?

This topic is 2553 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 had this problem with a couple of the programs I made to learn about loading x files. I recreated the static and animated x file tutorials tiger.x and tiny.x. I noticed however the animation ONLY worked if I moved my mouse or hit some keys. I have to keep moving my mouse or hit keys on the keyboard to make the animations continue. What's causing this?

Share this post


Link to post
Share on other sites
Advertisement

I had this problem with a couple of the programs I made to learn about loading x files. I recreated the static and animated x file tutorials tiger.x and tiny.x. I noticed however the animation ONLY worked if I moved my mouse or hit some keys. I have to keep moving my mouse or hit keys on the keyboard to make the animations continue. What's causing this?

GetMessage is causing this. If there are no messages, it blocks. Use PeekMessage instead.

Share this post


Link to post
Share on other sites
Thanks bunches :)

[quote name='Tiege' timestamp='1313964478' post='4852026']
I had this problem with a couple of the programs I made to learn about loading x files. I recreated the static and animated x file tutorials tiger.x and tiny.x. I noticed however the animation ONLY worked if I moved my mouse or hit some keys. I have to keep moving my mouse or hit keys on the keyboard to make the animations continue. What's causing this?

GetMessage is causing this. If there are no messages, it blocks. Use PeekMessage instead.
[/quote]

Share this post


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

  • 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!