<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://silverlightaddict.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SilverlightAddict.com</title><link>http://silverlightaddict.com/blogs/</link><description>Silverlight Tutorials, Samples, Articles, and Resources</description><dc:language>en-US</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>Defend Stuff: A Silverlight 2 Game</title><link>http://silverlightaddict.com/blogs/silverlightgames/archive/2008/10/23/defend-stuff-a-silverlight-2-game.aspx</link><pubDate>Fri, 24 Oct 2008 04:34:00 GMT</pubDate><guid isPermaLink="false">53a88fc7-733d-4779-adfd-6c7ae0bc278c:2205</guid><dc:creator>RogerGuess</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;img alt="defendstuff a silverlight game" src="http://www.silverlightaddict.com/misc/defendstuff.jpg" /&gt; 
&lt;p&gt;&lt;font face="Calibri" size="3"&gt;&lt;a class="" href="http://www.playmatter.com/defendstuff/"&gt;Defend Stuff&lt;/a&gt; is a tower defense game written in Silverlight 2. There is this ‘stuff’ that you are supposed to protect from the ‘bad guys’. You have rocket turrets, machine guns, and a seismic disruptor thingy. You can place turrets throughout the map as long as you do not block all paths preventing the enemy from getting to the stuff. Yes, the goal is to stop them, but blocking them would be rude. You need to blow them up instead. Click &lt;a class="" href="http://www.playmatter.com/defendstuff/"&gt;HERE&lt;/a&gt; to play.&lt;/font&gt;&lt;/p&gt;&lt;img src="http://silverlightaddict.com/aggbug.aspx?PostID=2205" width="1" height="1"&gt;</description><category domain="http://silverlightaddict.com/blogs/silverlightgames/archive/tags/defendstuff/default.aspx">defendstuff</category></item><item><title>Silverlight Links</title><link>http://silverlightaddict.com/blogs/learningsilverlight/archive/2008/06/29/silverlight-links.aspx</link><pubDate>Sun, 29 Jun 2008 17:15:00 GMT</pubDate><guid isPermaLink="false">53a88fc7-733d-4779-adfd-6c7ae0bc278c:54</guid><dc:creator>RogerGuess</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;There is already an incredible wealth of samples, articles, tutorials, and applications out there for Silverlight. Here is a list of the links I like to keep my eye on.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;&lt;a class="" href="http://weblogs.asp.net/scottgu/archive/tags/Silverlight/default.aspx"&gt;Scott Guthrie&lt;/a&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;a class="" href="http://timheuer.com/blog/Tags/silverlight/default.aspx"&gt;Tim Heuer&lt;/a&gt;&amp;nbsp;(be sure to check out his video&amp;nbsp;podcasts on Silverlight)&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;a class="" href="http://adamkinney.com/"&gt;Adam Kinney&lt;/a&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="" href="http://www.wynapse.com/"&gt;WynApse.com&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;a class="" href="http://adoguy.com/silverlight/"&gt;Shawn Wildermuth&lt;/a&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;a class="" href="http://silverlight.net/blogs/jesseliberty/archive/tags/Learning+Silverlight/default.aspx"&gt;Jesse Liberty&lt;/a&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;a class="" href="http://silverlightrocks.com/cs/blogs/"&gt;Bill Reiss&lt;/a&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;a class="" href="http://weblogs.asp.net/dwahlin/archive/tags/Silverlight/default.aspx"&gt;Dan Wahlin&lt;/a&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;a class="" href="http://www.silverlightcream.com/"&gt;SilverlightCream&lt;/a&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://silverlightaddict.com/aggbug.aspx?PostID=54" width="1" height="1"&gt;</description><category domain="http://silverlightaddict.com/blogs/learningsilverlight/archive/tags/resources/default.aspx">resources</category><category domain="http://silverlightaddict.com/blogs/learningsilverlight/archive/tags/tutorials/default.aspx">tutorials</category><category domain="http://silverlightaddict.com/blogs/learningsilverlight/archive/tags/articles/default.aspx">articles</category><category domain="http://silverlightaddict.com/blogs/learningsilverlight/archive/tags/blogs/default.aspx">blogs</category><category domain="http://silverlightaddict.com/blogs/learningsilverlight/archive/tags/Silverlight+links/default.aspx">Silverlight links</category></item><item><title>Silverlight 2 Beta 2: Value does not fall within the expected range</title><link>http://silverlightaddict.com/blogs/learningsilverlight/archive/2008/06/10/silverlight-2-beta-2-value-does-not-fall-within-the-expected-range.aspx</link><pubDate>Wed, 11 Jun 2008 01:32:00 GMT</pubDate><guid isPermaLink="false">53a88fc7-733d-4779-adfd-6c7ae0bc278c:34</guid><dc:creator>RogerGuess</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;This can come from a number of potential errors with XAML.&amp;nbsp;The first thing I now check, is to see if&amp;nbsp;I am attempting to add multiple&amp;nbsp;FrameworkElements with the same x:Name. For me, I was dynamically adding usercontrols to a canvas, but I made the mistake of giving the root element of the usercontrol an x:Name.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Other cases where I created this error:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Specified a Grid.Row or Grid.Column that was greater than the actual number of columns or rows&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://silverlightaddict.com/aggbug.aspx?PostID=34" width="1" height="1"&gt;</description><category domain="http://silverlightaddict.com/blogs/learningsilverlight/archive/tags/Silverlight+Expected+Range+Value/default.aspx">Silverlight Expected Range Value</category></item><item><title>SilverLander: A Silverlight 2 Game (updated for Beta 2)</title><link>http://silverlightaddict.com/blogs/silverlightgames/archive/2008/06/08/SilverLander-A-Silverlight-2-Game-for-Beta-2.aspx</link><pubDate>Sun, 08 Jun 2008 21:26:00 GMT</pubDate><guid isPermaLink="false">53a88fc7-733d-4779-adfd-6c7ae0bc278c:31</guid><dc:creator>RogerGuess</dc:creator><slash:comments>21</slash:comments><description>&lt;p&gt;This was my first Silverlight game. I have&amp;nbsp;now updated it&amp;nbsp;for &lt;strong&gt;Silverlight 2 Beta 2 &lt;/strong&gt;( &lt;a class="" title="SilverLander Beta 1" href="http://silverlightaddict.com/blogs/silverlightgames/archive/2008/06/05/silverlander-a-silverlight-2-game.aspx"&gt;here is the Beta 1 version&lt;/a&gt; ).&amp;nbsp;The&amp;nbsp;game counts down and begins the lander on approach from the top left of the screen. Your job is to bring the lander to&amp;nbsp;a safe slow (and upright) landing on the surface &lt;strong&gt;inside the highlighted landing zone&lt;/strong&gt;. Each level increases difficulty by increasing gravity, increasing initial velocity, decreasing&amp;nbsp;available fuel, and&amp;nbsp;a decreasing landing zone radius. Use the &lt;strong&gt;arrow keys to rotate and thrust&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;iframe style="WIDTH:600px;HEIGHT:500px;" marginwidth="0" marginheight="0" src="http://70.84.202.171/SilverLanderBeta2/SilverLanderBeta2TestPage.html" frameborder="0" width="600" height="500" mce_src="http://silverlightaddict.com/misc/silverlander/testpage.html"&gt;&lt;/iframe&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;started with the building blocks for the gameloop and use of sprites and vectors from&amp;nbsp;Bill Reiss demos on&amp;nbsp;&lt;a class="" href="http://silverlightrocks.com/cs/blogs/silverlight_games_101/archive/2007/08/28/basic-collision-detection.aspx"&gt;SilverlightRocks&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My next steps are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strike&gt;Gravity is currently straight down, so I need to update that to be the center of the moon/object. The game loop adds a vector straight down instead of directly toward the center of the moon.&lt;/strike&gt; (Done, thx to Bill Reiss who has way more physics experience than me)&lt;/li&gt;
&lt;li&gt;Make&amp;nbsp;magnitude of gravity relative to the proximity to the moon, rather than a constant.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;There is a random&amp;nbsp;math error during the game loop: you may experience it when the ship just jumps completely out of the screen. but appears to continue moving.&lt;/li&gt;
&lt;li&gt;Create a formula for&amp;nbsp;scoring, with bonuses for time taken, fuel remaining, difficulty, and slower velocity at landing.&lt;/li&gt;
&lt;li&gt;Capture scores on a leader board via a web service.&lt;/li&gt;
&lt;li&gt;Create a &amp;#39;instrument panel&amp;#39; for indicators; speed, descent rate, remaining fuel, attitude, range to surface, etc.&lt;/li&gt;
&lt;li&gt;Improve location of messages on the screen.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://silverlightaddict.com/aggbug.aspx?PostID=31" width="1" height="1"&gt;</description><category domain="http://silverlightaddict.com/blogs/silverlightgames/archive/tags/Silverlander+silverlight+beta+2/default.aspx">Silverlander silverlight beta 2</category></item><item><title>Runtime Alternative to XamlReader.Load in Silverlight 2 Beta 2</title><link>http://silverlightaddict.com/blogs/learningsilverlight/archive/2008/06/07/runtime-alternative-to-xamlreader-load-in-silverlight-2-beta-2.aspx</link><pubDate>Sun, 08 Jun 2008 00:37:00 GMT</pubDate><guid isPermaLink="false">53a88fc7-733d-4779-adfd-6c7ae0bc278c:28</guid><dc:creator>RogerGuess</dc:creator><slash:comments>5</slash:comments><description>&lt;p&gt;This Sample was update for Silverlight 2 Beta 2 ( &lt;a class="" href="http://silverlightaddict.com/blogs/learningsilverlight/archive/2008/06/01/runtime-alternative-to-xamlreader-load-in-silverlight.aspx"&gt;the beta 1 example is here&lt;/a&gt; )&lt;/p&gt;
&lt;p&gt;I can see XamlReader.Load has it&amp;#39;s uses for adding FrameworkElements at runtime, but I really hate the way the code looks. Additionally, I don&amp;#39;t like the idea of managing a bunch of String.Format statements for my XAML. Things get even more complex when you want to take advantage of events. Luckily, there is an alternative.&lt;/p&gt;
&lt;p&gt;Here is an example of adding elements (ellipse, storyboard, doubleanimation)&amp;nbsp;at runtime, and attaching events so that they are removed when the storyboard ends:&lt;/p&gt;
&lt;p&gt;&lt;iframe style="WIDTH:300px;HEIGHT:300px;" marginwidth="0" marginheight="0" src="http://70.84.202.171/UserControls2/UserControlsTestPage.html" frameborder="1" width="300" height="300" mce_src="http://silverlightaddict.com/misc/spacerocks/testpage.html"&gt;
&lt;/iframe&gt;&lt;/p&gt;&lt;pre class="csharpcode"&gt;&lt;span class="kwrd"&gt;public&lt;/span&gt; Page()
        {
            InitializeComponent();
            &lt;span class="kwrd"&gt;this&lt;/span&gt;.MouseLeftButtonUp += &lt;span class="kwrd"&gt;new&lt;/span&gt; MouseButtonEventHandler(Page_MouseLeftButtonUp);
            updateElementCount();
        }

        &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;int&lt;/span&gt; spriteCount { get; set; }

        &lt;span class="kwrd"&gt;void&lt;/span&gt; Page_MouseLeftButtonUp(&lt;span class="kwrd"&gt;object&lt;/span&gt; sender, MouseButtonEventArgs e)
        {
            Point point = e.GetPosition(&lt;span class="kwrd"&gt;this&lt;/span&gt;);
            Ellipse ellipse = &lt;span class="kwrd"&gt;new&lt;/span&gt; Ellipse();
            SolidColorBrush mySolidColorBrush = &lt;span class="kwrd"&gt;new&lt;/span&gt; SolidColorBrush();
            DoubleAnimation animation = &lt;span class="kwrd"&gt;new&lt;/span&gt; DoubleAnimation();
            Storyboard storyBoard = &lt;span class="kwrd"&gt;new&lt;/span&gt; Storyboard();
            
            spriteCount += 1;
            &lt;span class="kwrd"&gt;string&lt;/span&gt; spriteName =&lt;span class="kwrd"&gt;string&lt;/span&gt;.Format(&lt;span class="str"&gt;&amp;quot;SpriteEllipse{0}&amp;quot;&lt;/span&gt;, spriteCount);
            ellipse.SetValue(Ellipse.NameProperty, spriteName);
            mySolidColorBrush.Color = Color.FromArgb(255, 0, 0, 0);
            ellipse.Fill = mySolidColorBrush;
            ellipse.Width = 30;
            ellipse.Height = 30;
            ellipse.SetValue(Canvas.TopProperty, (point.Y - ellipse.Width/2));
            ellipse.SetValue(Canvas.LeftProperty, (point.X - ellipse.Width/2));
            LayoutRoot.Children.Add(ellipse);
            
            animation.Duration = &lt;span class="kwrd"&gt;new&lt;/span&gt; TimeSpan(0,0,3);
            animation.From = 1;
            animation.To = 0;
            animation.SetValue(Storyboard.TargetNameProperty, spriteName);
            animation.SetValue(Storyboard.TargetPropertyProperty, &lt;strong&gt;&lt;span class="kwrd"&gt;new&lt;/span&gt; PropertyPath&lt;/strong&gt;(String.Format(&lt;span class="str"&gt;&amp;quot;{0}.Opacity&amp;quot;&lt;/span&gt;, spriteName)));

            storyBoard.Completed+=&lt;span class="kwrd"&gt;new&lt;/span&gt; EventHandler(storyBoard_Completed);
            storyBoard.SetValue(Storyboard.TargetNameProperty, spriteName);
            
            storyBoard.Children.Add(animation);
            LayoutRoot.Resources.Add(&lt;span class="kwrd"&gt;string&lt;/span&gt;.Format(&lt;span class="str"&gt;&amp;quot;{0}_storyBoard&amp;quot;&lt;/span&gt;, spriteName), storyBoard);
            storyBoard.Begin();

            updateElementCount();
        }

        &lt;span class="kwrd"&gt;void&lt;/span&gt; storyBoard_Completed(&lt;span class="kwrd"&gt;object&lt;/span&gt; sender, EventArgs e)
        {
            Storyboard storyBoard = (Storyboard)sender;
            &lt;span class="kwrd"&gt;string&lt;/span&gt; spriteName = storyBoard.GetValue(Storyboard.TargetNameProperty).ToString();
            FrameworkElement sprite = (FrameworkElement)LayoutRoot.FindName(spriteName);
            LayoutRoot.Children.Remove(sprite);
            LayoutRoot.Resources.&lt;strong&gt;Remove&lt;/strong&gt;(&lt;span class="kwrd"&gt;string&lt;/span&gt;.Format(&lt;span class="str"&gt;&amp;quot;{0}_storyBoard&amp;quot;&lt;/span&gt;, spriteName));
            updateElementCount();
        }

        &lt;span class="kwrd"&gt;void&lt;/span&gt; updateElementCount()
        {
            &lt;span class="kwrd"&gt;this&lt;/span&gt;.txtChildren.Text = &lt;span class="kwrd"&gt;string&lt;/span&gt;.Format(&lt;span class="str"&gt;&amp;quot;Children.Count = {0}&amp;quot;&lt;/span&gt;, LayoutRoot.Children.Count());
            &lt;span class="kwrd"&gt;this&lt;/span&gt;.txtResources.Text = &lt;span class="kwrd"&gt;string&lt;/span&gt;.Format(&lt;span class="str"&gt;&amp;quot;Resources.Count = {0}&amp;quot;&lt;/span&gt;,  LayoutRoot.Resources.Count);
        }&lt;/pre&gt;&lt;img src="http://silverlightaddict.com/aggbug.aspx?PostID=28" width="1" height="1"&gt;</description><category domain="http://silverlightaddict.com/blogs/learningsilverlight/archive/tags/Silverlight+2+XamlReader+Runtime+PropertyPath+DependencyProperty/default.aspx">Silverlight 2 XamlReader Runtime PropertyPath DependencyProperty</category></item><item><title>Silverlight 2 Beta 2 %project%TextPage.html Looking for Beta 1 (installed version 2.0.30523 requested version 2.0.30226)</title><link>http://silverlightaddict.com/blogs/learningsilverlight/archive/2008/06/07/silverlight-2-beta-2-project-textpage-html-looking-for-beta-1-installed-version-2-0-30523-requested-version-2-0-30226.aspx</link><pubDate>Sat, 07 Jun 2008 23:41:00 GMT</pubDate><guid isPermaLink="false">53a88fc7-733d-4779-adfd-6c7ae0bc278c:27</guid><dc:creator>RogerGuess</dc:creator><slash:comments>43</slash:comments><description>&lt;p&gt;I converted a Beta 1 project to Beta 2 and made a few fixes to get it up and running. However, I noticed the testpage.html was still looking for the previous version of Silverlight 2 Beta 1. It&amp;#39;s a quick fix: Create a new Silverlight 2 Beta 2 project/solution and grab the source for the %Project%TestPage.html and use it for your existing project. All you have to change is the path to the .xap file.&lt;/p&gt;&lt;img src="http://silverlightaddict.com/aggbug.aspx?PostID=27" width="1" height="1"&gt;</description><category domain="http://silverlightaddict.com/blogs/learningsilverlight/archive/tags/Silverlight+2+Beta+2+Beta+1+TestPage.html+2.0.30523+2.0.30226/default.aspx">Silverlight 2 Beta 2 Beta 1 TestPage.html 2.0.30523 2.0.30226</category></item><item><title>Silverlight 2 Beta 2: "Operation could destabilize the runtime"</title><link>http://silverlightaddict.com/blogs/learningsilverlight/archive/2008/06/07/silverlight-2-beta-2-quot-operation-could-destabilize-the-runtime-quot.aspx</link><pubDate>Sat, 07 Jun 2008 21:07:00 GMT</pubDate><guid isPermaLink="false">53a88fc7-733d-4779-adfd-6c7ae0bc278c:26</guid><dc:creator>RogerGuess</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I ran into this after having Visual Studio convert my Beta 1 project to Beta 2. &lt;/p&gt;
&lt;p&gt;System.Security.VerificationException was unhandled by user code&lt;br /&gt;&amp;nbsp; Message=&amp;quot;&lt;strong&gt;Operation could destabilize the runtime&lt;/strong&gt;.&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I created a new Beta 2 solution from scratch and noticed at least one difference, which turned out to be a fix in my case. The reference to &lt;strong&gt;mscorlib&lt;/strong&gt; was pointing to &amp;quot;%\Program Files\Microsoft Silverlight\2.0.30226.2\mscorlib.dll&amp;quot; for my converted project, but was pointed to &amp;quot;%\Program Files\Microsoft SDKs\Silverlight\v2.0\Reference Assemblies\mscorlib.dll&amp;quot; in the new Beta 2 solution. I updated the reference to the new location and all was well except for a few Beta 2 breaking changes that were easy to fix.&lt;/p&gt;
&lt;p&gt;Note: I had two references to mscorlib in the previous location, inside two projects in my solution. One was a Silverlight Library, and the second was a Silverlight App that referenced the library. The error stack had the error inside the referenced library. &lt;/p&gt;&lt;img src="http://silverlightaddict.com/aggbug.aspx?PostID=26" width="1" height="1"&gt;</description><category domain="http://silverlightaddict.com/blogs/learningsilverlight/archive/tags/Silverlight+2+Beta+2+Error+destabilize+runtime/default.aspx">Silverlight 2 Beta 2 Error destabilize runtime</category></item><item><title>The requested operation cannot be performed on a file with a user-mapped section open. Silverlight</title><link>http://silverlightaddict.com/blogs/learningsilverlight/archive/2008/06/06/the-requested-operation-cannot-be-performed-on-a-file-with-a-user-mapped-section-open-silverlight.aspx</link><pubDate>Fri, 06 Jun 2008 17:26:00 GMT</pubDate><guid isPermaLink="false">53a88fc7-733d-4779-adfd-6c7ae0bc278c:25</guid><dc:creator>RogerGuess</dc:creator><slash:comments>105</slash:comments><description>&lt;p&gt;I am getting this&amp;nbsp;error when publishing&amp;nbsp;the&amp;nbsp;a asp.net website that gets added to he solution for&amp;nbsp;Silverlight applications in Visual Studio 2008.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The requested operation cannot be performed on a file with a user-mapped section open.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I do not know the root cause yet, but I am currently getting around it by clearing out all the files in the website&amp;#39;s ClientBin folder before publishing.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://silverlightaddict.com/aggbug.aspx?PostID=25" width="1" height="1"&gt;</description><category domain="http://silverlightaddict.com/blogs/learningsilverlight/archive/tags/user-mapped+section+open+silverlight+ClientBin/default.aspx">user-mapped section open silverlight ClientBin</category></item><item><title>SilverLander: A Silverlight 2 Game</title><link>http://silverlightaddict.com/blogs/silverlightgames/archive/2008/06/05/silverlander-a-silverlight-2-game.aspx</link><pubDate>Thu, 05 Jun 2008 22:59:00 GMT</pubDate><guid isPermaLink="false">53a88fc7-733d-4779-adfd-6c7ae0bc278c:21</guid><dc:creator>RogerGuess</dc:creator><slash:comments>8</slash:comments><description>&lt;p&gt;This was my first Silverlight game. I have&amp;nbsp;now updated it&amp;nbsp;for &lt;strong&gt;Silverlight 2 Beta 1 &lt;/strong&gt;( &lt;a class="" href="http://silverlightaddict.com/blogs/silverlightgames/archive/2008/06/08/SilverLander-A-Silverlight-2-Game-for-Beta-2.aspx"&gt;here is the &lt;strong&gt;Beta 2&lt;/strong&gt; version&lt;/a&gt; ).&amp;nbsp;The&amp;nbsp;game counts down and begins the lander on approach from the top left of the screen. Your job is to bring the lander to&amp;nbsp;a safe slow (and upright) landing on the surface &lt;strong&gt;inside the highlighted landing zone&lt;/strong&gt;. Each level increases difficulty by increasing gravity, increasing initial velocity, decreasing&amp;nbsp;available fuel, and&amp;nbsp;a decreasing landing zone radius. Use the &lt;strong&gt;arrow keys to rotate and thrust&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;iframe style="WIDTH:600px;HEIGHT:500px;" marginwidth="0" marginheight="0" src="http://silverlightaddict.com/misc/SilverLanderWeb/SilverLanderAppTestPage.html" frameborder="0" width="600" height="500" mce_src="http://silverlightaddict.com/misc/silverlander/testpage.html"&gt;&lt;/iframe&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;started with the building blocks for the gameloop and use of sprites and vectors from&amp;nbsp;Bill Reiss demos on&amp;nbsp;&lt;a class="" href="http://silverlightrocks.com/cs/blogs/silverlight_games_101/archive/2007/08/28/basic-collision-detection.aspx"&gt;SilverlightRocks&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My next steps are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strike&gt;Gravity is currently straight down, so I need to update that to be the center of the moon/object. The game loop adds a vector straight down instead of directly toward the center of the moon.&lt;/strike&gt; (Done, thx to Bill Reiss who has way more physics experience than me)&lt;/li&gt;
&lt;li&gt;Make&amp;nbsp;magnitude of gravity relative to the proximity to the moon, rather than a constant.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;There is a random&amp;nbsp;math error during the game loop: you may experience it when the ship just jumps completely out of the screen. but appears to continue moving.&lt;/li&gt;
&lt;li&gt;Create a formula for&amp;nbsp;scoring, with bonuses for time taken, fuel remaining, difficulty, and slower velocity at landing.&lt;/li&gt;
&lt;li&gt;Capture scores on a leader board via a web service.&lt;/li&gt;
&lt;li&gt;Create a &amp;#39;instrument panel&amp;#39; for indicators; speed, descent rate, remaining fuel, attitude, range to surface, etc.&lt;/li&gt;
&lt;li&gt;Improve location of messages on the screen.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://silverlightaddict.com/aggbug.aspx?PostID=21" width="1" height="1"&gt;</description><category domain="http://silverlightaddict.com/blogs/silverlightgames/archive/tags/Silverlight+games+SilverLander/default.aspx">Silverlight games SilverLander</category></item><item><title>Runtime Alternative to XamlReader.Load in Silverlight</title><link>http://silverlightaddict.com/blogs/learningsilverlight/archive/2008/06/01/runtime-alternative-to-xamlreader-load-in-silverlight.aspx</link><pubDate>Sun, 01 Jun 2008 18:01:00 GMT</pubDate><guid isPermaLink="false">53a88fc7-733d-4779-adfd-6c7ae0bc278c:20</guid><dc:creator>RogerGuess</dc:creator><slash:comments>5</slash:comments><description>&lt;p&gt;&lt;strong&gt;Update: This was a Silverlight&amp;nbsp;Beta 1 example. Beta 2 now has updates to make this even easier. &lt;a class="" href="http://silverlightaddict.com/blogs/learningsilverlight/archive/2008/06/07/runtime-alternative-to-xamlreader-load-in-silverlight-2-beta-2.aspx"&gt;Here is an example&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;I can see XamlReader.Load has it&amp;#39;s uses for adding FrameworkElements at runtime, but I really hate the way the code looks. Additionally, I don&amp;#39;t like the idea of managing a bunch of String.Format statements for my XAML. Things get even more complex when you want to take advantage of events. Luckily, there is an alternative.&lt;/p&gt;
&lt;p&gt;Here is an example of adding elements (ellipse, storyboard, doubleanimation)&amp;nbsp;at runtime, and attaching events so that they are removed when the storyboard ends:&lt;/p&gt;
&lt;p&gt;&lt;iframe style="WIDTH:300px;HEIGHT:300px;" marginwidth="0" marginheight="0" src="http://silverlightaddict.com/misc/usercontrols_web/usercontrolstestpage.html" frameborder="1" width="300" height="300" mce_src="http://silverlightaddict.com/misc/spacerocks/testpage.html"&gt;&lt;/iframe&gt;&lt;/p&gt;&lt;pre class="csharpcode"&gt; &lt;span class="kwrd"&gt;public&lt;/span&gt; Page()
        {
            InitializeComponent();
            &lt;span class="kwrd"&gt;this&lt;/span&gt;.MouseLeftButtonUp += &lt;span class="kwrd"&gt;new&lt;/span&gt; MouseButtonEventHandler(Page_MouseLeftButtonUp);
            updateElementCount();
        }

        &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;int&lt;/span&gt; spriteCount { get; set; }

        &lt;span class="kwrd"&gt;void&lt;/span&gt; Page_MouseLeftButtonUp(&lt;span class="kwrd"&gt;object&lt;/span&gt; sender, MouseButtonEventArgs e)
        {
            Point point = e.GetPosition(&lt;span class="kwrd"&gt;this&lt;/span&gt;);
            Ellipse ellipse = &lt;span class="kwrd"&gt;new&lt;/span&gt; Ellipse();
            SolidColorBrush mySolidColorBrush = &lt;span class="kwrd"&gt;new&lt;/span&gt; SolidColorBrush();
            DoubleAnimation animation = &lt;span class="kwrd"&gt;new&lt;/span&gt; DoubleAnimation();
            Storyboard storyBoard = &lt;span class="kwrd"&gt;new&lt;/span&gt; Storyboard();
            
            spriteCount += 1;
            &lt;span class="kwrd"&gt;string&lt;/span&gt; spriteName =&lt;span class="kwrd"&gt;string&lt;/span&gt;.Format(&lt;span class="str"&gt;&amp;quot;SpriteEllipse{0}&amp;quot;&lt;/span&gt;, spriteCount);
            ellipse.SetValue(Ellipse.NameProperty, spriteName);
            mySolidColorBrush.Color = Color.FromArgb(255, 0, 0, 0);
            ellipse.Fill = mySolidColorBrush;
            ellipse.Width = 30;
            ellipse.Height = 30;
            ellipse.SetValue(Canvas.TopProperty, (point.Y - ellipse.Width/2));
            ellipse.SetValue(Canvas.LeftProperty, (point.X - ellipse.Width/2));
            LayoutRoot.Children.Add(ellipse);
            
            animation.Duration = &lt;span class="kwrd"&gt;new&lt;/span&gt; TimeSpan(0,0,3);
            animation.From = 1;
            animation.To = 0;
            animation.SetValue(Storyboard.TargetNameProperty, spriteName);
            animation.SetValue(Storyboard.TargetPropertyProperty, &lt;span class="str"&gt;&amp;quot;Opacity&amp;quot;&lt;/span&gt;);

            storyBoard.Completed+=&lt;span class="kwrd"&gt;new&lt;/span&gt; EventHandler(storyBoard_Completed);
            storyBoard.SetValue(Storyboard.TargetNameProperty, spriteName);
            storyBoard.Children.Add(animation);
            LayoutRoot.Resources.Add(storyBoard);
            storyBoard.Begin();

            updateElementCount();
        }

        &lt;span class="kwrd"&gt;void&lt;/span&gt; storyBoard_Completed(&lt;span class="kwrd"&gt;object&lt;/span&gt; sender, EventArgs e)
        {
            Storyboard storyBoard = (Storyboard)sender;
            &lt;span class="kwrd"&gt;string&lt;/span&gt; spriteName = storyBoard.GetValue(Storyboard.TargetNameProperty).ToString();
            FrameworkElement sprite = (FrameworkElement)LayoutRoot.FindName(spriteName);
            LayoutRoot.Children.Remove(sprite);
            LayoutRoot.Resources.Remove(storyBoard);
            updateElementCount();
        }

        &lt;span class="kwrd"&gt;void&lt;/span&gt; updateElementCount()
        {
            &lt;span class="kwrd"&gt;this&lt;/span&gt;.txtChildren.Text = &lt;span class="kwrd"&gt;string&lt;/span&gt;.Format(&lt;span class="str"&gt;&amp;quot;Children.Count = {0}&amp;quot;&lt;/span&gt;, LayoutRoot.Children.Count());
            &lt;span class="kwrd"&gt;this&lt;/span&gt;.txtResources.Text = &lt;span class="kwrd"&gt;string&lt;/span&gt;.Format(&lt;span class="str"&gt;&amp;quot;Resources.Count = {0}&amp;quot;&lt;/span&gt;,  LayoutRoot.Resources.Count);
        }&lt;/pre&gt;&lt;img src="http://silverlightaddict.com/aggbug.aspx?PostID=20" width="1" height="1"&gt;</description><category domain="http://silverlightaddict.com/blogs/learningsilverlight/archive/tags/Silverlight+XamlReader+Runtime/default.aspx">Silverlight XamlReader Runtime</category></item><item><title>SilverTwitter: A Service Enabled Silverlight App</title><link>http://silverlightaddict.com/blogs/learningsilverlight/archive/2008/04/27/silvertwitter-a-service-enabled-silverlight-app.aspx</link><pubDate>Sun, 27 Apr 2008 18:01:00 GMT</pubDate><guid isPermaLink="false">53a88fc7-733d-4779-adfd-6c7ae0bc278c:17</guid><dc:creator>RogerGuess</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;&lt;img height="327" alt="SilverTwitter" src="http://silverlightaddict.com/misc/silvertwitter.jpg" width="480" border="0" /&gt;&amp;nbsp;&lt;/p&gt;&lt;img height="1" alt="SilverTwitter" src="http://silverlightaddict.com/controlpanel/blogs/silverlightaddict.com/misc/silvertwitter.jpg" width="1" border="0" /&gt; 
&lt;p&gt;This Silverlight application is a simple example of how to consume data from a web service. &lt;/p&gt;
&lt;p&gt;This sample was built with: 
&lt;ul&gt;
&lt;li&gt;Visual Studio 2008 &lt;/li&gt;
&lt;li&gt;&lt;a class="" title="Silverlight Tools Beta 1" href="http://www.microsoft.com/downloads/details.aspx?FamilyId=E0BAE58E-9C0B-4090-A1DB-F134D9F095FD&amp;amp;displaylang=en"&gt;Microsoft Silverlight Tools Beta 1 for Visual Studio 2008&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a class="" href="http://silverlightaddict.com/files/folders/sample_files/entry16.aspx"&gt;Download the&amp;nbsp;source&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Note: There are three projects in this solution, the Silverlight application, the website to host the application, and the web service to provide data. The web service was created separately to demonstrate a &lt;a class="" href="http://www.timheuer.com/blog/archive/2008/04/06/silverlight-cross-domain-policy-file-snippet-intellisense.aspx"&gt;cross domain&lt;/a&gt; service call. For grins, remove crossdomain.xml from the web service. &lt;/p&gt;&lt;img src="http://silverlightaddict.com/aggbug.aspx?PostID=17" width="1" height="1"&gt;</description><category domain="http://silverlightaddict.com/blogs/learningsilverlight/archive/tags/silverlight/default.aspx">silverlight</category><category domain="http://silverlightaddict.com/blogs/learningsilverlight/archive/tags/crossdomain/default.aspx">crossdomain</category><category domain="http://silverlightaddict.com/blogs/learningsilverlight/archive/tags/silverlighttwitter/default.aspx">silverlighttwitter</category><category domain="http://silverlightaddict.com/blogs/learningsilverlight/archive/tags/twitter/default.aspx">twitter</category></item><item><title>Silverlight 2 - More Goodness from ScottGu</title><link>http://silverlightaddict.com/blogs/learningsilverlight/archive/2008/02/23/silverlight-2-more-goodness-from-scottgu.aspx</link><pubDate>Sat, 23 Feb 2008 18:27:00 GMT</pubDate><guid isPermaLink="false">53a88fc7-733d-4779-adfd-6c7ae0bc278c:15</guid><dc:creator>RogerGuess</dc:creator><slash:comments>2</slash:comments><description>&lt;p&gt;&lt;a class="" title="Scott Guthrie" href="http://weblogs.asp.net/scottgu/default.aspx"&gt;Scott&lt;/a&gt; has&amp;nbsp;a post &amp;#39;&lt;a class="" title="First Look at Silverligh 2" href="http://weblogs.asp.net/scottgu/archive/2008/02/22/first-look-at-silverlight-2.aspx"&gt;First Look at Silverlight 2&lt;/a&gt;&amp;#39; that reveals some goodies coming up in the Beta1 release. He has also listed a number of great Silverlight&amp;nbsp;tutorials:&lt;/p&gt;
&lt;li&gt;&lt;a href="http://weblogs.asp.net/scottgu/pages/silverlight-tutorial-part-1-creating-quot-hello-world-quot-with-silverlight-2-and-vs-2008.aspx" target="_blank"&gt;Part 1: Creating &amp;quot;Hello World&amp;quot; with Silverlight 2 and VS 2008&lt;/a&gt; 
&lt;li&gt;&lt;a href="http://weblogs.asp.net/scottgu/pages/silverlight-tutorial-part-2-using-layout-management.aspx" target="_blank"&gt;Part 2: Using Layout Management&lt;/a&gt; 
&lt;li&gt;&lt;a href="http://weblogs.asp.net/scottgu/pages/silverlight-tutorial-part-3-using-networking-to-retrieve-data-and-populate-a-datagrid.aspx" target="_blank"&gt;Part 3: Using Networking to Retrieve Data and Populate a DataGrid&lt;/a&gt; 
&lt;li&gt;&lt;a href="http://weblogs.asp.net/scottgu/pages/silverlight-tutorial-part-4-using-style-elements-to-better-encapsulate-look-and-feel.aspx" target="_blank"&gt;Part 4: Using Style Elements to Better Encapsulate Look and Feel&lt;/a&gt; 
&lt;li&gt;&lt;a href="http://weblogs.asp.net/scottgu/pages/silverlight-tutorial-part-5-using-the-listbox-and-databinding-to-display-list-data.aspx" target="_blank"&gt;Part 5: Using the ListBox and DataBinding to Display List Data&lt;/a&gt; 
&lt;li&gt;&lt;a href="http://weblogs.asp.net/scottgu/pages/silverlight-tutorial-part-6-using-user-controls-to-implement-master-detail-scenarios.aspx" target="_blank"&gt;Part 6: Using User Controls to Implement Master/Details Scenarios&lt;/a&gt; 
&lt;li&gt;&lt;a href="http://weblogs.asp.net/scottgu/pages/silverlight-tutorial-part-7-using-control-templates-to-customize-a-control-s-look-and-feel.aspx" target="_blank"&gt;Part 7: Using Templates to Customize Control Look and Feel&lt;/a&gt; 
&lt;li&gt;&lt;a href="http://weblogs.asp.net/scottgu/pages/silverlight-tutorial-part-8-creating-a-digg-desktop-application-using-wpf.aspx" target="_blank"&gt;Part 8: Creating a Digg Desktop Version of our Application using WPF&lt;/a&gt; &lt;/li&gt;
&lt;p&gt;&amp;nbsp;I found some more &lt;a class="" title="Silverlight 2 First Look" href="http://adamkinney.com/blog/310/default.aspx"&gt;Silverlight&amp;nbsp;insider goodness&lt;/a&gt;&amp;nbsp;from &lt;a class="" title="Adam Kinney" href="http://adamkinney.com/"&gt;Adam Kinney&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://silverlightaddict.com/aggbug.aspx?PostID=15" width="1" height="1"&gt;</description><category domain="http://silverlightaddict.com/blogs/learningsilverlight/archive/tags/Silverlight+2/default.aspx">Silverlight 2</category></item><item><title>SilverLander: A Silverlight Game</title><link>http://silverlightaddict.com/blogs/silverlightgames/archive/2007/10/04/silverlander.aspx</link><pubDate>Thu, 04 Oct 2007 22:22:00 GMT</pubDate><guid isPermaLink="false">53a88fc7-733d-4779-adfd-6c7ae0bc278c:10</guid><dc:creator>RogerGuess</dc:creator><slash:comments>51</slash:comments><description>&lt;p&gt;&lt;strong&gt;
&lt;h2&gt;I updated this&amp;nbsp;to Silverlight 2 Beta 2&amp;nbsp;&lt;a class="" href="http://silverlightaddict.com/blogs/silverlightgames/archive/2008/06/08/SilverLander-A-Silverlight-2-Game-for-Beta-2.aspx"&gt;HERE&lt;/a&gt;&lt;/h2&gt;&lt;/strong&gt;
&lt;p&gt;Here is my first Silverlight game.&amp;nbsp;The&amp;nbsp;game counts down and begins the lander on approach from the top left of the screen. Your job is to bring the lander to&amp;nbsp;a safe slow (and upright) landing on the surface inside the highlighted landing zone. Each level increases difficulty by increasing gravity, increasing initial velocity, decreasing&amp;nbsp;available fuel, and&amp;nbsp;a decreasing landing zone radius.&lt;/p&gt;
&lt;p&gt;&lt;iframe style="WIDTH:600px;HEIGHT:500px;" marginwidth="0" marginheight="0" src="http://silverlightaddict.com/misc/SilverLanderWeb/SilverLanderAppTestPage.html" frameborder="0" width="600" height="500" mce_src="http://silverlightaddict.com/misc/silverlander/testpage.html"&gt;&lt;/iframe&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;started with the building blocks for the gameloop and use of sprites and vectors from&amp;nbsp;Bill Reiss demos on&amp;nbsp;&lt;a class="" href="http://silverlightrocks.com/cs/blogs/silverlight_games_101/archive/2007/08/28/basic-collision-detection.aspx"&gt;SilverlightRocks&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My next steps are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Gravity is currently straight down, so I need to update that to be the center of the moon/object. The game loop adds a vector straight down instead of directly toward the center of the moon.&lt;/li&gt;
&lt;li&gt;There is a random&amp;nbsp;math error durring the game loop: you may experience it when the ship just jumps completely out of the screen. but appears to continue moving.&lt;/li&gt;
&lt;li&gt;Create a formula for&amp;nbsp;scoring, with bonuses for time taken, fuel remaining, difficulty, and slower velocity at landing.&lt;/li&gt;
&lt;li&gt;Capture scores on a leader board via a web service.&lt;/li&gt;
&lt;li&gt;Create a &amp;#39;instrument pannel&amp;#39; for indicators; speed, descent rate, remaining fuel, attitude, range to surface, etc.&lt;/li&gt;
&lt;li&gt;Improve location of messages on the screen.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Updated this from 1.1 to Silverlight 2, see here &amp;gt;&amp;gt; &lt;a href="http://silverlightaddict.com/blogs/silverlightgames/archive/2008/06/05/silverlander-a-silverlight-2-game.aspx"&gt;http://silverlightaddict.com/blogs/silverlightgames/archive/2008/06/05/silverlander-a-silverlight-2-game.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://silverlightaddict.com/aggbug.aspx?PostID=10" width="1" height="1"&gt;</description><category domain="http://silverlightaddict.com/blogs/silverlightgames/archive/tags/silverlight+games/default.aspx">silverlight games</category><category domain="http://silverlightaddict.com/blogs/silverlightgames/archive/tags/silverlander/default.aspx">silverlander</category></item><item><title>Silverlight in CommunityServer</title><link>http://silverlightaddict.com/blogs/learningsilverlight/archive/2007/09/16/silverlight-in-communityserver.aspx</link><pubDate>Sun, 16 Sep 2007 21:53:00 GMT</pubDate><guid isPermaLink="false">53a88fc7-733d-4779-adfd-6c7ae0bc278c:8</guid><dc:creator>RogerGuess</dc:creator><slash:comments>9</slash:comments><description>&lt;p&gt;I ran into a few issues getting a silverlight app running inside CommunityServer ( version is 2007.1 ). To keep things clean, I am publishing all required files for the silverlight app in it&amp;#39;s own folder off the root of the site. I then want to embed that app in a single post. Simon Guest posted a great tutoral for &lt;a class="" href="http://simonguest.com/blogs/smguest/archive/2007/05/23/Embedding-Silverlight-Videos-in-Community-Server.aspx"&gt;Silverlight Videos&lt;/a&gt;, but I was still having issues loading the app. After using his iframe example, I got this error:&lt;/p&gt;
&lt;p&gt;ag_e_runtime_managed_assembly_download&lt;/p&gt;
&lt;p&gt;Searching on that led me to this &lt;a class="" href="http://silverlight.net/forums/p/1865/5934.aspx"&gt;post&lt;/a&gt;. The fix turned out to be easy. I updated the website to allow only scripts instead of &amp;#39;scripts and executables&amp;#39; ( website properties &amp;gt; Home Directory tab, Execute Permissions setting ).&lt;/p&gt;
&lt;p&gt;Now I have it working for this post: &lt;a class="" href="http://silverlightaddict.com/blogs/silverlightgames/archive/2007/09/14/spacerocks-quot-with-friggin-laser-beams-quot.aspx"&gt;SpaceRocks &amp;quot;With Friggin Laser Beams&amp;quot;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://silverlightaddict.com/aggbug.aspx?PostID=8" width="1" height="1"&gt;</description><category domain="http://silverlightaddict.com/blogs/learningsilverlight/archive/tags/iframe/default.aspx">iframe</category><category domain="http://silverlightaddict.com/blogs/learningsilverlight/archive/tags/communityserver/default.aspx">communityserver</category><category domain="http://silverlightaddict.com/blogs/learningsilverlight/archive/tags/silverlight/default.aspx">silverlight</category></item><item><title>SpaceRocks "With Friggin Laser Beams"</title><link>http://silverlightaddict.com/blogs/silverlightgames/archive/2007/09/14/spacerocks-quot-with-friggin-laser-beams-quot.aspx</link><pubDate>Fri, 14 Sep 2007 21:01:00 GMT</pubDate><guid isPermaLink="false">53a88fc7-733d-4779-adfd-6c7ae0bc278c:7</guid><dc:creator>RogerGuess</dc:creator><slash:comments>4</slash:comments><description>&lt;p&gt;I updated Bill Reiss demo on SpaceRocks to include firing at the asteroids. If you have not checked out his demos&amp;#39;s yet, be sure to visit &lt;a class="" href="http://silverlightrocks.com/cs/blogs/silverlight_games_101/archive/2007/08/28/basic-collision-detection.aspx"&gt;SilverlightRocks&lt;/a&gt;. He got it all started, and&amp;nbsp;I just added one extra step ( Keep em&amp;#39; coming Bill! ). I added the XAML for a simple laser bolt, and am treating it just as the other sprites (ship/asteroids) with additional checks for collision. The &lt;b&gt;keys A,D,and W control the ship&lt;/b&gt;. Use the &lt;b&gt;space bar to fire&lt;/b&gt;.&lt;/p&gt;
&lt;p&gt;&lt;iframe style="WIDTH:640px;HEIGHT:480px;" marginwidth="0" marginheight="0" src="http://silverlightaddict.com/misc/spacerocks/testpage.html" frameborder="0" width="640" height="480" mce_src="http://silverlightaddict.com/misc/spacerocks/testpage.html"&gt;&lt;/iframe&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Note: This demo requires &lt;a class="" href="http://msdn2.microsoft.com/en-us/silverlight/bb419317.aspx"&gt;Silverlight 1.1&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://silverlightaddict.com/aggbug.aspx?PostID=7" width="1" height="1"&gt;</description><category domain="http://silverlightaddict.com/blogs/silverlightgames/archive/tags/silverlight+games/default.aspx">silverlight games</category><category domain="http://silverlightaddict.com/blogs/silverlightgames/archive/tags/SpaceRocks/default.aspx">SpaceRocks</category></item><item><title>Silverlight Games 101 </title><link>http://silverlightaddict.com/blogs/silverlightgames/archive/2007/09/10/silverlight-games-101.aspx</link><pubDate>Mon, 10 Sep 2007 18:21:00 GMT</pubDate><guid isPermaLink="false">53a88fc7-733d-4779-adfd-6c7ae0bc278c:5</guid><dc:creator>RogerGuess</dc:creator><slash:comments>31</slash:comments><description>&lt;p&gt;Bill Reiss has posted some excellent demos for Silverlight 1.1 on &lt;a class="" href="http://silverlightrocks.com/community/blogs/silverlight_games_101/default.aspx"&gt;Silverlight Games 101&lt;/a&gt;. He includes samples, instructions, and even&amp;nbsp;full Visual Studio 2008&amp;nbsp;solutions zipped up and ready use. He includes some very usefull utilities for dealing with vectors, sprites, and a game loop. Be sure to take a look at his &lt;a class="" href="http://silverlightrocks.com/community/blogs/silverlight_games_101/archive/2007/05/20/keyboard-input.aspx"&gt;SLG101Utilities&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img height="338" alt="silverlight spacerocks game" src="http://www.silverlightaddict.com/blogimg/spacerocks_exhaust_thumb.45.jpg" width="450" align="middle" border="0" /&gt;&lt;/p&gt;&lt;img src="http://silverlightaddict.com/aggbug.aspx?PostID=5" width="1" height="1"&gt;</description><category domain="http://silverlightaddict.com/blogs/silverlightgames/archive/tags/silverlight+games/default.aspx">silverlight games</category></item></channel></rss>