How I let the trees grow

Published on Thursday, March 3, 2011 2:42:00 PM UTC in Programming

When I was thinking about the Eco Contest 2011 on Silverlight Show, I had the idea to enrich my application with the visual gimmick of dynamically growing trees. I wanted to create both the branches and leaves on the fly randomly and animate them to create that impression. If you have already visited my entry you know how the final result looks like in action, and if not, you can find it here (feel free to leave a vote :-)). Let me show you an example image of a dynamically rendered tree once it has finished animating:

XNA for Silverlight developers: Part 5 - Input (touch + gestures)

Published on Monday, February 28, 2011 9:34:00 AM UTC in Programming

In my ongoing series about XNA development on the Windows Phone 7 on Silverlight Show the next part has been released: Part 5 is all about user input on the mobile device, with particular focus on how to obtain and process data from the touch screen. As always the article explains the differences to Silverlight development to make the transition easier for those who already have experience with it and want to learn and gain some knowledge about XNA. The article also provides the source code of all examples for download. If you have any feedback or suggestions, leave me a comment or contact me directly.

What difference does a sprite sheet make?

Published on Tuesday, February 22, 2011 6:54:00 AM UTC in Programming

In game programming, a sprite sheet is a texture that contains not only a single image, but multiple images that either belong to different sprites, or that show different parts or animation frames of a single sprite. When you start creating your own games, or even when you look into creating modifications for existing games and look at their assets, you will run across this technique very soon. Everybody will tell you that using sprite sheets will result in smaller loading times, less wasted memory, and most of all, better performance. I've been telling people this too. But can we put a number on this? How much do you really gain if you use sprite sheets instead of single texture files? I cannot remember seeing any statistics or analyzes about this, so I decided to take a look at it myself, with particular focus on the Windows Phone 7 platform and 2D games.

XNA for Silverlight developers: Part 3 + 4 - Animation

Published on Thursday, February 17, 2011 10:34:00 AM UTC in Programming

Part 4 of my article series "XNA for Silverlight developers" has just been published over at Silverlight Show. This is the second and last part about the animation topic. I decided to split the topic by two kinds of animations: transforms, which includes the simpler and built-in possibilities for translate, scale and rotate, and frame-based animation which is based on using a series of sequential images to create the illusion of a fluid motion. You can find the two articles here:

Silverlight for keyboard junkies

Published on Friday, February 4, 2011 10:55:00 PM UTC in Programming

If you are like me, you like using the keyboard for navigating around in and between applications, and to use shortcuts for common (and not so common) tasks. For example, I've memorized a lot of the shortcuts in Visual Studio, because often it's so much faster to use them than to move your hands away from the keyboard and navigate through multiple menu levels using the mouse. I also make heavy use of standard navigation features in data entry forms, especially the tab key. Unfortunately, when you build a Silverlight application, and in particular when you're using items controls like the list box for data entry scenarios, the default behavior is a bit annoying and requires quite some work for a smooth user experience. Here's how to do it.

Using the AutoCompleteBox

Published on Monday, January 31, 2011 1:39:00 PM UTC in Programming

Silverlight's auto-complete box is a very versatile control and also often subject of questions in the Silverlight forums. In a recent project I have taken a deeper look at it and decided to write an article about its features. First I explain the very basics and simple usage scenarios. After that I move on to more advanced topics like using custom filters and item templates, and eventually to asynchronous filtering using a web service. I also show a possible way to integrate that into an MVVM application design. As always the complete source code is available for download too. The full article can be found here.

XNA for Silverlight developers: Part 2 - Text rendering

Published on Thursday, January 27, 2011 7:35:00 AM UTC in Programming

Yesterday my new article on Silverlight Show has been published. In the series about XNA for Silverlight developers on Windows Phone 7, this part is about text rendering. If you come from a Silverlight background you will realize that text output in XNA is really generally different. It is based on bitmaps instead of vectors like in Silverlight, has limitations in design and effects, and there are no built-in controls that aid you with layout or similar problems. As always I discuss the differences to Silverlight, show you the basics you need to know for text rendering in XNA and move on to more advanced topics in the course of the article. Read the full version here.

Creating Packs from the Silverlight Application Themes

Published on Friday, January 21, 2011 5:13:00 PM UTC in Programming

Some time ago Microsoft released the four Silverlight Application Themes Jet Pack, Accent Color, Windows 7 and Cosmopolitan. You can find that download here. The Themes are provided as comfortable installers and integrate as new templates into Visual Studio. The drawback of the loose style XAML files the themes come as is that they cannot be easily used as Toolkit compatible theme packs, which makes dynamic switching of themes difficult, for example. It also requires more effort than necessary to apply the styles in an already existing project. I decided to convert the themes into theme packs, but that turned out to be harder than expected. Read on for a step-by-step guide and an online demo with full source.

XNA for Silverlight developers: Part 1 - Fundamentals

Published on Tuesday, January 18, 2011 10:49:00 AM UTC in Programming

After my introductory "Part 0" this is the second part of the XNA learning series for Silverlight developers on Windows Phone 7. It is composed of three parts:

Du bist was du isst

Published on Thursday, January 13, 2011 9:54:37 PM UTC in Skit

Heute habe ich ein Interview mit einer… Frau gesehen, die vermutlich irgendwann zwischen ihrem 15. und 20. Lebensjahr einen Namen von der NASA bekommen hat.

Browse: 1 ... 21 22 23 ... 28