<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>I'm Making Some Games</title>
	<atom:link href="http://www.techknight.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techknight.com/blog</link>
	<description>Game development in my spare time</description>
	<pubDate>Sun, 09 Mar 2008 09:49:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>XNA Pong Deluxe</title>
		<link>http://www.techknight.com/blog/2008/03/09/xna-pong-deluxe/</link>
		<comments>http://www.techknight.com/blog/2008/03/09/xna-pong-deluxe/#comments</comments>
		<pubDate>Sun, 09 Mar 2008 09:49:10 +0000</pubDate>
		<dc:creator>techknight</dc:creator>
		
		<category><![CDATA[XNA]]></category>

		<guid isPermaLink="false">http://www.techknight.com/blog/2008/03/09/xna-pong-deluxe/</guid>
		<description><![CDATA[The chapter 2 project is a Pong clone using simple 2D shapes. It supports one or two players with either the keyboard or a couple of gamepads.
Ben jumps right in with the Agile methodology of development, unit testing, and lots of wacky rectangles. My first look at the unit testing code frightened me a bit [...]]]></description>
			<content:encoded><![CDATA[<p>The chapter 2 project is a Pong clone using simple 2D shapes. It supports one or two players with either the keyboard or a couple of gamepads.</p>
<p>Ben jumps right in with the <a href="http://en.wikipedia.org/wiki/Agile_software_development">Agile methodology of development</a>, <a href="http://en.wikipedia.org/wiki/Agile_software_development">unit testing</a>, and lots of wacky rectangles. My first look at the unit testing code frightened me a bit until I absorbed a few other examples.</p>
<p>The idea is that you should develop and test small pieces of the game before assembling them into something that can be played. Doing so avoids a situation where you get your game into a playable but buggy state where maybe the rendering code is the problem, maybe the collision detection is the problem, etc&#8230; Test reuse means that issues in subsequent iterations of the code can be quickly identified.</p>
<p>There&#8217;s some interesting discussion about designing a resolution-independent game. Since an XNA game could run on a PC or an Xbox 360 plugged into a TV, you can&#8217;t make assumptions about the screen. So instead of saying &quot;place the player one paddle 20 pixels to the right of the left edge&quot; you say &quot;place the player one paddle an amount of pixels to the right of the left edge that is equal to five percent of the total horizontal resolution&quot;. Similarly, the graphics and variables like the ball&#8217;s velocity (in pixels per second) are also scaled as necessary.</p>
<p>Unfortunately, if you follow the code in the book you won&#8217;t have a working program by the time you get to the end of the first unit test. The downloadable code associated with the book <a href="http://www.wrox.com/WileyCDA/WroxTitle/productCd-0470261285,descCd-download_code.html">here</a> (as of today) is also out of date, not ready for use as an XNA 2.0 project. If you want the actual correct XNA 2.0 version of the Pong code you have to visit the author&#8217;s personal site <a href="http://exdream.no-ip.info/blog/2008/02/11/AllXNAGamesConvertedToXNA20FromRocketCommanderToTheRacingGame.aspx">here</a>. Lame.</p>
<p>I&#8217;ll have more later today.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techknight.com/blog/2008/03/09/xna-pong-deluxe/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hello XNA</title>
		<link>http://www.techknight.com/blog/2008/03/02/hello-world/</link>
		<comments>http://www.techknight.com/blog/2008/03/02/hello-world/#comments</comments>
		<pubDate>Mon, 03 Mar 2008 04:01:32 +0000</pubDate>
		<dc:creator>techknight</dc:creator>
		
		<category><![CDATA[XNA]]></category>

		<guid isPermaLink="false">http://www.techknight.com/blog/2008/03/02/hello-world/</guid>
		<description><![CDATA[I&#8217;m done with the first chapter. Professional XNA Programming jumps right in to things without a lot of explanations&#8230; It&#8217;s not bad, but there are some annoying bits like the screenshots and text not being fully updated for the latest version of XNA Game Studio. There must have been a pretty long publishing lead time.
Anyway, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m done with the first chapter. <a href="http://www.wrox.com/WileyCDA/WroxTitle/productCd-0470261285.html">Professional XNA Programming</a> jumps right in to things without a lot of explanations&#8230; It&#8217;s not bad, but there are some annoying bits like the screenshots and text not being fully updated for the latest version of <a href="http://creators.xna.com/Education/GettingStarted.aspx">XNA Game Studio</a>. There must have been a pretty long publishing lead time.</p>
<p>Anyway, chapter 1 explains the basic structure (Initialize, Update Draw) and content pipeline of games developed with XNA. It also shows how to load 2D textures and take input from the gamepad and keyboard.</p>
<p>Here is a happy fellow that you can move around the screen:</p>
<p><a href="http://www.techknight.com/blog/wp-content/uploads/2008/03/screenshot.jpg"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="209" alt="Mmm, hot dogs" src="http://www.techknight.com/blog/wp-content/uploads/2008/03/screenshot-thumb.jpg" width="267" border="0" /></a>&#160;</p>
<div class="wlWriterSmartContent" id="scid:fb3a1972-4489-4e52-abe7-25a00bb07fdf:e1e68a66-dcfa-4c54-8867-7e058d0dda65" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">
<p>Download <a href="http://www.techknight.com/blog/wp-content/uploads/2008/03/helloxna3.zip">HelloXNA (source code)</a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.techknight.com/blog/2008/03/02/hello-world/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Welcome</title>
		<link>http://www.techknight.com/blog/2008/03/02/welcome/</link>
		<comments>http://www.techknight.com/blog/2008/03/02/welcome/#comments</comments>
		<pubDate>Mon, 03 Mar 2008 01:45:55 +0000</pubDate>
		<dc:creator>techknight</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.techknight.com/blog/2008/03/02/welcome/</guid>
		<description><![CDATA[As I posted here, this blog will document my progress through Professional  XNA Programming (2nd edition) by Benjamin  Nitschke.
Once that&#8217;s done, I&#8217;ll post about games I develop myself. The goal is to create something to distribute via the XNA Creator&#8217;s Club, and eventually, Xbox Live Arcade.
(Don&#8217;t mind the default WordPress theme, I&#8217;ll get [...]]]></description>
			<content:encoded><![CDATA[<p>As I <a href="http://www.gameslifeandstuff.com/2008/03/xna-game-studio.html">posted here</a>, this blog will document my progress through <a href="http://www.wrox.com/WileyCDA/WroxTitle/productCd-0470261285.html">Professional  XNA Programming (2nd edition)</a> by <a href="http://abi.exdream.com/">Benjamin  Nitschke</a>.</p>
<p>Once that&#8217;s done, I&#8217;ll post about games I develop myself. The goal is to create something to distribute via the XNA Creator&#8217;s Club, and eventually, Xbox Live Arcade.</p>
<p>(Don&#8217;t mind the default <a href="http://wordpress.org">WordPress</a> theme, I&#8217;ll get around to making things look nice later on.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techknight.com/blog/2008/03/02/welcome/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
