<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: iPhone Game Programming &#8211; Tutorial 11 &#8211; Joypad</title>
	<atom:link href="http://www.71squared.com/2009/12/iphone-game-programming-tutorial-11-joypad/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.71squared.com/2009/12/iphone-game-programming-tutorial-11-joypad/</link>
	<description>iPhone Game Development - Web Development</description>
	<lastBuildDate>Sat, 04 Feb 2012 20:13:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: Kyle</title>
		<link>http://www.71squared.com/2009/12/iphone-game-programming-tutorial-11-joypad/comment-page-10/#comment-6927</link>
		<dc:creator>Kyle</dc:creator>
		<pubDate>Wed, 27 Apr 2011 16:54:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.com/?p=1050#comment-6927</guid>
		<description>You are my hero !!!! Thank you so much to sharing these knowledge!!!!</description>
		<content:encoded><![CDATA[<p>You are my hero !!!! Thank you so much to sharing these knowledge!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AmitSri</title>
		<link>http://www.71squared.com/2009/12/iphone-game-programming-tutorial-11-joypad/comment-page-9/#comment-6727</link>
		<dc:creator>AmitSri</dc:creator>
		<pubDate>Wed, 23 Mar 2011 18:24:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.com/?p=1050#comment-6727</guid>
		<description>Hi,

I am following your Tutorial 11 and try to run the project in iphone simulator 4.2 and getting following error.

AudioStreamBasicDescription:  2 ch,  44100 Hz, &#039;lpcm&#039; (0x00000C2C) 8.24-bit little-endian signed integer, deinterleaved

After getting this error in simulator i can see only white screen.

Hope you will find some solution soon.

Thanks</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am following your Tutorial 11 and try to run the project in iphone simulator 4.2 and getting following error.</p>
<p>AudioStreamBasicDescription:  2 ch,  44100 Hz, &#8216;lpcm&#8217; (0x00000C2C) 8.24-bit little-endian signed integer, deinterleaved</p>
<p>After getting this error in simulator i can see only white screen.</p>
<p>Hope you will find some solution soon.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: theclayton</title>
		<link>http://www.71squared.com/2009/12/iphone-game-programming-tutorial-11-joypad/comment-page-9/#comment-5337</link>
		<dc:creator>theclayton</dc:creator>
		<pubDate>Tue, 01 Feb 2011 02:43:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.com/?p=1050#comment-5337</guid>
		<description>Hey, I have a question. I&#039;ve been trying to develop a game that your character or &quot;ship&quot; stays in the middle of the screen and the background moves behind it. Do you know how I would do this using the joy pad?

Thanks,

clayton</description>
		<content:encoded><![CDATA[<p>Hey, I have a question. I&#8217;ve been trying to develop a game that your character or &#8220;ship&#8221; stays in the middle of the screen and the background moves behind it. Do you know how I would do this using the joy pad?</p>
<p>Thanks,</p>
<p>clayton</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: theclayton</title>
		<link>http://www.71squared.com/2009/12/iphone-game-programming-tutorial-11-joypad/comment-page-9/#comment-5336</link>
		<dc:creator>theclayton</dc:creator>
		<pubDate>Tue, 01 Feb 2011 02:42:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.com/?p=1050#comment-5336</guid>
		<description>Hey, I have a question. I&#039;ve been trying to develop a game that your character or &quot;ship&quot; stays in the middle of the screen and the background moves behind it. Do you know how I would do this using the joy pad?

Thanks.</description>
		<content:encoded><![CDATA[<p>Hey, I have a question. I&#8217;ve been trying to develop a game that your character or &#8220;ship&#8221; stays in the middle of the screen and the background moves behind it. Do you know how I would do this using the joy pad?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike</title>
		<link>http://www.71squared.com/2009/12/iphone-game-programming-tutorial-11-joypad/comment-page-9/#comment-4445</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Mon, 13 Dec 2010 19:30:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.com/?p=1050#comment-4445</guid>
		<description>Hi Ali

Can you send me an example project to mike@71squared.com and I&#039;ll take a look. Not sure off the top of my head what the problem could be without looking.

Mike</description>
		<content:encoded><![CDATA[<p>Hi Ali</p>
<p>Can you send me an example project to <a href="mailto:mike@71squared.com">mike@71squared.com</a> and I&#8217;ll take a look. Not sure off the top of my head what the problem could be without looking.</p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: memphis</title>
		<link>http://www.71squared.com/2009/12/iphone-game-programming-tutorial-11-joypad/comment-page-9/#comment-4444</link>
		<dc:creator>memphis</dc:creator>
		<pubDate>Mon, 13 Dec 2010 19:26:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.com/?p=1050#comment-4444</guid>
		<description>Hello Mike,
I just updated xcode to latest version and I have a little problem. The problem is that my touches (Began, Moved and ended) are not being called at all. I&#039;m using your suggestion about not using NSTimer and create your own gameloop. and I did and in previous version of SDK it worked perfectly. but in new update nothing works. I created a sample OpenGL and and touches are called but once I use one of the the methods below the touch won&#039;t be triggered.

#option one:

[self performSelectorOnMainThread:@selector(gameLoop) withObject:nil waitUntilDone:NO];

#option two:
[NSThread detachNewThreadSelector:@selector(gameLoop)
toTarget:self withObject:nil]; 

I have to remind you that inside my game loop I have the following loop as well to catch all my touches:

while(CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0.002f, TRUE) == kCFRunLoopRunHandledSource);

another odd thing is that the touches will be called if I compile my program agains IPad Simulator.

I&#039;m kind of lost, search all over net for 2 days and really need your help.

Thanks
Ali</description>
		<content:encoded><![CDATA[<p>Hello Mike,<br />
I just updated xcode to latest version and I have a little problem. The problem is that my touches (Began, Moved and ended) are not being called at all. I&#8217;m using your suggestion about not using NSTimer and create your own gameloop. and I did and in previous version of SDK it worked perfectly. but in new update nothing works. I created a sample OpenGL and and touches are called but once I use one of the the methods below the touch won&#8217;t be triggered.</p>
<p>#option one:</p>
<p>[self performSelectorOnMainThread:@selector(gameLoop) withObject:nil waitUntilDone:NO];</p>
<p>#option two:<br />
[NSThread detachNewThreadSelector:@selector(gameLoop)<br />
toTarget:self withObject:nil]; </p>
<p>I have to remind you that inside my game loop I have the following loop as well to catch all my touches:</p>
<p>while(CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0.002f, TRUE) == kCFRunLoopRunHandledSource);</p>
<p>another odd thing is that the touches will be called if I compile my program agains IPad Simulator.</p>
<p>I&#8217;m kind of lost, search all over net for 2 days and really need your help.</p>
<p>Thanks<br />
Ali</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike</title>
		<link>http://www.71squared.com/2009/12/iphone-game-programming-tutorial-11-joypad/comment-page-9/#comment-4352</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Wed, 03 Nov 2010 10:21:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.com/?p=1050#comment-4352</guid>
		<description>Hi Geoff

If you edit the project settings and change the base SDK to your current SDK, the projects should all work fine.

Let me know how you get on.


Mike</description>
		<content:encoded><![CDATA[<p>Hi Geoff</p>
<p>If you edit the project settings and change the base SDK to your current SDK, the projects should all work fine.</p>
<p>Let me know how you get on.</p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff</title>
		<link>http://www.71squared.com/2009/12/iphone-game-programming-tutorial-11-joypad/comment-page-9/#comment-4350</link>
		<dc:creator>Geoff</dc:creator>
		<pubDate>Tue, 02 Nov 2010 14:14:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.com/?p=1050#comment-4350</guid>
		<description>An amazing bit of work you did here on this tutorial set!!  I started learning C over 20 years, but gave up I learned Visual Basic instead and now I feel overwhelmed! :(  Oh well.  At the moment, however, these tutorials won&#039;t run on my Macbook Pro because I don&#039;t have xcode 2.2 and Apple doesn&#039;t appear to want developers to have or use those older SDKs.  Is there a way to upgrade these tutorials to run in SDK 3 or greater??  Thanks if you can help1 :)</description>
		<content:encoded><![CDATA[<p>An amazing bit of work you did here on this tutorial set!!  I started learning C over 20 years, but gave up I learned Visual Basic instead and now I feel overwhelmed! :(  Oh well.  At the moment, however, these tutorials won&#8217;t run on my Macbook Pro because I don&#8217;t have xcode 2.2 and Apple doesn&#8217;t appear to want developers to have or use those older SDKs.  Is there a way to upgrade these tutorials to run in SDK 3 or greater??  Thanks if you can help1 :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mamat</title>
		<link>http://www.71squared.com/2009/12/iphone-game-programming-tutorial-11-joypad/comment-page-9/#comment-4332</link>
		<dc:creator>mamat</dc:creator>
		<pubDate>Sun, 31 Oct 2010 19:07:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.com/?p=1050#comment-4332</guid>
		<description>cane have a look with my code.
http://www.4shared.com/file/qpZUVvXv/myGame.html
seems to be the output is different from the simulator and on my device. and how possible to make logic of the game.thanks</description>
		<content:encoded><![CDATA[<p>cane have a look with my code.<br />
<a href="http://www.4shared.com/file/qpZUVvXv/myGame.html" rel="nofollow">http://www.4shared.com/file/qpZUVvXv/myGame.html</a><br />
seems to be the output is different from the simulator and on my device. and how possible to make logic of the game.thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iPhone Game Programming Tutorial 1 &#124; Hardblog Cafe</title>
		<link>http://www.71squared.com/2009/12/iphone-game-programming-tutorial-11-joypad/comment-page-9/#comment-4175</link>
		<dc:creator>iPhone Game Programming Tutorial 1 &#124; Hardblog Cafe</dc:creator>
		<pubDate>Wed, 06 Oct 2010 15:27:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.com/?p=1050#comment-4175</guid>
		<description>[...] iphone-game-programming-tutorial-9-sound-manager iphone-game-programming-tutorial-10-game-structure iphone-game-programming-tutorial-11-joypad iphone-game-programming-tutorial-12-saving-state tutorial-13-app-store-submission AKPC_IDS += [...]</description>
		<content:encoded><![CDATA[<p>[...] iphone-game-programming-tutorial-9-sound-manager iphone-game-programming-tutorial-10-game-structure iphone-game-programming-tutorial-11-joypad iphone-game-programming-tutorial-12-saving-state tutorial-13-app-store-submission AKPC_IDS += [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

