Welcome to MSDN Blogs Sign in | Join | Help

July 2009 - Posts

Paint.NET texture importer

Daniel Hanson made a Paint.NET (.pdn) texture importer for the XNA Framework Content Pipeline. Now we have direct support for Photoshop , Gimp , and Paint.NET images. /me wonders what's next...

Automatic XNB serialization samples

I don't usually bother linking to things that already exist elsewhere, but I totally missed this announcement, so I figure you might have too. My apologies if this is old news! We updated several Content Pipeline samples to take advantage of the automatic

Avatar sample goodness

Roll up, roll up, get 'em while they're hot...

Beware of the big bad LINQ

Pop quiz – given: Stack< int > stack; what is the difference between: return stack.Count; and: return stack.Count(); Is it: No difference: both return the number of elements on the specified stack The first is a property of Stack<T>, while

The perils of microbenchmarking

The best way to understand the performance of a program is to run it with a profiler attached , but that isn't always possible. Maybe the program isn't written yet, and you want to investigate the performance of a possible design before committing to

Profiling with Stopwatch

.profxcsharpcode, .profxcsharpcode pre { font-size: small; color: black; font-family: consolas, "Courier New", courier, monospace; background-color: #ffffff; /*white-space: pre;*/ } .profxcsharpcode pre { margin: 0em; } .profxcsharpcode .rem { color:

Why measure when you can guess?

I recently bought a new house, and along the way our agent recommended we get a sewer inspection. Those things are so cool! The guy arrived with a roll of tubing attached to a gizmo that looked like a prop from City of Lost Children , unwound this into

Automatic XNB serialization and *Content classes

Automatic XNB serialization works best when the same classes are available at content build time and at runtime. Pedantic correction: if you are making an Xbox game, they can't actually be the SAME classes. You must compile the code twice , once for use
 
Page view tracker