<?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: Android 2d rotation and heading demo</title>
	<atom:link href="https://gamecodeschool.com/android/2d-rotation-and-heading-demo/feed/" rel="self" type="application/rss+xml" />
	<link>https://gamecodeschool.com/android/2d-rotation-and-heading-demo/</link>
	<description>Game Coding for Beginners</description>
	<lastBuildDate>Mon, 20 Apr 2026 12:04:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.38</generator>
	<item>
		<title>By: John Horton</title>
		<link>https://gamecodeschool.com/android/2d-rotation-and-heading-demo/#comment-3170</link>
		<dc:creator><![CDATA[John Horton]]></dc:creator>
		<pubDate>Sun, 06 Nov 2016 12:22:30 +0000</pubDate>
		<guid isPermaLink="false">http://gamecodeschool.com/?p=12198#comment-3170</guid>
		<description><![CDATA[Hi there, Run the game in an emulator or via USB debugging mode on a device and you will get more specific detailed feedback of the cause in the logcat window. If the feedback doesn&#039;t help you solve it feel free to share the errors and I will try and help.]]></description>
		<content:encoded><![CDATA[<p>Hi there, Run the game in an emulator or via USB debugging mode on a device and you will get more specific detailed feedback of the cause in the logcat window. If the feedback doesn&#8217;t help you solve it feel free to share the errors and I will try and help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: connelblaze</title>
		<link>https://gamecodeschool.com/android/2d-rotation-and-heading-demo/#comment-3155</link>
		<dc:creator><![CDATA[connelblaze]]></dc:creator>
		<pubDate>Fri, 04 Nov 2016 21:50:47 +0000</pubDate>
		<guid isPermaLink="false">http://gamecodeschool.com/?p=12198#comment-3155</guid>
		<description><![CDATA[Hi
Great tutorials. Started learning game programming and was directed to this site.
Tried this tutorial but showing me &quot;unfortunately heading and rotation stopped&quot; error. :&lt;]]></description>
		<content:encoded><![CDATA[<p>Hi<br />
Great tutorials. Started learning game programming and was directed to this site.<br />
Tried this tutorial but showing me &#8220;unfortunately heading and rotation stopped&#8221; error. :&lt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Horton</title>
		<link>https://gamecodeschool.com/android/2d-rotation-and-heading-demo/#comment-631</link>
		<dc:creator><![CDATA[John Horton]]></dc:creator>
		<pubDate>Thu, 03 Sep 2015 16:55:10 +0000</pubDate>
		<guid isPermaLink="false">http://gamecodeschool.com/?p=12198#comment-631</guid>
		<description><![CDATA[Hi Edwinius,

Yes, the bottom eighth of the screen rotates left and right depending upon which half of the bottom eighth you press and hold. Anywhere else is forwards. Take a closer look at this bit of code to understand that and make the (rotating) area higher/bigger by swapping the 8 for a lower number.

if(motionEvent.getY() &gt; screenY - screenY / 8) 

Thanks for commenting.]]></description>
		<content:encoded><![CDATA[<p>Hi Edwinius,</p>
<p>Yes, the bottom eighth of the screen rotates left and right depending upon which half of the bottom eighth you press and hold. Anywhere else is forwards. Take a closer look at this bit of code to understand that and make the (rotating) area higher/bigger by swapping the 8 for a lower number.</p>
<p>if(motionEvent.getY() > screenY &#8211; screenY / 8) </p>
<p>Thanks for commenting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: edwinius</title>
		<link>https://gamecodeschool.com/android/2d-rotation-and-heading-demo/#comment-630</link>
		<dc:creator><![CDATA[edwinius]]></dc:creator>
		<pubDate>Thu, 03 Sep 2015 14:53:49 +0000</pubDate>
		<guid isPermaLink="false">http://gamecodeschool.com/?p=12198#comment-630</guid>
		<description><![CDATA[Hi John. Sorry for late reply. I just added the section that you mentioned above, and it works like a charm! the ship is rotating, but it only rotate when I pressed the screen at the bottom corner, if I pressed the screen at the top corner, the ship will go straight(THRUSTING action I guess), is it supposed to be like that? 
Anyway, your tutorial is educating enough for android dev beginners like me. 
Thank you so much again. 
Cheers, Edwinius.]]></description>
		<content:encoded><![CDATA[<p>Hi John. Sorry for late reply. I just added the section that you mentioned above, and it works like a charm! the ship is rotating, but it only rotate when I pressed the screen at the bottom corner, if I pressed the screen at the top corner, the ship will go straight(THRUSTING action I guess), is it supposed to be like that?<br />
Anyway, your tutorial is educating enough for android dev beginners like me.<br />
Thank you so much again.<br />
Cheers, Edwinius.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Horton</title>
		<link>https://gamecodeschool.com/android/2d-rotation-and-heading-demo/#comment-628</link>
		<dc:creator><![CDATA[John Horton]]></dc:creator>
		<pubDate>Wed, 02 Sep 2015 17:40:56 +0000</pubDate>
		<guid isPermaLink="false">http://gamecodeschool.com/?p=12198#comment-628</guid>
		<description><![CDATA[Hi edwinius. Thanks very much for your kind words and question.

Is the ship rotating when you touch the bottom left and right of the screen? If not I think it is because I have missed out the step which makes the app full screen. If the app is not full screen, on many devices the pixels which were calculated as the bottom eighth are not even visible and hence not touchable. I have added a new section to explain how to do this in the section headed &quot;Making the game full screen landscape&quot; right at the start of the tutorial.

I would be really interested to know if this solves your problem. Thanks again and sorry if I have caused you bother.

John]]></description>
		<content:encoded><![CDATA[<p>Hi edwinius. Thanks very much for your kind words and question.</p>
<p>Is the ship rotating when you touch the bottom left and right of the screen? If not I think it is because I have missed out the step which makes the app full screen. If the app is not full screen, on many devices the pixels which were calculated as the bottom eighth are not even visible and hence not touchable. I have added a new section to explain how to do this in the section headed &#8220;Making the game full screen landscape&#8221; right at the start of the tutorial.</p>
<p>I would be really interested to know if this solves your problem. Thanks again and sorry if I have caused you bother.</p>
<p>John</p>
]]></content:encoded>
	</item>
</channel>
</rss>
