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
Massaging thumbsticks
Posted
over 5 years ago
by
Shawn Hargreaves - MSFT
Mice suck
Posted
over 5 years ago
by
Shawn Hargreaves - MSFT
Gamepads suck
Posted
over 5 years ago
by
Shawn Hargreaves - MSFT
Keyboards suck
Posted
over 5 years ago
by
Shawn Hargreaves - MSFT
Some code is more equal than others
Posted
over 5 years ago
by
Shawn Hargreaves - MSFT
Archives
Archives
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)
Blog - Title
March, 2007
MSDN Blogs
>
Shawn Hargreaves Blog
>
March, 2007
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Shawn Hargreaves Blog
Massaging thumbsticks
Posted
over 5 years ago
by
Shawn Hargreaves - MSFT
6
Comments
Gamepad thumbsticks return floating point values ranging from -1 to 1. It can be tempting to hook these inputs directly up to your physics, writing code like: turn += gamepad.ThumbSticks.Left.X * turnRate; But wait! Are you sure this is really what...
Shawn Hargreaves Blog
Mice suck
Posted
over 5 years ago
by
Shawn Hargreaves - MSFT
5
Comments
Actually I can't think of a single thing wrong with mouse hardware, but it seemed like a good idea to complete my trilogy of input device complaints :-)
Shawn Hargreaves Blog
Gamepads suck
Posted
over 5 years ago
by
Shawn Hargreaves - MSFT
1
Comments
Gamepads, like keyboards , are not perfect. They are designed to be cheap, sturdy, and nice to hold: accuracy comes second. Specifically, the analog thumbsticks are not very precise at reporting their absolute position (although they are good at measuring...
Shawn Hargreaves Blog
Keyboards suck
Posted
over 5 years ago
by
Shawn Hargreaves - MSFT
3
Comments
I'm not a hardware guy, but if I had to design a keyboard I'd probably include some kind of electrical switch under each key, with a set of wires leading to and from each switch so I could detect when they were pressed. Bzzzt, wrong! Real hardware designers...
Shawn Hargreaves Blog
Some code is more equal than others
Posted
over 5 years ago
by
Shawn Hargreaves - MSFT
3
Comments
Once upon a time I used to program in Perl. There, I admitted it! My dirty secret is out :-) Perl is an odd language, and there are plenty of things not to like about it, but one thing I did like is how it is designed to let you choose your own coding...
Shawn Hargreaves Blog
A new blog to watch
Posted
over 5 years ago
by
Shawn Hargreaves - MSFT
0
Comments
Thomas Aylesworth writes about the difference between optimizing your design versus implementation , and the importance of of the Big O.
Shawn Hargreaves Blog
A story about premature optimization
Posted
over 5 years ago
by
Shawn Hargreaves - MSFT
6
Comments
Performance never ceases to be a fascinating topic. This forum thread inspired Eli to write about foreach and the garbage collector , and also got me thinking about an ancient debate between the merits of multiplication and shifting. Join me as we travel...
Shawn Hargreaves Blog
Where have all the transitions gone?
Posted
over 5 years ago
by
Shawn Hargreaves - MSFT
3
Comments
I'm a bad person. I said I was going to talk about transitions , and I meant it at the time. But then I got all excited about the launch of the new XNA website, so I took some time to talk about the stuff there first. Today I sat down to start writing...
Shawn Hargreaves Blog
More signs of game programming geekhood
Posted
over 5 years ago
by
Shawn Hargreaves - MSFT
6
Comments
Have you ever found yourself sitting in a pub with some friends, examining spilt beer on a rickety wooden table and discussing how many layers of multitexturing it would take to render such a thing? While driving on the freeway, did you ever find yourself...
Shawn Hargreaves Blog
You know you're a game programming geek when...
Posted
over 5 years ago
by
Shawn Hargreaves - MSFT
3
Comments
Last night I attended an incandescent performance by Yo Yo Ma and the Silk Road Ensemble . In the middle of a particularly flamboyant piece of tabla virtuosity, I found myself thinking about the similarities between musical rhythms and game timing. Even...
Shawn Hargreaves Blog
ContentManager.ReadAsset
Posted
over 5 years ago
by
Shawn Hargreaves - MSFT
3
Comments
ContentManager.ReadAsset is a new function coming in the next version of the XNA Framework . What is it for, and why should you care? You almost certainly don't care. In fact you should probably stop reading this blog post right now. ReadAsset is for...
Shawn Hargreaves Blog
Coming soon to a Content Pipeline near you
Posted
over 5 years ago
by
Shawn Hargreaves - MSFT
0
Comments
The next release of the XNA Framework won't add anything dramatically new to the content pipeline, but includes a lot of tweaks and bugfixes that didn't make it in time for our first version. This update is mostly about polishing what we already shipped...
Shawn Hargreaves Blog
Return of the Son of Programmer Art
Posted
over 5 years ago
by
Shawn Hargreaves - MSFT
5
Comments
The Sprite Effects sample uses this picture of my cat Rhys : I needed an alpha channel to mask out the cat and remove the couch from the background: a common requirement when fixing up photos for use in games. The first step is to use whatever kind of...
Shawn Hargreaves Blog
More programmer art
Posted
over 5 years ago
by
Shawn Hargreaves - MSFT
2
Comments
The Generated Geometry sample program uses two textures, sky.bmp: and rocks.bmp: Both started out as photographs taken near Paradise on the south side of Mount Rainier. Here are the originals: Original sky photo Original rocks photo To use these as textures...
Shawn Hargreaves Blog
Programmer art
Posted
over 5 years ago
by
Shawn Hargreaves - MSFT
1
Comments
I know I said I was going to write about transition effects, and I promise I will, but I decided to talk about something else first, for reasons that may later become apparent. I'm a programmer. I cannot draw. Not even if my life depended on it. If...
Shawn Hargreaves Blog
There are some seriously talented people out there
Posted
over 5 years ago
by
Shawn Hargreaves - MSFT
0
Comments
Today we announced the five winning games from the Dream-Build-Play warm up competition. I have to admit being a little nervous as to what this was going to turn up. With only a couple of weeks development time, plus the restriction of having to...
Shawn Hargreaves Blog
Lua on Xbox
Posted
over 5 years ago
by
Shawn Hargreaves - MSFT
0
Comments
Dean Calver has a version of Lua running on Xbox using XNA GSE . I'm a big fan of unusual programming languages. I love encountering different ways of thinking about coding problems, and find that the more varied languages I learn, the better a programmer...
Shawn Hargreaves Blog
The importance of transitions
Posted
over 5 years ago
by
Shawn Hargreaves - MSFT
12
Comments
The first commercial game I ever worked on was Extreme G on the Nintendo 64. While I was writing the menu system, the lead artist, a grizzled young man named Johnny Christmas, gave me a piece of advice I never forgot. "Listen here, young lad", quoth he...
Page 1 of 1 (18 items)