Silverlight Games 101

Write games in Silverlight 2 using C# by Bill Reiss
Our upcoming Silverlight book for beginners (includes a great chapter on game development in Silverlight!) Hello! Silverlight 2 with Dave Campbell, available online now!



Pages

    Recent posts

    Navigation

    Archive

    Blogroll

      Tampa Divorce Lawyer

      North of Tampa in Lutz, Florida. A Tampa Divorce Lawyer focusing on family, divorce, and real estate law.

      Disclaimer

      The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

      Use Storyboards for Game Loop, not DispatcherTimer

      Ok so I had some earlier posts discussing how to make a game loop using two different methods, one being an empty Storyboard, and the other being the use of a DispatcherTimer. Adam Kinney of Microsoft has researched it a bit, and has posted his findings, confirming some of the empirical results I found from testing the two:

      http://adamkinney.com/blog/339/default.aspx

      Adam writes:

      The DispatcherTimer is a lower resolution timer than the timer behind the Storyboard class, which causes loss in fidelity. Additionally, the Storyboard execution is more stable across the different supported OSs and Browsers.

      So it looks like to get the smoothest movement in your game, you should use the Storyboard technique that I talk about in my Silverlight Game Loop tutorial.

      Posted: Jun 18 2008, 13:59 by Bill Reiss | Comments (4) RSS comment feed |
      • Currently 0/5 Stars.
      • 1
      • 2
      • 3
      • 4
      • 5
      Filed under:

      Comments

      Comments are closed