Silverlight physics engine ported to Windows Phone 7
Mar 29
ClojureCLR .Net, Silverlight No Comments
A few years ago I ported a 2D physics engine to Silverlight to see what the performance was like running in the browser. I called the engine SilverWeight and it worked really well.
With the release of the Windows Phone 7 Developer Tools CTP, I thought I’d have a go at getting SilverWeight running on Windows Phone 7.
It turned out to be a dead simple port with no fundamental changes required.
Below is a video of it in action, I have also posted the code on github.
It looks choppy in the video -- the update loop timer code was always dodgy and needs some tweaking. Running in a CTP phone emulator probably doesn’t help either.
Folks interested in doing graphics/physics/games on WinPhone7 should probably go down the XNA path, but it is nice to know that Silverlight software ports so easily.
YouTube link if embedded video below does not work