You had me at "Hello World!"

XAML, WPF, Silverlight, .NET, Office 2007, Windows code samples and other interesting things

Browse by Tags

Tagged Content List
  • Blog Post: 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) ...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: A Taste of What's To Come - My New Game Concept Art

    Here...a quick bite from the new game coming out... Silverlight 3, full screen, Got an idea for a name?
  • Blog Post: 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...
  • Blog Post: 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 info...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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: http://www.nokola.com/NavSeven to see it in action. There are a lot...
  • Blog Post: Silverlight Game Competition - $5000 prize

    Submission deadline is April 30, 2009 Check it out: http://www.serverquestcontest.com/ 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...
  • Blog Post: Anatomy of a Silverlight Game: Avoid Common Mistakes When Building Online Games

    Last week I created a document that incorporates my experiences developing the Shock Silverlight online game so far. The document discusses the basics of online games in Silverlight and has a lot of practical examples (code) and a working project that you can use to build your own game. Don't make...
  • Blog Post: Play this Silverlight Game Online: Shock v2

    I'm very proud to announce version 2 or my online Silverlight game "Shock": Play it here: http://www.nokola.com/shock Edit: I appreciate if you leave your comments and suggestions in the comment field for the game. Also, if you like it, please vote for it on http://silverlight.net/community...
  • Blog Post: Cool All-age Silverlight Game

    I found a pretty cool chill-out style game in Silverlight. Just go and draw your first animal :) it's pretty nice to see those things come to life. Also there are some cool things you can play with friends and share the animals and joy :) You don't need an account to play http://shidonni.com...
  • Blog Post: XAML PowerToys for VisualStudio - Speed up Development of Business Apps and Just Edit XAML Faster!

    Check them out - including screenshots - on Karl’s (one of my friends) site: http://karlshifflett.wordpress.com/xaml-power-toys/ XAML Power Toys Speed up production of Business (LOB) Applications in WPF and Silverlight! Automatically create XAML views from VB or C# Code: · Create WPF...
  • Blog Post: Cool Silverlight Splash Screen Concept Demo (including Source Code)

    In this tutorial: Creating a cool (and easy) Vista-like "ray of light" effect in Silverlight Creating images for splash screens The demo below shows a "core" that emits rays of light as a hypothetical download progresses. Download source code Images used to create this sample...
  • Blog Post: 7 Easy Steps to Learn C#: Silverlight C# Compiler and Loading DLLs from a server at runtime in Silverlight

    In This Tutorial: · C# compiler demo for the web - type code in a web page, compile and execute it on the client · How to enable dynamic code compilation for a Silverlight application · How to execute third party DLL from within a Silverlight application Download source code View sample...
  • Blog Post: ASP.NET Authentication for Silverlight Applications (Accessing ASP.NET Membership, Profile and Role Services)

    This is very good for web sites that have ASP.NET Authentication (or plan to have) and have Silverlight apps. Brad Abrams, from his blog: "Here is what I plan to show: 1. Login\Logout 2. Save personalization settings 3. Enable custom UI based on a user's role (for example, manager or employee...
  • Blog Post: Building the Reallistic Water Ripples Sample in Silverlight

    In this tutorial: - creating and rendering water ripples - optimized image generation - JPEG decoding component for Silverlight Source code for this sample Algorithm The algorithm is based on Hugo Elias’ 2D water tutorial . On each render step we have the state of the water for...
  • Blog Post: Optimized Joe Stegman's Dynamic Image Generation (Twice the Speed)

    I needed a good and relatively fast dynamic image generation code for Silverlight (for the next sample, you’ll see). Joe Stegman has an excellent post including source code for generating images in Silverlight: http://blogs.msdn.com/jstegman/archive/2008/04/21/dynamic-image-generation-in-silverlight...
  • Blog Post: EasyHyperbar Navigation Control - A hyperbar, only easier (in Silverlight)

    In this Tutorial · Analysis of the usability of the typical Hyperbar Control · Silverlight sample with source code for a better control (in my opinion) There are two important traits of a navigation control: usability and looks. Usability of the control can determine if a person will be using...
  • Blog Post: Ray Tracing in Silverlight

    I had some free time today and did this: I'd like to note that LukeH made the core raytracing engine in C#. He built it using linq and the code looks very elegant . I did the "Silverlight" part of it. There are some things to think about with ray tracing in Silvelright - see the links at the bottom...
  • Blog Post: Silverlight: How to Make Your WCF Web Service Work for All Users

    Specification of the Problem A WCF web service works when a user types site in his browser with www in the name: · http:// www .nokola.com/SampleService/ServiceClientAppTestPage.aspx Works OK!, but it stops working if the same site is typed without www: · http://nokola.com/SampleService...
  • Blog Post: Silverlight 2 Beta 2 Is Released!!!

    Oh, yes! :) Install tools and runtime from here: http://silverlight.net/GetStarted/ There are so many improvements in the new beta. List of new features is here: http://blogs.msdn.com/silverlight_sdk/archive/2008/06/04/what-s-new-in-silverlight-2-beta-2.aspx Here is a list of a subset of just...
  • Blog Post: Deep Zoom - Redefining *Any* Web Site Experience (super cool, check it out)

    These are completely new and revamped web sites (I don’t mean just “silverlight added” or a cool app – looks more like Web 3.0). This guy has some great ideas of improving the user experience on web sites. Just check out the first 1.5 minutes of the video here http://delicategeniusblog.com/?p=692...
  • Blog Post: LayoutTransform control in Silverlight 2

    I found a very good post: How to do LayoutTransform in Silverlight. Currently Silverlight supports RenderTransform out of the box. Read this: http://blogs.msdn.com/delay/archive/2008/05/27/lying-to-the-layout-system-for-a-good-cause-bringing-layouttransform-to-silverlight-2.aspx on how to make a layout...
Page 1 of 2 (37 items) 12