Exposed: 5 methods to create game loop: which is the best?

Edit: fixed broken links What is the best method to create a game loop? I created a small experiment comparing 5 different animation methods. The results, along with code samples and test screenshots are summarized in this document: 5 Game Loops in Silverlight: Which is the best? (PDF) 5 Game Loops in Silverlight: Which is…


Large Star Field – Take 2, how to make it look "deep" and more reallistic

Check out the new starfield and compare it with the old one. Edit: thanks to fashai for pointing out an issue, I updated the code again – now the stars no longer form straight lines if the Silverlight control was invisible for some time. Also updated the speed algorithm, to be more close-to-nature 🙂 Source and demo below show…


Large Star Field in Silverlight – Taste of Game, Part 2

Edit2: After posting this, I made a significant improvement on the star field… will post it tonight. In the new version there’s more sense of depth not just “dots” like the one below. The star speed and brightness now is calculated better (based on square of the distance and correct view angles). See the next update tonight…will…


Silverlight 3 Speed Optimizations – The Ultimate Game Loop!

Edit: this post is now replaced by the more in-depth view here:   Nice! I just ported my Shock game to Silverlight 3. Getting the graphics to work as before (and better), took me about an hour reading through docs. But the changes took about 5 minutes. I’ll just list them here for you in case…


Human Movements – The Easiest Motion Capture File Format

This is the second post of the “Reallistic Human Movements with Silverlight” series. I’ll spend a little time talking about the .bvh file format structure. I’m still working on the code and that’s why I’ll make this post short in order to get back to the mocap code. There is a link to more relevant…


Reallistic Human Movements in Silverlight – My Own Motion Capture Viewer!

Hoho! yes! How to make reallistic human movements in Silverlight?  Check out this stickman animation demo here: Download source code for the above sample in the attachments to this post below. You’re looking at 3D realtime animation of stick man figures using motion data found on the internet. The motion capture viewer took me the…


Silverlight: Super-fast Dymanic Image Generation Code (Revisited)

I decided to give a third spin of Joe Stegman’s dynamic image generation code. This time, it’s many times faster (about 10x) than the original implementation and the png is generated in-place (no recoding necessary). I used some hacky optimizations 🙂 For example, replacing the big CRC loop with a constant (0), definitely improves speed…


Windows 7 Look-alike Taskbar Button Control in Silverlight

Last night, inspired by the cool taskbar in Windows 7, I decided to see how easy it will be to make a similar control in Silverlight. Here’s the screenshot of the first stab on the Win7 taskbar in Silverlight:  Click here: to see it in action.  There are a lot of things to be…


Silverlight Game Competition – $5000 prize

Submission deadline is April 30, 2009  Check it out:    Too bad I can’t participate (I’m not eligible because I’m Microsoft employee) Whoever reads this, please do your best! Thank you! 🙂 I’ll still be doing my own game thingie in the meantime, even without a chance to win $5000