Skip to main content
gamedev.net
🔒 Locked

multi threading

Started by pchqwe2 1 reply 100+ views
Original Post
pchqwe2
pchqwe2
hi, i''m writing in MSVC++.NET my program have 2 threads: - main thread - only rendering one object (sphere) - second thread - only increasing x of position of sphere that is rendering and waiting 10 msec (timeGetTime()) i thought that sphere will go very soft (it will not depend on FPS rate) but it is very different !! if i have 60 FPS (staled) my sphere is "jumping" why ?? what i can do with it ? thanks
Michalson
Michalson
Please don''t cross-post.
VolkerG
VolkerG
Posting three times the same topic isn''t the best idea. You won''t make many friends this way. How do you update your position? What timer are you using for this?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.