Sign in
MSDN Blogs
Microsoft Blog Images
More ...
Shawn Hargreaves Blog
Links
Shawn's Homepage
Twitter @shawnhargreaves
Common Tasks
Blog Home
Email Blog Author
RSS for posts
RSS for comments
Legal
using Microsoft.Disclaimer;
Disclaim("This is my blog");
Disclaim("I am not Microsoft");
Disclaim("I speak for myself");
Disclaim("All rights reserved");
Index
Categorized index of old blog posts
Recent Posts
How to tell if your Xbox garbage collection is too slow
Posted
over 6 years ago
by
Shawn Hargreaves - MSFT
Embedding content as resources
Posted
over 6 years ago
by
Shawn Hargreaves - MSFT
Displaying the framerate
Posted
over 6 years ago
by
Shawn Hargreaves - MSFT
Loading content from zip archives
Posted
over 6 years ago
by
Shawn Hargreaves - MSFT
Wildcard content using MSBuild
Posted
over 6 years ago
by
Shawn Hargreaves - MSFT
Archives
Archives
February 2013
(1)
January 2013
(3)
December 2012
(2)
November 2012
(4)
October 2012
(4)
July 2012
(1)
June 2012
(1)
May 2012
(1)
April 2012
(1)
March 2012
(2)
January 2012
(2)
December 2011
(3)
November 2011
(2)
October 2011
(6)
July 2011
(2)
June 2011
(1)
May 2011
(3)
April 2011
(10)
March 2011
(6)
February 2011
(3)
January 2011
(3)
December 2010
(6)
November 2010
(8)
October 2010
(9)
September 2010
(14)
August 2010
(5)
July 2010
(9)
June 2010
(6)
May 2010
(7)
April 2010
(14)
March 2010
(17)
February 2010
(11)
January 2010
(2)
December 2009
(4)
November 2009
(5)
October 2009
(4)
September 2009
(3)
August 2009
(3)
July 2009
(8)
June 2009
(15)
May 2009
(9)
April 2009
(6)
March 2009
(6)
February 2009
(5)
January 2009
(5)
December 2008
(5)
November 2008
(5)
October 2008
(6)
September 2008
(9)
August 2008
(8)
July 2008
(4)
June 2008
(3)
May 2008
(6)
April 2008
(9)
March 2008
(4)
February 2008
(2)
January 2008
(4)
December 2007
(12)
November 2007
(6)
October 2007
(6)
September 2007
(7)
August 2007
(4)
July 2007
(7)
June 2007
(6)
May 2007
(5)
April 2007
(11)
March 2007
(18)
February 2007
(3)
January 2007
(9)
December 2006
(14)
November 2006
(8)
September 2006
(3)
August 2006
(7)
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Shawn Hargreaves Blog
Displaying the framerate
Posted
over 6 years ago
by
Shawn Hargreaves - MSFT
29
Comments
I was about to write a different article, but then I thought about what would make a good example for my planned topic, and decided a framerate component would be a perfect testbed for it. So before I get started on my next real subject, I'm going to...
Shawn Hargreaves Blog
How to tell if your Xbox garbage collection is too slow
Posted
over 6 years ago
by
Shawn Hargreaves - MSFT
4
Comments
I noticed several threads about garbage collection on forums.xna.com this week. Is it just me or is everyone suddenly starting to worry about performance as they approach the end of the DreamBuildPlay competition? The crucial first step in any performance...
Shawn Hargreaves Blog
Embedding content as resources
Posted
over 6 years ago
by
Shawn Hargreaves - MSFT
12
Comments
Reusable XNA components often contain content as well as code. For instance the bloom sample on the creators.xna.com site uses several custom effects, and the framerate component I described in my previous post needs a font to display the output. If you...
Shawn Hargreaves Blog
Loading content from subfolders
Posted
over 6 years ago
by
Shawn Hargreaves - MSFT
6
Comments
A common pattern in XNA games is to nest a "Content" folder inside the main game project, to keep things organized. We do this in all the samples available on the creators.xna.com site, for instance. When you come to load a piece of content, you have...
Shawn Hargreaves Blog
Wildcard content using MSBuild
Posted
over 6 years ago
by
Shawn Hargreaves - MSFT
2
Comments
One of my favorite things about the C# project system in Visual Studio is the way it is implemented on top of MSBuild . Visual Studio provides a nice user interface for editing your project, but when you hit F5 it just calls through into MSBuild to do...
Shawn Hargreaves Blog
Loading content from zip archives
Posted
over 6 years ago
by
Shawn Hargreaves - MSFT
2
Comments
Nick Gravelyn has posted some code for embedding XNA content in zip archives . Not only does this provide compression for your asset data, but it also reduces clutter, replacing many .xnb files with a single .zip. He uses a custom MSBuild task (in a similar...
Page 1 of 1 (6 items)