Adventures in Unhandled Exception Handling for XNA/Silverlight
here on codeplex – http://bit.ly/JmuXTE
here on codeplex – http://bit.ly/JmuXTE
The reason for this is that there is a single restriction to the Silverlight Renderer, all controls to be rendered MUST be part of the visual tree for the page you are currently on, so you cannot just create a whole load of user controls and just drop them in, they have to play an active part of the current page, you can however add them in programmatically if you so wish.
Now one thing that was not in the original game (unless you count the player / enemy animations which to face it are part of the gam anyway) was any kind of animation to the UI experience, namely in this case the Overlay’s we just put back in. They are a bit flat and just show on the screen, now in XNA to do any sort of screen transformation / animation or effect generally speaking does take a lot of effort because you have to build your own animation system to do what you need where as in Silverlight there is already a fairly powerful one right at your fingertips.
Must admit I had a bit of a Star Wars relapse while thinking about what to call this article, hay I’m only human, supposedly.
In yet another area that will be completely foreign to XNA devs (unless you’ have delved into Silverlight or Web programming) is the concept that in reality you should never have code updating the screen directly.
In Part 1 I went over some of the things you will need to do to get your current XNA project ready for use in the Silverlight XNA integration which I’ve dubbed as SilverXNA for this tutorial series.
For some time now I have been pondering over the new XNA to Silverlight integration since it was announced for Windows Phone Mango, I even wrote a short post over how to get started here.
As was the story not long ago, devs would look at the image above and see a Silverlight app, it looks like an image overlaid by a text control with another texture of a persons head, nothing too fancy about that.
Catching up on the webcasts I’ve done now for AT&T, here’s the recording from the second event from last month (March) on Web Connectivity for windows phone
Catching up on the webcasts I’ve done now for AT&T, here’s the recording from the first event last month (March) on Silverlight for windows phone
Right on the heals of the last post detailing the Silverlight WCF service library for the Scoreboard service (formally known as the leaderboard service), here is a sample Silverlight application consuming that service to manage the Scoreboards on there. It implements all but the Register Leaderboard WCF method in the service.