Jonas Follesø profile picture

Jonas Follesø

Software Developer

Webcam in Silverlight 2 - Sliding Puzzle Game

August 16th 2008

Back in may I posted about a way to get basic webcam support in Silverlight by integrating Flash. The post got some good feedback, and lately I’ve gotten a few requests to update the application for Silverlight 2 Beta 2. I have now done that, as well as adding a new sample application using the webcam support for something (somewhat) useful.

The new example application is called “Webcam Sliding Puzzle” and extends a picture puzzle game written by Cigdem Patlak and adds support for capturing pictures from your local webcam. The original game supported reading images from your local computer using the open file dialog in Silverlight, so adding support for webcam images was fairly straight forward. Click the screenshot to try out the game.

Webcam Sliding Puzzle

If you want to learn how to add webcam support in Silverlight I recommend checking out my older post “Webcam in Silverlight 2 – MacGyver style!” For more details on integrating Silverlight and Flash check out the article “Silverlight and Flash Interoperability using HTML Bridge and ExternalInterface API” I wrote for www.silverlightshow.net.

blog comments powered by Disqus