<?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>Games, Life, and Stuff &#187; cannon</title>
	<atom:link href="http://www.techknight.com/blog/tag/cannon/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techknight.com/blog</link>
	<description>Game development and more</description>
	<lastBuildDate>Fri, 23 Apr 2010 15:34:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Game Release: Cannon Zero</title>
		<link>http://www.techknight.com/blog/2009/03/07/game-release-cannon-zero/</link>
		<comments>http://www.techknight.com/blog/2009/03/07/game-release-cannon-zero/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 03:34:14 +0000</pubDate>
		<dc:creator>techknight</dc:creator>
				<category><![CDATA[Game Development]]></category>
		<category><![CDATA[Learning]]></category>
		<category><![CDATA[3dbuzz]]></category>
		<category><![CDATA[cannon]]></category>
		<category><![CDATA[game release]]></category>
		<category><![CDATA[xna]]></category>

		<guid isPermaLink="false">http://www.techknight.com/blog/2009/03/07/game-release-cannon-zero/</guid>
		<description><![CDATA[This is my final version of the Cannon game. Cannon Zero has these changes to the engine and gameplay:

New graphics
Sound effects
Large 1280&#215;720 playfield
High score display and loading/saving
Player is destroyed when the target crosses out of bounds at any time, instead of just the bottom of the screen
Various changes to the target’s angle and speed of [...]]]></description>
			<content:encoded><![CDATA[<p>This is my final version of the <a href="/blog/tag/cannon/">Cannon</a> game. Cannon Zero has these changes to the engine and gameplay:</p>
<ul>
<li>New graphics
<li>Sound effects
<li>Large 1280&#215;720 playfield
<li>High score display and loading/saving
<li>Player is destroyed when the target crosses out of bounds at any time, instead of just the bottom of the screen
<li>Various changes to the target’s angle and speed of decent
<li>Projectiles are no longer fired unless the mouse button has been released from the previous click</li>
</ul>
<p>The score display was implemented using the <a href="http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.graphics.spritefont.aspx">SpriteFont</a> class and the <a href="http://www.myfonts.com/fonts/larabie/metal-lord/">Metal Lord font</a> from <a href="http://www.myfonts.com/browse/foundry/larabie/">Larabie</a>. (The Larabie fonts are free for personal and commercial use. Found via <a href="http://forums.xna.com/forums/p/11511/75416.aspx#75416">this post</a> on the <a href="http://forums.xna.com/forums/">XNA Creators Club forum</a>.)</p>
<p>In the notes for <a href="http://www.techknight.com/blog/2009/03/01/cannon-iii/">Cannon III</a> I said that I would take a look at using an Xbox 360 controller instead of the mouse… This kind of broke the quick movements necessary to play the game so Cannon Zero is mouse-only.</p>
<h5>Download</h5>
<p><a href="http://www.techknight.com/download/cannon_zero.zip">Click here</a> (extract and run setup.exe)</p>
<h5>Screenshots</h5>
<p><a href="http://www.techknight.com/blog/wp-content/uploads/2009/03/image2.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.techknight.com/blog/wp-content/uploads/2009/03/image-thumb.png" width="444" height="261"></a> </p>
<p><a href="http://www.techknight.com/blog/wp-content/uploads/2009/03/image3.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.techknight.com/blog/wp-content/uploads/2009/03/image-thumb1.png" width="444" height="261"></a> </p>
<h5>Video</h5>
<p><object width="560" height="345"><param name="movie" value="http://www.youtube.com/v/jsqi8SlZuyo&amp;hl=en&amp;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/jsqi8SlZuyo&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="345"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.techknight.com/blog/2009/03/07/game-release-cannon-zero/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cannon III</title>
		<link>http://www.techknight.com/blog/2009/03/01/cannon-iii/</link>
		<comments>http://www.techknight.com/blog/2009/03/01/cannon-iii/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 07:11:39 +0000</pubDate>
		<dc:creator>techknight</dc:creator>
				<category><![CDATA[Game Development]]></category>
		<category><![CDATA[Learning]]></category>
		<category><![CDATA[3dbuzz]]></category>
		<category><![CDATA[cannon]]></category>
		<category><![CDATA[xna]]></category>

		<guid isPermaLink="false">http://www.techknight.com/blog/2009/03/01/cannon-iii/</guid>
		<description><![CDATA[Cannon III is complete. Just as Cannon II borrowed a lot from Cannon I, this game reuses code from Cannon II except now we’re using the XNA framework. The assets file provided by 3D Buzz contained some enhanced graphics labelled XNA, so I used those instead of the boring default sprites.
Here’s a video of Cannon [...]]]></description>
			<content:encoded><![CDATA[<p>Cannon III is complete. Just as <a href="http://www.techknight.com/blog/2009/02/22/cannon-ii/">Cannon II</a> borrowed a lot from <a href="http://www.techknight.com/blog/2009/02/19/cannon-i-part-2/">Cannon I</a>, this game reuses code from Cannon II except now we’re using the XNA framework. The assets file provided by <a href="http://www.3dbuzz.com">3D Buzz</a> contained some enhanced graphics labelled XNA, so I used those instead of the boring default sprites.</p>
<p>Here’s a video of Cannon III in action:</p>
<p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:82cdea5b-e465-4099-873c-5554f78792ae" class="wlWriterEditableSmartContent">
<div><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/HIOj6SctnW8&amp;hl=en&amp;fs=1&amp;hl=en"></param><embed src="http://www.youtube.com/v/HIOj6SctnW8&amp;hl=en&amp;fs=1&amp;hl=en" type="application/x-shockwave-flash" width="425" height="355"></embed></object></div>
</div>
<p>That wraps up <a href="http://www.3dbuzz.com/xcart/product.php?productid=52&amp;cat=13&amp;page=1">XNA Xtreme 101</a> Volume 1. Before I move on to Volume 2, I’m going to make my own final version of the Cannon game. Probably with new graphics, sound support, and Xbox 360 gamepad support. I’d also like to fix the issue with CheckFire() being called too quickly – which is causing the projectile to be fired on BeginGame() and ResetTarget().</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techknight.com/blog/2009/03/01/cannon-iii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cannon II</title>
		<link>http://www.techknight.com/blog/2009/02/22/cannon-ii/</link>
		<comments>http://www.techknight.com/blog/2009/02/22/cannon-ii/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 02:23:28 +0000</pubDate>
		<dc:creator>techknight</dc:creator>
				<category><![CDATA[Game Development]]></category>
		<category><![CDATA[Learning]]></category>
		<category><![CDATA[3dbuzz]]></category>
		<category><![CDATA[cannon]]></category>

		<guid isPermaLink="false">http://www.techknight.com/blog/2009/02/22/cannon-ii/</guid>
		<description><![CDATA[Cannon II is done now. It’s pretty much Cannon I, except using a (mostly) proper game loop and custom classes.
For fun I’ve changed the graphics and added sound effects using SoundPlayer from System.Media. I used a tool called sfxr to randomly create the sounds:

The graphical changes are the very worst in programmer art, but what [...]]]></description>
			<content:encoded><![CDATA[<p>Cannon II is done now. It’s pretty much <a href="http://www.techknight.com/blog/2009/02/19/cannon-i-part-2/">Cannon I</a>, except using a (mostly) proper game loop and custom classes.</p>
<p>For fun I’ve changed the graphics and added sound effects using <a href="http://msdn.microsoft.com/en-us/library/4y171b18.aspx">SoundPlayer from System.Media</a>. I used a tool called <a href="http://www.cyd.liu.se/~tompe573/hp/project_sfxr.html">sfxr</a> to randomly create the sounds:</p>
<p><a href="http://www.techknight.com/blog/wp-content/uploads/2009/02/image125.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.techknight.com/blog/wp-content/uploads/2009/02/image-thumb124.png" width="444" height="350"></a></p>
<p>The graphical changes are the very worst in programmer art, but what the hell… Here it is in action:</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:0c5bd2a2-a99e-4ee2-9d64-c0af144f7d02" class="wlWriterEditableSmartContent">
<div><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/M9zSuxjqK34&amp;hl=en&amp;fs=1&amp;hl=en"></param><embed src="http://www.youtube.com/v/M9zSuxjqK34&amp;hl=en&amp;fs=1&amp;hl=en" type="application/x-shockwave-flash" width="425" height="355"></embed></object></div>
</div>
<p>Also, while I was looking for something else, I came across this tool for generating animated explosion sprites: <a href="http://www.positech.co.uk/content/explosion/explosiongenerator.html">Explosion Generator</a>. Might be useful later.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techknight.com/blog/2009/02/22/cannon-ii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cannon I part 2</title>
		<link>http://www.techknight.com/blog/2009/02/19/cannon-i-part-2/</link>
		<comments>http://www.techknight.com/blog/2009/02/19/cannon-i-part-2/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 02:55:01 +0000</pubDate>
		<dc:creator>techknight</dc:creator>
				<category><![CDATA[Game Development]]></category>
		<category><![CDATA[Learning]]></category>
		<category><![CDATA[3dbuzz]]></category>
		<category><![CDATA[cannon]]></category>

		<guid isPermaLink="false">http://www.techknight.com/blog/2009/02/19/cannon-i-part-2/</guid>
		<description><![CDATA[That’s the end of Cannon I. The game is now fully playable with a title screen, lives counter, and increasing difficulty.
Here’s a video of it in action:



]]></description>
			<content:encoded><![CDATA[<p>That’s the end of Cannon I. The game is now fully playable with a title screen, lives counter, and increasing difficulty.</p>
<p>Here’s a video of it in action:</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:449da0a3-b2a7-48bb-9d68-dbad2e72f361" class="wlWriterEditableSmartContent">
<div><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/ohfp37VeCa4&amp;hl=en&amp;fs=1&amp;hl=en"></param><embed src="http://www.youtube.com/v/ohfp37VeCa4&amp;hl=en&amp;fs=1&amp;hl=en" type="application/x-shockwave-flash" width="425" height="355"></embed></object></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.techknight.com/blog/2009/02/19/cannon-i-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cannon I</title>
		<link>http://www.techknight.com/blog/2009/02/19/cannon-i/</link>
		<comments>http://www.techknight.com/blog/2009/02/19/cannon-i/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 12:07:01 +0000</pubDate>
		<dc:creator>techknight</dc:creator>
				<category><![CDATA[Game Development]]></category>
		<category><![CDATA[Learning]]></category>
		<category><![CDATA[3dbuzz]]></category>
		<category><![CDATA[cannon]]></category>

		<guid isPermaLink="false">http://www.techknight.com/blog/2009/02/19/cannon-i/</guid>
		<description><![CDATA[For the second game project in 3D Buzz&#160;XNA Xtreme 101 we’re writing a simple target-shooting game called Cannon. From a single initial design, the game will be implemented three times. First as a basic WinForms application, then as a more complex one with custom objects, and finally as an XNA framework game.
The mechanics of the [...]]]></description>
			<content:encoded><![CDATA[<p>For the second game project in <a href="http://www.3dbuzz.com">3D Buzz</a>&nbsp;<a href="http://www.3dbuzz.com/xcart/product.php?productid=52&amp;cat=13&amp;page=1">XNA Xtreme 101</a> we’re writing a simple target-shooting game called Cannon. From a single initial design, the game will be implemented three times. First as a basic WinForms application, then as a more complex one with custom objects, and finally as an XNA framework game.</p>
<p>The mechanics of the first implementation are complete, with the rest of the gameplay to come in the next lesson.</p>
<p>The objects in Cannon I are PictureBoxes loaded up with some simple graphics supplied by 3D Buzz. Here is the player ship firing on the moving target:</p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.techknight.com/blog/wp-content/uploads/2009/02/image-thumb123.png" width="444" height="350"></p>
]]></content:encoded>
			<wfw:commentRss>http://www.techknight.com/blog/2009/02/19/cannon-i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
