OpenLightGroup Blog

rss

Blogs from OpenLightGroup.net


Crossing Silverlight Objects

Live Example: http://www.adefwebserver.com/silverlight/SilverlightOrb/SilverlightOrbv1/ This is actually a failed experiment. The theory was that XAMl contains all the visual elements you need to “cross” two Silverlight objects to create child objects that resemble the parents. However, a failed experiment is no reason to let code go to waste! Along the way I learned some things: How to display XAML elements in a drop down How to zoom in on elements using a Viewbox and a ScrollViewer

This Seeker Behaves

Live example: http://www.adefwebserver.com/Richard/TheSeekerBehaviorv1Site/ Ok, Silverlight is starting to freak me out a little bit. I thought it would take a couple of days to figure out how to translate my Seeker behaviors into Silverlight behaviors. After going down several paths that had too many details about things I wasn’t interested in right now, I found Falling Snow in Silverlight on Kirupa.com and the scales were lifted from my eyes in about 15 minutes. I was afraid behavior would be restricted to some short-term action-reaction thingie but not at all. After reading Kirupa’s description of a behavior’s parasitic behavior and seeing the FallingSnowBehavior literally take over a Canvas control I became hopeful  I could write a Hunt behavior that could take over my Seeker control, or at least its reaction to a SightingEvent. I modified Seeker Version 1 to try this out. First I modified the Seeker so the reaction to a SightingEvent is a call to the React method on an iSighting interface...

The Seeker – Version 3: The Rise of ooBer

See it live: http://www.adefwebserver.com/Richard/TheSeekerSitev3/ After ooNaLife, I intended to just post my latest version of The Seeker so I could move on to focusing on Silverlight issues. But I had to indulge myself by using interfaces to supply the Seekers with “brains”. But that’s cool, I think it got me more in a good place to look at the MVVM model (judging from the little I know now). Let me explain the on screen changes to what I now call ooNa and then I’ll get on to the code. Seekers are now red ellipses. When a Seeker ‘catches’ a Prey, the Prey disappears from the screen...

ooNaLife – Game of Life Implementation

See the live example here: http://www.adefwebserver.com/Richard/ooNaLifeSite/ After Seeker 2, I wanted to add a control panel, but I wasn’t clear how to tack one on. So far I’ve just slapped everything up onto the main UI, LayoutRoot, so I decided to write a new app and divide everything up from the start...

Debug your Silverlight 4 Out of Browser application using F5

Victor Gaudioso just shot me an email asking me how to debug a Silverlight 4 out-of-browser application where you can just hit F5. I know he is working on his latest Silverlight 4 book so he probably needs to get this in the book tonight. To illustrate ...