Exposed: 5 methods to create game loop: which is the best?
Edit: fixed broken links
What is the best method to create a game loop?
I created a small experiment comparing 5 different animation methods.
The results, along with code samples and test screenshots are summarized in this document:
Sample test app (requires reading the document above to understand the setup): http://nokola.com/gamelooptest
This is part of the test app startup screen before measurements begin:
Contents of the doc:
What Are Some Things Important For A Game?
Why Are We Discussing Game Loops?
MaxFrameRate Unset (Defaults to 60):
Analysis of the 60 FPS default case:
Analysis of the 300 FPS case:
Quick Comparison Chart
Summary & Conclusion
I hope this will shed some light on Silverlight game loop that several people on this blog asked so far!
Please let me know what you think!