Loading user information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading user information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

SilverSprite - XNA Games in Silverlight

12 minutes, 43 seconds


Right click “Save as…”

Bill Reiss is building games in Silverlight, but he also likes to build games in XNA. The obvious move then is to create a library that allows you to run XNA games within Silverlight. And no code changes to the XNA games would be ideal.  That's exactly what Bill has done, and the code library's name is SilverSprite.


Follow the discussion

  • Oops, something didn't work.

    Getting subscription
    Subscribe to this conversation
  • Well that’s just the best thing since sliced bread....!

  • magicalclickmagicalclick Leaving WM on 5/2018 if no apps, no dedicated billboards where I drive, no Store name.
    Is this for real? Meaning run XNA game on Zune?
  • This is really about running XNA games in the browser, XNA games already run on Zune, and Zune doesn't run Silverlight currently as far as I know.
  • CharlesCharles Welcome Change

     XNA, besides being compellling for an in-browser game,  would be a most excellent framework to build the UI experience of a web site.

    Wandering around a site (virtual world on the Internet or, continuing the abuse of the terimnology, on premise) would become more of a literal user experience ("Hop in, let me show you around. Fasten your seatbelt by pressing the orange pill, but we've determined that your current system is multi-touch capable so, just use your fingers. Squeeze it.").


  • uditha sampath bandaraudithait Microsoft® MVP (Most Valuable ​Professiona​l) in XNA / DirectX .
    its realy grate to have XNA like envionment in silverlight.
    Now im ready to develop browser based game in silverlight more easily.
  • KeyboardGKeyboardG Hardcore nerd. Bringer of rain.
    Great idea to get people started! If I were to write games in silverlight though, I'd rather make my own library then depend on someone else's library/design decisions.
  • Cool!

    Great interview Adam!

    This has got my attention big time.


  • Adam KinneyAdamKinney Agent of Change
    Thanks Raymond, I'm happy to hear that Smiley
  • Just released an update to SilverSprite which addressed some of the most glaring things that were missing, like bitmap font support and being able to read compressed textures. The compressed texture one is pretty cool because if the compression looks ok for your particular textures, it will compress to 4 times smaller at least, and possibly 8 times smaller. This then will compress even further in the xap compression so it can be a big size savings.

    There were also some missing methods that have been implemented for more compatibility.

    Finally I included the Farseer Physics demos shown in the video here to the solution, along with a version of the class library which makes it easier to use with Farseer.

    Thanks and enjoy,
    Bill Reiss
  • You can now also try the samples in this video yourself, I have made the Dr. Popper game available here:


    and the Farseer Physics XNA samples running with SilverSprite here:

  • Sam StokesSocalSam boy, what a shiny head!

    XNA is awesome to use, and even better with Silverlight, etc.  But I have been told that XNA designers are concerned about the XBox and not the PC developer, which would be the case for the Silverlight applications. 

    As a result, I am going to be very cautious about the use of XNA, which also requires that the XNA be distributed with your application.

    Feel free to spam me if I am wrong.

  • SilverSprite doesn't require XNA to be installed, but as for the rest, I would agree that Xbox is a major focus for XNA, and there are some good reasons you might not want to use it for Windows, like the fairly subtantial prerequisites. I don't feel, however, that XNA for Windows gets shortchanged unless you want to use DX10 features in your game or integrate it into another application.

  • Thinks looks really great.  I can't wait to play around with it!!!

  • Silversprite doesen´t work!


    Can anybody make a step by step tutorial?



  • Hi iv'e read your tutorial and downloaded some samples. but I can't get it work when I add the sorce code here:

    <UserControl x:Class="SilverlightApplication1.MainPage"
        Width="400" Height="300" >
        <Grid x:Name="LayoutRoot" Background="White">
                <game:Game1 x:Name="game"/>


    It worked first. But than, I edited another application and suddenly it stopped working. It says there is nothing called like that.  Sad

Remove this comment

Remove this thread


Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.