<?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: Coding Android sprite sheet animations</title>
	<atom:link href="https://gamecodeschool.com/android/coding-android-sprite-sheet-animations/feed/" rel="self" type="application/rss+xml" />
	<link>https://gamecodeschool.com/android/coding-android-sprite-sheet-animations/</link>
	<description>Game Coding for Beginners</description>
	<lastBuildDate>Fri, 06 Jun 2025 18:08:06 +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/coding-android-sprite-sheet-animations/#comment-5291</link>
		<dc:creator><![CDATA[John Horton]]></dc:creator>
		<pubDate>Wed, 15 Mar 2017 13:23:25 +0000</pubDate>
		<guid isPermaLink="false">http://gamecodeschool.com/?p=12095#comment-5291</guid>
		<description><![CDATA[Hi there, Unfortunately I lost track of the source code for this a while ago. It is all on the page however and copy &amp; pasting should work.]]></description>
		<content:encoded><![CDATA[<p>Hi there, Unfortunately I lost track of the source code for this a while ago. It is all on the page however and copy &#038; pasting should work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhishek kr soni</title>
		<link>https://gamecodeschool.com/android/coding-android-sprite-sheet-animations/#comment-5289</link>
		<dc:creator><![CDATA[Abhishek kr soni]]></dc:creator>
		<pubDate>Wed, 15 Mar 2017 11:29:44 +0000</pubDate>
		<guid isPermaLink="false">http://gamecodeschool.com/?p=12095#comment-5289</guid>
		<description><![CDATA[Hi John
can you please give me the source code.]]></description>
		<content:encoded><![CDATA[<p>Hi John<br />
can you please give me the source code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Horton</title>
		<link>https://gamecodeschool.com/android/coding-android-sprite-sheet-animations/#comment-3256</link>
		<dc:creator><![CDATA[John Horton]]></dc:creator>
		<pubDate>Tue, 15 Nov 2016 08:38:58 +0000</pubDate>
		<guid isPermaLink="false">http://gamecodeschool.com/?p=12095#comment-3256</guid>
		<description><![CDATA[This is the line line that alters bob&#039;s horizontal position.

bobXPosition = bobXPosition + (walkSpeedPerSecond / fps);

Then in the dram method the call to drawBitmap uses whatever the current value of bobXPosition is. Your new object will need a variable to keep track of its x position as well.]]></description>
		<content:encoded><![CDATA[<p>This is the line line that alters bob&#8217;s horizontal position.</p>
<p>bobXPosition = bobXPosition + (walkSpeedPerSecond / fps);</p>
<p>Then in the dram method the call to drawBitmap uses whatever the current value of bobXPosition is. Your new object will need a variable to keep track of its x position as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zeng</title>
		<link>https://gamecodeschool.com/android/coding-android-sprite-sheet-animations/#comment-3247</link>
		<dc:creator><![CDATA[Zeng]]></dc:creator>
		<pubDate>Mon, 14 Nov 2016 02:03:08 +0000</pubDate>
		<guid isPermaLink="false">http://gamecodeschool.com/?p=12095#comment-3247</guid>
		<description><![CDATA[Hi John.

The obstacle would be a moving a object and I&#039;m trying to do it the same way as bob&#039;s horizontal coordinates. But im really confuse on what part does bob moves in a horizontal way.]]></description>
		<content:encoded><![CDATA[<p>Hi John.</p>
<p>The obstacle would be a moving a object and I&#8217;m trying to do it the same way as bob&#8217;s horizontal coordinates. But im really confuse on what part does bob moves in a horizontal way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Horton</title>
		<link>https://gamecodeschool.com/android/coding-android-sprite-sheet-animations/#comment-3246</link>
		<dc:creator><![CDATA[John Horton]]></dc:creator>
		<pubDate>Sun, 13 Nov 2016 17:06:14 +0000</pubDate>
		<guid isPermaLink="false">http://gamecodeschool.com/?p=12095#comment-3246</guid>
		<description><![CDATA[It depends what you are trying to achieve. If the obstacle is a moving object, perhaps like an enemy then you can move it the same way as you change Bob&#039;s horizontal coordinates. If it is stationary then it depends whether you want a single screen in which the object doesn&#039;t move and Bob moves towards or away from it. If you want a scrolling world where Bob stays in the centre of the screen and the whole world moves relative to his movement then you need a viewport as discussed in this &lt;a href=&quot;http://gamecodeschool.com/android/building-a-simple-android-2d-scrolling-shooter/&quot; rel=&quot;nofollow&quot;&gt;viewport tutorial&lt;/a&gt;.

Or perhaps I have misunderstood your question.]]></description>
		<content:encoded><![CDATA[<p>It depends what you are trying to achieve. If the obstacle is a moving object, perhaps like an enemy then you can move it the same way as you change Bob&#8217;s horizontal coordinates. If it is stationary then it depends whether you want a single screen in which the object doesn&#8217;t move and Bob moves towards or away from it. If you want a scrolling world where Bob stays in the centre of the screen and the whole world moves relative to his movement then you need a viewport as discussed in this <a href="http://gamecodeschool.com/android/building-a-simple-android-2d-scrolling-shooter/" rel="nofollow">viewport tutorial</a>.</p>
<p>Or perhaps I have misunderstood your question.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
