Page view counter

Silverlight Tips of the Day - Blog by Mike Snow

Game Programming with Silverlight

Browse by Tags

All Tags » game programming (RSS)
Silverlight Tip of the Day #108 – How to Create an Out of Browser Application.
Out of browser support allows Silverlight applications to run as a stand alone application out of the browser. This is especially useful if you have an application that you want to run when you are offline and unable to connect via the browser. Configuring...
Game Programming with Silverlight.
Tomorrow, June 30th, is the release date for my book titled “ Game Programming with Silverlight ”. Writing this book was a great experience as it was the first book I have ever written. It was extremely time consuming mostly because it was a learning...
Silverlight Tip of the Day #107 – Animation Easing Demo
Animation Easing allows for you to apply built in animation functions to your Silverlight controls. The result is a variety of animation effects that make your controls move in a more realistic way. For example, you can add springiness to your controls...
Silverlight Tip of the Day #106 – Setting Default Browser from within VS
From within VS you can specify which Internet browser you want launched when running your Silverlight application. Your default system browser is not affected by this setting. To make this change right click on your startup web page and choose Browse...
Silverlight Tip of the Day #105 – How to Enable GPU Acceleration
With the release of Silverlight 3 Beta 1 GPU (Graphics Processing Unit) acceleration (or hardware acceleration) is now available. The GPU is a processor attached to your graphics card that is generally used for calculating floating point operations. In...
Silverlight Tip of the Day #104 – Cool Silverlight Tutorial Blogs
Of the course of the last year I have been collecting links to some really good Silverlight tutorial blogs that I thought I would share with you. These are active blogs, frequently updated, that are specifically oriented to teaching Silverlight development...
Silverlight Tip of the Day #103 – Use Integers for Layout Calculations
When calculating the positions of objects such as Images make certain to use integer values not floating point values. For example, take a look at this code that centers a map around a given position: private void CenterMap( double windowWidth, double...
Silverlight Tip of the Day #101 – Silverlight 3 Beta 1 Feature Summary
Unless you have had your head under a rock you probably have heard Silverlight 3 Beta 1 has been released! If you haven’t already, please install it from http://silverlight.net/getstarted/silverlight3/default.aspx This release comes packed with some of...
Silverlight Tip of the Day #100 – ComponentArt Controls
I recently had the opportunity to try out the controls from ComponentArt.com . I was very impressed with their ease of use, professional design and overall quality. Also, their staff are very prompt to responding to questions which made my developer experience...
Silverlight Tip of the Day #99 – Silverlight 3 Game Programming Book
I would like to announce that I am currently working on a book titled “ Silverlight Game Programming ” due to be released around June this year! You can find it on Amazon by clicking here . It’s taking most of my blogging time up so I apologize for the...
Silverlight Tip of the Day #98 – Creating Sprites from 3D Models - EnvyGames
I recently stumbled across a cool tool by EnvyGames that allows you to generate sprites from 3D Models and their animation files. This tool, called SpriteWorks , is ideal for creating high quality sprite animations and one that I’ll be adding to my arsenal...
Silverlight Tip of the Day #97 – How to get an Image’s Source File Name
Once you have an image loaded how do you go back and get the original file name for the source file? This can be accomplished through the Uri property of the images Source . However, you must first typecast the images Source to be a BitmapImage . The...
Silverlight Tip of the Day #96 – The meaning of AG_E_PARSER_BAD_PROPERTY_VALUE
If you ever run into this error when running your application you might be a bit perplexed by its encrypted meaning. Looking at the exceptions details you will see something like which really doesn’t help you very much: System.Windows.Markup.XamlParseException...
Silverlight Tip of the Day #95 – Working with Strokes in Shapes
When it comes to drawing shapes such as rectangles you are probably fully aware you can draw shapes specifying the color and thickness of the lines. This is done via the properties StrokeThickness and Stroke . For example, take a look at the rectangle...
Silverlight Tip of the Day #94 – Reading XML through LINQ with Silverlight
In Tip of the Day #93 I showed you how to read XML via XmlReader . However, a better and simpler approach (IMHO) would be to use LINQ. Let’s start with the same XML file we used in Tip #93. <?xml version= "1.0" encoding= "utf-8"...
Next