WriteableBitmap pixel format in Silverlight 315 Jul/090 The WriteableBitmap is one of the most interesting new features in Silverlight 3, especially for game development. I’m looking forward to the first pixel perfect collision game using this technology, one of my favorites was the classic Lemmings game. The Pixels array contains one integer for every pixel, and you can find the correct array element by indexing row * width + col like this: WriteableBitmap b = new WriteableBitmap(width, height...
|
7
shouts |
|
|||
No comments yet, be the first one to post comment.