<?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>www.sjwaller.com &#187; iPhone</title>
	<atom:link href="http://www.sjwaller.com/category/projects/iphone/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sjwaller.com</link>
	<description></description>
	<lastBuildDate>Wed, 07 Dec 2011 18:40:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Itchy Interactive</title>
		<link>http://www.sjwaller.com/projects/iphone/itchy-interactive/</link>
		<comments>http://www.sjwaller.com/projects/iphone/itchy-interactive/#comments</comments>
		<pubDate>Mon, 07 Mar 2011 15:28:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.sjwaller.com/?p=468</guid>
		<description><![CDATA[<a href="http://www.sjwaller.com/projects/iphone/itchy-interactive/"><img align="right" hspace="5" width="85" height="85" src="http://www.sjwaller.com/wp-content/uploads/2011/03/logo-150x150.png" class="alignright tfe wp-post-image" alt="logo" title="logo" /></a>Itchy Interactive is a company I set up as an outlet/support website for all my iPhone projects. So if you are interested in my mobile/iPhone developments then perhaps you might want to check it out: http://www.itchyinteractive.com There is also a blog that I keep up to date while developing new products.]]></description>
			<content:encoded><![CDATA[<p>Itchy Interactive is a company I set up as an outlet/support website for all my iPhone projects. So if you are interested in my mobile/iPhone developments then perhaps you might want to check it out: </p>
<p><a href="http://www.itchyinteractive.com">http://www.itchyinteractive.com</a></p>
<p>There is also a <a href="http://www.itchyinteractive.com/blog">blog</a> that I keep up to date while developing new products.</p>

<a href='http://www.sjwaller.com/projects/iphone/itchy-interactive/attachment/logo/' title='logo'><img width="150" height="150" src="http://www.sjwaller.com/wp-content/uploads/2011/03/logo-150x150.png" class="attachment-thumbnail" alt="logo" title="logo" /></a>

<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.sjwaller.com/projects/iphone/itchy-interactive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Poker Yourself!</title>
		<link>http://www.sjwaller.com/projects/iphone/poker-yourself/</link>
		<comments>http://www.sjwaller.com/projects/iphone/poker-yourself/#comments</comments>
		<pubDate>Wed, 27 Oct 2010 16:46:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.sjwaller.com/?p=454</guid>
		<description><![CDATA[<a href="http://www.sjwaller.com/projects/iphone/poker-yourself/"><img align="right" hspace="5" width="85" height="85" src="http://www.sjwaller.com/wp-content/uploads/2010/10/mzl.aocqikhr.320x480-75-150x150.jpg" class="alignright tfe wp-post-image" alt="mzl.aocqikhr.320x480-75" title="mzl.aocqikhr.320x480-75" /></a><b>On a train, in the car or waiting for your loved one to come home from work? Then why not try and Poker Yourself!</b>

Poker Yourself is an Open Feint enabled Texas Hold ‘Em style poker solitaire game for the iPhone. Featuring online leaderboards, tons of achievements and customization, Poker Yourself will keep you amused for hours. ]]></description>
			<content:encoded><![CDATA[<p><b>On a train, in the car or waiting for your loved one to come<br />
home from work? Then why not try and Poker Yourself!</b></p>
<p>Poker Yourself is an Open Feint enabled Texas Hold ‘Em style poker solitaire game for the iPhone. </p>
<p>Featuring online leaderboards, tons of achievements and customization, Poker Yourself will keep you amused for hours. </p>
<h4>Features</h4>
<ul>
<li>Unlock achievement awards using OpenFeint.</li>
<li>Biggest Banks leaderboard and Historic Highs using OpenFeint.</li>
<li>Supports portrait and landscape autorotation.</li>
<li>Compatible with iPhone and iPod Touch.</li>
<li>Battery friendly.</li>
</ul>
<p>You can check it out here: <a href="http://www.itchyinteractive.com/poker-yourself/">http://www.itchyinteractive.com/poker-yourself/</a></p>

<a href='http://www.sjwaller.com/projects/iphone/poker-yourself/attachment/mzl-aocqikhr-320x480-75/' title='mzl.aocqikhr.320x480-75'><img width="150" height="150" src="http://www.sjwaller.com/wp-content/uploads/2010/10/mzl.aocqikhr.320x480-75-150x150.jpg" class="attachment-thumbnail" alt="mzl.aocqikhr.320x480-75" title="mzl.aocqikhr.320x480-75" /></a>
<a href='http://www.sjwaller.com/projects/iphone/poker-yourself/attachment/mzl-rhhfzfcq-320x480-75/' title='mzl.rhhfzfcq.320x480-75'><img width="150" height="150" src="http://www.sjwaller.com/wp-content/uploads/2010/10/mzl.rhhfzfcq.320x480-75-150x150.jpg" class="attachment-thumbnail" alt="mzl.rhhfzfcq.320x480-75" title="mzl.rhhfzfcq.320x480-75" /></a>
<a href='http://www.sjwaller.com/projects/iphone/poker-yourself/attachment/mzl-hslddunn-320x480-75/' title='mzl.hslddunn.320x480-75'><img width="150" height="150" src="http://www.sjwaller.com/wp-content/uploads/2010/10/mzl.hslddunn.320x480-75-150x150.jpg" class="attachment-thumbnail" alt="mzl.hslddunn.320x480-75" title="mzl.hslddunn.320x480-75" /></a>
<a href='http://www.sjwaller.com/projects/iphone/poker-yourself/attachment/mzl-gdruvjnw-320x480-75/' title='mzl.gdruvjnw.320x480-75'><img width="150" height="150" src="http://www.sjwaller.com/wp-content/uploads/2010/10/mzl.gdruvjnw.320x480-75-150x150.jpg" class="attachment-thumbnail" alt="mzl.gdruvjnw.320x480-75" title="mzl.gdruvjnw.320x480-75" /></a>
<a href='http://www.sjwaller.com/projects/iphone/poker-yourself/attachment/mzl-mcpvrbnc-320x480-75/' title='mzl.mcpvrbnc.320x480-75'><img width="150" height="150" src="http://www.sjwaller.com/wp-content/uploads/2010/10/mzl.mcpvrbnc.320x480-75-150x150.jpg" class="attachment-thumbnail" alt="mzl.mcpvrbnc.320x480-75" title="mzl.mcpvrbnc.320x480-75" /></a>

<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.sjwaller.com/projects/iphone/poker-yourself/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>1st iPhone app &#8211; Part 3 &#8211; 3D Shoot &#8216;Em Up</title>
		<link>http://www.sjwaller.com/projects/iphone/1st-iphone-app-part-3-3d-shoot-em-up/</link>
		<comments>http://www.sjwaller.com/projects/iphone/1st-iphone-app-part-3-3d-shoot-em-up/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 00:44:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.sjwaller.com/?p=369</guid>
		<description><![CDATA[<a href="http://www.sjwaller.com/projects/iphone/1st-iphone-app-part-3-3d-shoot-em-up/"><img align="right" hspace="5" width="85" height="85" src="http://www.sjwaller.com/wp-content/uploads/2010/03/last_stand_a-150x150.jpg" class="alignright tfe wp-post-image" alt="last_stand_a" title="last_stand_a" /></a>Things have progressed somewhat from the previous installment and it is starting to really look like a playable game. The major new code includes a SkyBox for rendering the backdrop, enemy cubes to shoot at, collision detection to register a hit and also MP3 playback and SFX.
]]></description>
			<content:encoded><![CDATA[<p><span style="float: right; margin-left: 20px;"><span class="youtube">
<object type="application/x-shockwave-flash" width="425" height="355" data="http://www.youtube.com/v/JoejeOnRzGg?color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;rel=1">
<param name="movie" value="http://www.youtube.com/v/JoejeOnRzGg?color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;rel=1" />
<param name="allowFullScreen" value="true" />
<param name="wmode" value="transparent" />
</object>
</span><p><a href="http://www.youtube.com/watch?v=JoejeOnRzGg">www.youtube.com/watch?v=JoejeOnRzGg</a></p></span></p>
<p>Now I&#8217;m &#8220;in-between&#8221; jobs &#8230; I&#8217;ve had a few days to put some effort into iPhone development again &#8230; and here&#8217;s a video of where things stand.</p>
<p>As you can see things have progressed somewhat from the previous installment and it is starting to really look like a playable game. The major new code includes a SkyBox for rendering the backdrop, enemy cubes to shoot at, collision detection to register a hit and also MP3 playback and SFX.</p>
<h4>SkyBox</h4>
<p>The SkyBox routine is basically as simple as rendering a large cube around the whole scene and applying a texture on the inside. This gives the effect of a nice backdrop whichever way you turn. For the time-being, I&#8217;ve used a jpg that I found on t&#8217;interwebs that was pre-prepared for use as a SkyBox in CounterStrike.</p>
<h4>Collision Detection</h4>
<p>There are a total of 10 enemy cubes rendered at any one time. Enemies are randomly scattered in front of you and gradually make there way toward you. If you shoot them, a SFX is played, your score increases by 10 and an explosion routine ensues. Once the explosion is over, the enemy re-spawns randomly somewhere in front of you and again makes it&#8217;s way toward you. The explosion routine is basically 10 small cubes which get assigned a random direction vector from the point of impact. These &#8216;explode&#8217; away for about 100 frames. Well, I think it&#8217;s pretty sweet effect! If the enemy gets too close to you a red flash appears on the screen, your score is lowered by 100 and the enemy re-spawns.</p>
<p>The collision detection routine is a basic Bounding Sphere as described here: <a title="http://www.gamedev.net/reference/articles/article1234.asp" href="http://www.gamedev.net/reference/articles/article1234.asp" target="_blank">http://www.gamedev.net/reference/articles/article1234.asp</a>. As the bullets move pretty fast, I used the advanced version to pick up collisions if say a bullet passes &#8216;through&#8217; the bounding sphere over two frames.</p>
<h4>Sound</h4>
<p>For MP3 playback, I used the audio queue service in the Apple AudioKit framework. At the moment, I start my favourite Rob Hubbard C64 &#8216;Lightforce&#8217; MP3 playing in the game initialization method. The SFX comprise and explosion and a gunshot wavefile I downloaded from <a title="www.freesound.org" href="www.freesound.org" target="_blank">www.freesound.org</a>. These are played using the SoundEffect class found in the BubbleLevel SDK example.</p>
<h4>Next time &#8230;</h4>
<p>My next installment should see a variety of enemies with different routines such as weeving about and firing back, a shield to deflect enemy fire, a level system and possibly some kind of terrain (I&#8217;m working on a simple heightmap terrain routine but didn&#8217;t get it looking satisfactory for this update).</p>
<p>Anyway -- sorry about the hectic sound if you listened to the video on headphones &#8230; oh and I gave the game a work-in-progress title of &#8230; &#8220;Last Stand&#8221;  but it seems there&#8217;s already an iPod touch game called that &#8230; anyone have any other ideas feel free to leave a comment?</p>

<a href='http://www.sjwaller.com/projects/iphone/1st-iphone-app-part-3-3d-shoot-em-up/attachment/last_stand_a/' title='last_stand_a'><img width="150" height="150" src="http://www.sjwaller.com/wp-content/uploads/2010/03/last_stand_a-150x150.jpg" class="attachment-thumbnail" alt="last_stand_a" title="last_stand_a" /></a>

<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.sjwaller.com/projects/iphone/1st-iphone-app-part-3-3d-shoot-em-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>1st iPhone app &#8211; Part 2 &#8211; bullets</title>
		<link>http://www.sjwaller.com/projects/iphone/1st-iphone-app-part-2-bullets/</link>
		<comments>http://www.sjwaller.com/projects/iphone/1st-iphone-app-part-2-bullets/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 16:41:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://robots.sjwaller.com/?p=261</guid>
		<description><![CDATA[<a href="http://www.sjwaller.com/projects/iphone/1st-iphone-app-part-2-bullets/"><img align="right" hspace="5" width="85" height="85" src="http://www.sjwaller.com/wp-content/uploads/2010/03/1stiphonept2-150x150.jpg" class="alignright tfe wp-post-image" alt="1stiphonept2" title="1stiphonept2" /></a>I've spent the last few weeks busying myself for the move to Brighton in December so not really had a great deal of time to dedicate to iPhone development. What I have done though is to tidy up my source code quite a bit.]]></description>
			<content:encoded><![CDATA[<p><span style="float: right; margin-left: 20px;"><span class="youtube">
<object type="application/x-shockwave-flash" width="425" height="355" data="http://www.youtube.com/v/1wAro0uvFaU?color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;rel=1">
<param name="movie" value="http://www.youtube.com/v/1wAro0uvFaU?color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;rel=1" />
<param name="allowFullScreen" value="true" />
<param name="wmode" value="transparent" />
</object>
</span><p><a href="http://www.youtube.com/watch?v=1wAro0uvFaU">www.youtube.com/watch?v=1wAro0uvFaU</a></p></span></p>
<p>Still not really what you might call a &#8216;game&#8217; but it&#8217;s starting to take shape &#8230; I think!</p>
<p>I&#8217;ve spent the last few weeks busying myself for the move to Brighton in December so not really had a great deal of time to dedicate to iPhone development. What I have done though is to tidy up my source code quite a bit.</p>
<p>Objective-C is quite a bit different to what I&#8217;m used to, so I&#8217;ve split the code in two. Basically, all interaction with the iPhone is handled by Objective-C which passes off the update/rendering work to the C++/OpenGL game code: The current state of inputs such as accelerometer and touch is sent to the C++ gameUpdate method which updates the game state. The gameDraw routine just handles OpenGL rendering as you would expect.</p>
<p>Hopefully I can get some more work done as soon as possible &#8230; For the third installment, I&#8217;m planning to get some kind of enemy to shoot at -- which will involve basic collision detection. Part four will probably be taking stock and sketching out a game concept etc.</p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.sjwaller.com/projects/iphone/1st-iphone-app-part-2-bullets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>1st iPhone app &#8211; Part 1 &#8211; introduction</title>
		<link>http://www.sjwaller.com/projects/iphone/1st-iphone-app-part-1-introduction/</link>
		<comments>http://www.sjwaller.com/projects/iphone/1st-iphone-app-part-1-introduction/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 16:40:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://robots.sjwaller.com/?p=259</guid>
		<description><![CDATA[<a href="http://www.sjwaller.com/projects/iphone/1st-iphone-app-part-1-introduction/"><img align="right" hspace="5" width="85" height="85" src="http://www.sjwaller.com/wp-content/uploads/2010/03/1stiphonept1-150x150.jpg" class="alignright tfe wp-post-image" alt="1stiphonept1" title="1stiphonept1" /></a>Here is a quick video of my 1st iPhone app. In terms of functionality, there's nothing much at the moment - but the fundamentals are at least in place.]]></description>
			<content:encoded><![CDATA[<p><span style="float: right; margin-left: 20px;"><span class="youtube">
<object type="application/x-shockwave-flash" width="425" height="355" data="http://www.youtube.com/v/gsQhGDtZhVE?color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;rel=1">
<param name="movie" value="http://www.youtube.com/v/gsQhGDtZhVE?color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;rel=1" />
<param name="allowFullScreen" value="true" />
<param name="wmode" value="transparent" />
</object>
</span><p><a href="http://www.youtube.com/watch?v=gsQhGDtZhVE">www.youtube.com/watch?v=gsQhGDtZhVE</a></p></span></p>
<p>Here is a quick video of my 1st iPhone app. In terms of functionality, there&#8217;s nothing much at the moment -- but the fundamentals are at least in place:</p>
<p>You may recognise my &#8216;signature&#8217; blue vector grid on a dark blue background &#8230; which is basically my starting point for nearly all my OpenGl based projects. The app was written using Apple&#8217;s X-Code IDE and uses OpenGl ES to render a 3D grid. I&#8217;m adjusting the &#8216;look-at&#8217; position of the camera using 2 of the 3 accelerometers. The 2D elements comprise a dragable yellow square which in turn updates the x and y values rendered using the Texture2D class.</p>
<p>So it&#8217;s nothing much at the moment but hopefully it will develop into a fun 3D iPhone game &#8230; I&#8217;ll be keeping a blog of developments here on my website.</p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.sjwaller.com/projects/iphone/1st-iphone-app-part-1-introduction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

