Share via


Silverlight 5 writers like to say: You can reuse your XNA skills, but can you?

Have you noticed that Silverlight 5 writers like to make the statement that you can reuse your XNA skills, but the question is: Can You?  Usually in the same article you get the: Here are lines of code on how to use a Vertex, or use DirectX to compile the HSLT file.  Sometimes when I read these excellent articles showing the wonderful things that these designers do with Silverlight 5, I am amazed and then realize that in XNA we usually work in little tiny pieces and not the large idea space like the Silverlight 5 folks.

It is cool that the 3D Silverlight 5 template give you the coolest template ever, but you have to know how to turn on the GPU Graphics device just to get it to work. 

image

Can I use a 3D object like I do in XNA? Really, how?  Oh wait a minute is this like Sliverlight-XNA on the phone?  Sort of.

In the Silverlight Toolkit there are a few code samples that take existing XNA samples and converts them into the Sliverlight 5 XNA product.

I took a look at the “SimpleAnimation” which is the one with the Steampunk tank (if it was a real tank, it would last about 1 minute on a real battle field). 

It does not work if you do not enableGPUAcceleration using my blog:

Then you will see the following, which is not what you want to see:

image

Instead of:

image

But what about an actual game, well you all come back now and we will discuss that!

Comments

  • Anonymous
    February 22, 2012
    The comment has been removed
  • Anonymous
    February 23, 2012
    The comment has been removed