<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Paul Solt &#187; TurretGame</title>
	<atom:link href="http://paulsolt.com/category/turretgame/feed/" rel="self" type="application/rss+xml" />
	<link>http://paulsolt.com</link>
	<description>Putting the Inc back in Solt since 2005.</description>
	<lastBuildDate>Fri, 03 Feb 2012 05:04:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Build One</title>
		<link>http://paulsolt.com/2007/03/build-one/</link>
		<comments>http://paulsolt.com/2007/03/build-one/#comments</comments>
		<pubDate>Fri, 09 Mar 2007 06:41:39 +0000</pubDate>
		<dc:creator>Paul Solt</dc:creator>
				<category><![CDATA[TurretGame]]></category>

		<guid isPermaLink="false">http://www.paulsolt.com/?p=12</guid>
		<description><![CDATA[<p>Here&#8217;s the first build using a new design. I&#8217;m rewriting most of the game from an object oriented approach to break it into more manageable pieces. The original code base was growing over 1200 lines.</p> <p>Currently all I&#8217;ve implemented here is better mouse interaction with the turret and improved handling of the projectiles as they&#8217;re [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s the first build using a new design.  I&#8217;m rewriting most of the game from an object oriented approach to break it into more manageable pieces.  The original code base was growing over 1200 lines.</p>
<p>Currently all I&#8217;ve implemented here is better mouse interaction with the turret and improved handling of the projectiles as they&#8217;re firing from the turret.</p>
<p>Mouse click/drag &#8211; rotates turret<br />
Space bar &#8211; shoots a projectile</p>
<p>One of the problems I was having was that I had failed to initialize all the variables in the projectile class.  It caused a lot of erratic behavior.  Always remember to initialize all variables, or you&#8217;re going to be stuck with the current value from a previous program in memory.</p>
<p>Here&#8217;s the <a href='http://paulsolt.com/wp-content/uploads/2007/03/build1.zip' title='Build1'>Build1</a>, all the files need to be unzipped to the same location.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulsolt.com/2007/03/build-one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

