

<?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>Swift Fox Software &#187; AquaWars</title>
	<atom:link href="http://swiftfox.co/tag/aquawars/feed/" rel="self" type="application/rss+xml" />
	<link>http://swiftfox.co</link>
	<description>iOS Apps</description>
	<lastBuildDate>Thu, 31 Jan 2013 17:50:24 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>AquaWars Development Diary &#8211; Week 2</title>
		<link>http://swiftfox.co/2012/04/aquawars-development-diary-week-2/</link>
		<comments>http://swiftfox.co/2012/04/aquawars-development-diary-week-2/#comments</comments>
		<pubDate>Fri, 20 Apr 2012 12:19:22 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[AquaWars]]></category>

		<guid isPermaLink="false">http://swiftfoxsoftware.com/?p=244</guid>
		<description><![CDATA[So the second week of development has come to an end. This week was primarily back end work to build foundations for the game, although I did end up adding a few cool front end features as well. I&#8217;ll go over one of those first. One thing I knew I wanted in the game since [...]]]></description>
				<content:encoded><![CDATA[<p>So the second week of development has come to an end. This week was primarily back end work to build foundations for the game, although I did end up adding a few cool front end features as well. I&#8217;ll go over one of those first.</p>
<p><a href="http://swiftfoxsoftware.net/wp-content/uploads/2012/04/20120420-085332.jpg"><img class="wp-image-16 alignright" src="http://swiftfoxsoftware.net/wp-content/uploads/2012/04/20120420-085332.jpg" alt="20120420-085332.jpg" width="374" height="281" /></a></p>
<p>One thing I knew I wanted in the game since the very begining: iCade support. And this really took less that 20 minutes to implement but if you have an iCade it totally rocks. The SDK is really simple and is available on GitHub <a href="https://github.com/scarnie/iCade-iOS" target="_blank">here</a>. If you are developing a game that can work with arcade style controls &#8211; you have to implement this. People with an iCade will love you. I may even end up adding iCade support to <a href="http://swiftfoxsoftware.com/apps/rocketchimp/">Rocket Chimp </a>in the near future&#8230;</p>
<p>The primary things I worked on this week were backend related, specifically my GameObject class along with my level loading class. This game, unlike its predecessor, is going to be level based and have a cheesy &#8220;save-the-world&#8221; type storyline to go with it. It will still have a random &#8220;survival&#8221; mode like the original as well, but I think people will enjoy the levels and characters in the story.</p>
<p>The levels for the game are in JSON format. I chose JSON because of its human readability and compactness, at least compared to other text formats like XML. The added bonus is that I can use a library (<a href="https://github.com/TouchCode/TouchJSON" target="_blank">TouchJSON</a>) to load the file into a dictionary, so I don&#8217;t have to waste time writing some kind of parser. If worst comes to worst and I need to save space or improve loading times I can write some kind of intermediary binary packer/loader. But I don&#8217;t think either of those will be an issue.</p>
<p>In my GameObject class I cleaned things up quite a bit and made it a lot easier to create or reuse any object you need by building a factory class. This way enemy ships can easily spawn minions or fire off mines or torpedoes without having to rewrite a ton of code. So the enemy classes have been cleaned up and pared down to the basics, which is a good thing as it will make it a lot easier once I am creating enemies with more complex actions.</p>
<p>Unfortunately this wasn&#8217;t the most productive week, but I am also working on another web project simultaneously for what it&#8217;s worth. For next week I plan to have a few new things to talk about:</p>
<ul>
<li>The first boss in the game</li>
<li>The first level set</li>
<li>Some new enemy types</li>
<li>Explosions!</li>
<li>Some in game character dialogue</li>
<li>Maybe some video footage&#8230;maybe.</li>
</ul>
<p>Also, I just remembered that I will be getting my wisdom teeth removed this coming Thursday. So next weeks post might come a bit earlier&#8230;or later. We&#8217;ll see. <img src='http://swiftfox.co/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://swiftfox.co/2012/04/aquawars-development-diary-week-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AquaWars Development Diary &#8211; Week 1</title>
		<link>http://swiftfox.co/2012/04/aquawars-development-diary-week-1/</link>
		<comments>http://swiftfox.co/2012/04/aquawars-development-diary-week-1/#comments</comments>
		<pubDate>Thu, 12 Apr 2012 20:14:29 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[AquaWars]]></category>
		<category><![CDATA[Universal]]></category>

		<guid isPermaLink="false">http://swiftfoxsoftware.com/?p=242</guid>
		<description><![CDATA[So since I have had this blog for nearly two years and barely posted anything I have decided to begin using it. I will be posting weekly updates on my progress with my current project, AquaWars X (Working title). The game is a remake of my second game, AquaWars. I worked on that game while [...]]]></description>
				<content:encoded><![CDATA[<p>So since I have had this blog for nearly two years and barely posted anything I have decided to begin using it. I will be posting weekly updates on my progress with my current project, AquaWars X (Working title). The game is a remake of my second game, AquaWars. I worked on that game while I was in college, so I never really fleshed out the idea like I wanted to.</p>
<p>	The game is a retro-styled arcade shooter. Its main inspiration is a game I played on my TI-83 back in the day called SubHunt. In the game you control a boat which drops depth charges to destroy enemy submarines. In AquaWars X you will collect &#8220;spare parts&#8221; from destroyed submarines which will help you upgrade your ship throughout the game. That is the basic gameplay of the game.</p>
<p>	So on to development. This week was mainly spent building up the &#8220;engine&#8221;. I am using Cocos2D which gives nice Sprite classes, but having a layer on top of this really helps to streamline development. I made a little chart before development of how I wanted the design to look</p>
<p><a href="http://swiftfoxsoftware.net/wp-content/uploads/2012/04/20120412-161157.jpg"><img src="http://swiftfoxsoftware.net/wp-content/uploads/2012/04/20120412-161157.jpg" alt="20120412-161157.jpg" class="alignnone size-full" /></a></p>
<p>The design ended up being pretty much what I went with. I tried to stick with strict MVC, but in this case I decided to make a few exceptions. The view is essentially passive. The controller takes input and the model contains and updates the view (CCSprite). This means my code won&#8217;t be quite as reusable and harder to switch from cocos2d, but these are not things I care about as my goal is to create a fun game, not code that will be reused for the next 50 years.</p>
<p>I designed some basic sprites, the look of the game now is pixel art based, to go with the retro feel. Here is the first screenshot:</p>
<p><a href="http://swiftfoxsoftware.net/wp-content/uploads/2012/04/20120412-161310.jpg"><img src="http://swiftfoxsoftware.net/wp-content/uploads/2012/04/20120412-161310.jpg" alt="20120412-161310.jpg" class="alignnone size-full" /></a></p>
<p>Still a long ways to go! The biggest gameplay change from the first AquaWars is that the screen scrolls horizontally now, so you have a much larger playing field. The game is also going to be level based rather than completely random like the original. This will hopefully allow for some cool boss levels.</p>
<p>Anyways, that is all for this week. Stay tuned till next Friday for week 2!</p>
]]></content:encoded>
			<wfw:commentRss>http://swiftfox.co/2012/04/aquawars-development-diary-week-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
