SilverSprite - XNA Games in Silverlight

Play SilverSprite - XNA Games in Silverlight
Sign in to queue


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.



Download this episode

The Discussion

  • User profile image

    Well that’s just the best thing since sliced bread....!

  • User profile image
    Is this for real? Meaning run XNA game on Zune?
  • User profile image
    Bill Reiss
    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.
  • User profile image

     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.").


  • User profile image
    its realy grate to have XNA like envionment in silverlight.
    Now im ready to develop browser based game in silverlight more easily.
  • User profile image
    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.
  • User profile image


    Great interview Adam!

    This has got my attention big time.


  • User profile image
    Thanks Raymond, I'm happy to hear that Smiley
  • User profile image
    Bill Reiss
    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
  • User profile image
    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:
  • User profile image

    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.

  • User profile image
    Bill Reiss

    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.

  • User profile image

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

  • User profile image

    Silversprite doesen´t work!


    Can anybody make a step by step tutorial?



  • User profile image

    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

Add Your 2 Cents