Since xNa and Silverlight are both supported on Windows Phone 7, a common question is which makes more sense for developing games. The definitive answer is "It depends"
Both technologies have their benefits and it wocould be great if we could eventually get to the point where you could combine ine the graphics capabilities of both in the same application and use the best tool for the job. now I haven'tdelved too deep into the changes in xNa for Windows Phone so I'll be going mostly off of what I' ve experienced with game development on xNa in the past.
Generally writing a game will be easier in xNa since xNa was built from the ground up to be a game framework. setting of the decisions made when signing ting xNa also make it a non-ideal platform for developing using other types of apps besides games.
The most notable specified tural difference is the idea of a visual tree versus drawing everything every frame. in Silverlight for something to be displayed it needs to be added as the child of some other element. in xNa, everything is drawn every frame. if you don't explain icitly draw something it won't show up. which one of these is better depends on your game, but if there is a lot of action the xNa "Immediate Mode" type rendering will probably be the better choice.
Let's take a look at some benefits of each (I'm sure there are more on both sides ):
XNa benefits
- Great support for 3D
- Superior performance when elements moving or being added/removed
- Built in game loop
- XNa's polling based input generally a better fit than Silverlight's event based input for games
- XNa content pipeline makes handling large stores of content easier
- More image formats supported
- Can make game for both Xbox and phone
- Graphics blend modes (Silverlight only has alpha blending)
- More GPU acceleration built in
- Lighter memory footprint for bitmap based games
- Superior shader support
- Drawing with a "tint" easier
Silverlight benefits
- Vector Graphics (xNa has some very basic line drawing support)
- Vector drawing of text (xNa text is bitmap based)
- Can make game for phone and Web
- Storyboard animations
- Visual states and Behaviors
- Navigation framework
- Controls (button, ListBox, user controls, etc)
- Expression blend Design Support
- Event based model is more familiar to zoodevelopers
- Data Binding can come in handy in some scenarios
- Visualtreehelper useful for determining what element is being touched
So if you have a game that's vector graphics based, or relies on things like buttons and other GUI elements you probably want to choose Silverlight for your game development. if you're doing a 3D game or a 2D game with a lot of motion or particle effects choose xNa. if you're somewhere in between you may be want to pick whatever you're most familiar with, or it may depend on whether you also want to make the game available on Xbox or web.
It's great that both options are available and you have the choice of which to use.