Building on the sample I created on Circular Motion, in this example I add a concept of collision. In physics, deflection is the event that occurs where an object collides and bounces off of another surface. In my example, two spheres collide at a given X/Y causing each ball to reverse direction and maintains its [...]
Silverlight Circular Collision Animation
May 14, 2008
Silverlight Circular Motion Animation
May 12, 2008
In this sample I demonstrate how to take a series of UserControls (Simple ellipses) and rotate each in a counter-clockwise circular motion. The first step in the process is to define a user control and expose both the TranslateTransform and RotateTransform from the TransformGroup object. This allows us to rotate and move each user control [...]
Silverlight 3D flip animation
April 25, 2008
Up until now I have not had an opportunity to create any Silverlight procedural animations that were more complicated then positioning an object with some simple easing. I thought it would be fun to attempt to duplicate one of the transitions used on the iPhone. While making a phone call, if you choose to display [...]
Silverlight how-to: Video Player
April 10, 2008
Please note: This sample was made into a Code Plex project and is maintained there. Please download all source from http://www.codeplex.com/sl2videoplayer/ In my ongoing quest to work with Silverlight 2 I embarked on building my own video player using the standard MediaElement and a few of the new System Controls (ToggleButon, Slider and Button). My [...]
Silverlight how to: RSS feed stored as JSON in Isolated Storage
March 28, 2008
This week I was reading two of my favorite Microsoft Evangelist blogs; Kirk Allen Evans’ and Tim Heuer and was inspired to build upon two of their posts. Kirk wrote a great entry on Creating a JSON Service with WebGet and WCF 3.5 and Tim on Calling web services with Silverlight 2. I thought it [...]
Silverlight how to: On-demand assembly deployment
March 14, 2008
One of the cool new features of Silverlight 2 is the concept of on-demand deployment of assemblies. In most interactive development there is a desire to minimize the amount of data a user has to download to get your RIA up and running. The application package (XAP) size can grow quite quickly if one tries [...]
Silverlight Rendering Defect
March 13, 2008
During the process of writing our Silverlight 2 game “Tunnel Trouble” we stumbled upon a fairly significant rendering defect in the Beta 1 version of the Silverlight 2 plugin. This defect appears to affect any UIElement (Rectangles, Paths, Images) that has been transformed on its X or Y coordinate. If the object breaks the bounds [...]
Silverlight how to: Deep Zoom
March 11, 2008
At Mix08 one of the components of Silverlight 2 I was most intrigued by was the multi-scale image technology called “Deep Zoom” (formerly seadragon). The demos we saw were quite compelling. Immediately I thought of areas where our clients could improve their users interactive experiences through this new technology. Below you will find my first [...]
Silverlight how to: Procedural Animation
March 11, 2008
Whenever possible developers should encourage designers to maintain all of their Silverlight storyboards within XAML. This allows the designers the optimum environment to use a tool like Blend to tweak the animation timing, easing and any relevant Key Splines. That said, there are situations where a developer may create a UserControl that requires full control [...]
C# 2.0 Language Features for Late Comers
September 14, 2007
C# 3.x is exciting and deserving of the spotlight, but thousands of coders are in jobs still maintaining 1.x projects and just now getting up to speed on 2.0. Some haven’t had a chance to get hip to generics and anonymous delegates.
Posted in

