Archive

Archive for the ‘Silverlight’ Category

Silverlight MINI Clubman Physics

August 22nd, 2009

Andy Beaulieu did some great things with Silverlight 3, the Farseer Physics Engine and behaviors.

I have turned his Truck w/Camera demo into the MINI Clubman Physics demo so that everyone is now able to drive and stunt with my beautiful MINI Clubman!

This demo contains NO CODE (except for Andy Beaulieu’s DLL’s) and is fully designed in Expression Blend 3.

Click the image to play!

Or download the Expression Blend 3 Solution and customise it yourself.

design, Silverlight

Silverlight Stencils

August 10th, 2009

I am a big fan of Banksy and of street art in general AND I am a big fan of Silverlight. And if you mix the two you will get: Silverlight Stencils!

With Silverlight Stencils you can create your own stencil art walls and save them to JPG.

Here are some examples I have created:

Rat activist

Under attack

Under attack

Have fun with Silverlight Stencils and ofcourse I am very curious about your creations! Please leave your comments…

design, Silverlight

I Love Sticker – Silverlight 2.0 source code

May 19th, 2009

Did you like my I Love Stickers post?
I was inspired by a 20 year old sticker that I have found when we were moving to our new house. That sticker is ofcourse based on the famous I love NY logo that was designed in 1977 by Milton Glaser.

For my little Silverlight 2.0 project I have used these resources and tools:

  1. The original I Love NY logo
  2. WhatTheFont! to find out the exact font used in the original logo. Great online tool!
  3. American_Typewriter_Bold_BT.ttf
  4. Paint.NET to crop the heart of the logo
  5. The amazing Open Source vector graphics editor Inkscape to trace the heart and save it as XAML(!)
  6. Expression Blend 2
  7. Visual Studio 2008

You can download the source code here: ILoveSticker.zip

And you can view a live example here: I Love Silverlight

.net, design, Silverlight

I Love Stickers

May 17th, 2009


Get Microsoft Silverlight

Don’t you love this retro sticker design? I have one on my bag and I got it from my mum in the 70′s. And now I have made it in Silverlight 2!

You can personalize the text by clicking on it!

Or you can print a sheet of your own with your own text: I Love My Girlfriend or I Love My Car or I Love My Hobby

You can also put it on your own website and change the initparams:

<object data="data:application/x-silverlight," type="application/x-silverlight-2" width="400px" height="400px">
   <param name="initparams" value="Name=Stickers,Scale=2" />
   <param name="source" value="http://www.johnbruin.net/silverlight/ILoveSticker/ILoveSticker.xap" />
   <param name="onerror" value="onSilverlightError" />
   <param name="minRuntimeVersion" value="2.0.31005.0" />
   <param name="autoUpgrade" value="true" />
   <a href="http://go.microsoft.com/fwlink/?LinkID=124807" style="text-decoration: none;"><img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style: none" /></a>
</object>


Have fun!

.net, design, Silverlight

Silvertyper extended version

February 15th, 2009

In this post I have told you about my entry for the 10K Smart Coding Challenge. My app is doing great in this challenge and there is only a few more hours left to vote. So please vote for me!

Because of the 10K limitation there were only a few different words in my entry and the hi-score was not saved. So here is the extended version with lots of words and hi-score saving! Can you beat my hi-score? Please drop a comment…

.net, commodore 64, Silverlight

Silverlight fastfood

January 20th, 2009

I have always wanted to program this in Flash but I never took the time to learn it. But now there is Silverlight!

.net, Silverlight

My entry for the 10K Smart Coding Challenge

January 6th, 2009

During the christmas-holidays I have coded “Silvertyper” a small Silverlight remake of the old dutch Commodore 64 game “Tempo Typen” in under 10Kb of source code for the 10K Smart Coding Challenge. Please vote for me if you like it!

This challenge reminds me very much of the old days when the size of your code really mattered. Note that when you start an empty Silverlight project in Visual Studio 2008 the size is already 6Kb!

Here are some tips to make your code a lot smaller:

  • Put all your code in one file to avoid extra “using” statements
  • Get rid of all comments and “private” and “this” keywords because you don’t need them this time!
  • Use refactoring to rename your variables and methods to one letter names
  • For this challenge you don’t need to put new lines, tabs and spaces in your C# and XAML code
  • Use foreach when iterating through collections
  • Clean up the generated code from Visual Studio

Good luck!

.net, commodore 64, Silverlight