Inspired by Dave Wheeler's article in VSJ magazine, I decided it was time to write a simple game in Silverlight 2. The game I chose was the classic game of Snake.
Whilst there is no doubt Silverlight 2 is a massive step closer to a .NET environment in the browser, there are still a few bits and pieces that trip you up. Some of the collections data structures are not supported, LinkedList, Queue, Stack...there has been an underlying effort to keep the install of the platform as small as possible, so classes that have functionality that can be easily written using other classes have been tossed out.
As for WPF feature parity things have massively improved since we now have controls, not just simple shapes. There is also now support for data binding and resources. Things still trip you up though, transforms don't support data binding and results in less than obvious errors.
You can play the game here and download the source from here
2 comments:
It's looking interesting
but reposne from the server is '404'.
Sorry about that...Changed my web site and didn't build redirect links, my bad..
http://www.beaconsoft.co.uk
And click on the Games link
Post a Comment