Which one performs better to run a game main loop?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There’s a new option in RC0, it’s the CompositionTarget.Rendering event. It seems to have promise for being the best option.
As for other game loop methods, it’s generally accepted that the empty Storyboard is best. So I’d recommend the new Rendering event first, and if that seems to have issues, go with the empty Storyboard.
I’ve got a bit here on the new Rendering event:
http://silverlightrocks.com/cs/blogs/silverlight_games_101/archive/2008/09/26/a-much-cleaner-game-loop-in-silverlight-2-rc0.aspx