This Blog Has Moved – Update your links to nokola.com/blog

I’m very happy to announce that I’m moving this blog to http://nokola.com Click here to visit the new blog: http://nokola.com/blog Click here to subscribe to the new blog: http://nokola.com/blog/syndication.axd In the last few weeks I was quetly posting in the new blog on http://nokola.com/blog in order to entice people to move there πŸ™‚ What do you get…

0

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…

8

Nice background image

My latest creation last night… space view of a planet on a starry background The image is 1920×1440 Hope you like it πŸ™‚ Feel free to use it as your desktop background, if you like πŸ™‚ planet1.jpg

3

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…

11

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…

5

Silverlight 3 Speed Optimizations – The Ultimate Game Loop!

Edit: this post is now replaced by the more in-depth view here: http://blogs.msdn.com/nikola/archive/2009/08/19/exposed-5-methods-to-create-game-loop-which-is-the-best.aspx   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…

13

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…

13

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: http://www.nokola.com/mocap.html 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…

6

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…

11