<?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: 2D Sprite Animation in Android Addendum</title>
	<atom:link href="http://www.droidnova.com/2d-sprite-animation-in-android-addendum,505.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.droidnova.com/2d-sprite-animation-in-android-addendum,505.html</link>
	<description>Rapid android development from Berlin</description>
	<lastBuildDate>Sat, 04 Feb 2012 17:50:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Tim H</title>
		<link>http://www.droidnova.com/2d-sprite-animation-in-android-addendum,505.html/comment-page-1#comment-2363</link>
		<dc:creator>Tim H</dc:creator>
		<pubDate>Fri, 18 Nov 2011 22:01:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=505#comment-2363</guid>
		<description>Hi,
Romain Guy is saying this setting is ignored in all versions of Android, for decodeResource:
http://stackoverflow.com/questions/7068132/why-would-i-ever-not-use-bitmapfactorys-inpurgeable-option/7068403#7068403</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Romain Guy is saying this setting is ignored in all versions of Android, for decodeResource:<br />
<a href="http://stackoverflow.com/questions/7068132/why-would-i-ever-not-use-bitmapfactorys-inpurgeable-option/7068403#7068403" rel="nofollow">http://stackoverflow.com/questions/7068132/why-would-i-ever-not-use-bitmapfactorys-inpurgeable-option/7068403#7068403</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doomed</title>
		<link>http://www.droidnova.com/2d-sprite-animation-in-android-addendum,505.html/comment-page-1#comment-1470</link>
		<dc:creator>Doomed</dc:creator>
		<pubDate>Fri, 26 Nov 2010 16:33:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=505#comment-1470</guid>
		<description>I know this is a little off topic however i was really impressed with this site and as a graphic designer it was good to get a little insight into how sprites are processed. Its also 3:27am and ive had a few beers... However i was hoping to find some information or direction into specifications or tutorials for creating sprites in photoshop or any other software (Mac). I have been a print designer for 8 years and have just been offered a chance to develop games and apps for both Iphone and android but have no current knowledge of the file formats and specs required, any help would be greatly appreciated.
doomedink (at) hotmail (dot) com
cheers!</description>
		<content:encoded><![CDATA[<p>I know this is a little off topic however i was really impressed with this site and as a graphic designer it was good to get a little insight into how sprites are processed. Its also 3:27am and ive had a few beers&#8230; However i was hoping to find some information or direction into specifications or tutorials for creating sprites in photoshop or any other software (Mac). I have been a print designer for 8 years and have just been offered a chance to develop games and apps for both Iphone and android but have no current knowledge of the file formats and specs required, any help would be greatly appreciated.<br />
doomedink (at) hotmail (dot) com<br />
cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barbared</title>
		<link>http://www.droidnova.com/2d-sprite-animation-in-android-addendum,505.html/comment-page-1#comment-1059</link>
		<dc:creator>barbared</dc:creator>
		<pubDate>Tue, 27 Apr 2010 02:47:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=505#comment-1059</guid>
		<description>intresting post, but.......why you load the bitmap in the sprite class? 
i mean. if yuo create a class to store all the bitmap, then load there the bitmap as needed  and pass that class to all the the sprite instances you need on screen, if u have to use...let say, 200+ sprite animation of the same, yuo still have loaded only one bitmap for all the animation on screen.  
sure, yuo still need to purge the bitmaps at the end anyway :P. (sry for the engRish )</description>
		<content:encoded><![CDATA[<p>intresting post, but&#8230;&#8230;.why you load the bitmap in the sprite class?<br />
i mean. if yuo create a class to store all the bitmap, then load there the bitmap as needed  and pass that class to all the the sprite instances you need on screen, if u have to use&#8230;let say, 200+ sprite animation of the same, yuo still have loaded only one bitmap for all the animation on screen.<br />
sure, yuo still need to purge the bitmaps at the end anyway <img src='http://www.droidnova.com/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> . (sry for the engRish )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thorsten</title>
		<link>http://www.droidnova.com/2d-sprite-animation-in-android-addendum,505.html/comment-page-1#comment-958</link>
		<dc:creator>Thorsten</dc:creator>
		<pubDate>Mon, 22 Mar 2010 06:55:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=505#comment-958</guid>
		<description>Line three in Andre&#039;s code should say:
BitmapFactory.Options.class.getField(&quot;inPurgeable&quot;).set(opts, true);</description>
		<content:encoded><![CDATA[<p>Line three in Andre&#8217;s code should say:<br />
BitmapFactory.Options.class.getField(&#8220;inPurgeable&#8221;).set(opts, true);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: André</title>
		<link>http://www.droidnova.com/2d-sprite-animation-in-android-addendum,505.html/comment-page-1#comment-738</link>
		<dc:creator>André</dc:creator>
		<pubDate>Fri, 01 Jan 2010 13:53:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=505#comment-738</guid>
		<description>Wonderful tip! I wouldn&#039;t have discovered this on my own...

But there are still a lot of Android 1.5 devices out there. Actually more than 25% users of my game Puzzle Blox are still on 1.5. So it&#039;s quite important to me not to break backward compatibility.

Here&#039;s the code I&#039;m using:
&lt;pre lang=&quot;java&quot; line=&quot;1&quot;&gt;BitmapFactory.Options opts = new BitmapFactory.Options(); 
try {
  BitmapFactory.class.getField(&quot;inPurgeable&quot;).set(opts, true);
} catch (Exception e) { 
  // inPurgeable is not supported on the current API level
}&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Wonderful tip! I wouldn&#8217;t have discovered this on my own&#8230;</p>
<p>But there are still a lot of Android 1.5 devices out there. Actually more than 25% users of my game Puzzle Blox are still on 1.5. So it&#8217;s quite important to me not to break backward compatibility.</p>
<p>Here&#8217;s the code I&#8217;m using:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="java" style="font-family:monospace;">BitmapFactory.<span style="color: #006633;">Options</span> opts <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> BitmapFactory.<span style="color: #006633;">Options</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
<span style="color: #000000; font-weight: bold;">try</span> <span style="color: #009900;">&#123;</span>
  BitmapFactory.<span style="color: #000000; font-weight: bold;">class</span>.<span style="color: #006633;">getField</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;inPurgeable&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">set</span><span style="color: #009900;">&#40;</span>opts, <span style="color: #000066; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span><span style="color: #003399;">Exception</span> e<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
  <span style="color: #666666; font-style: italic;">// inPurgeable is not supported on the current API level</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://www.droidnova.com/2d-sprite-animation-in-android-addendum,505.html/comment-page-1#comment-384</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Tue, 20 Oct 2009 10:42:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=505#comment-384</guid>
		<description>Good tip, really helps! :)</description>
		<content:encoded><![CDATA[<p>Good tip, really helps! <img src='http://www.droidnova.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DR</title>
		<link>http://www.droidnova.com/2d-sprite-animation-in-android-addendum,505.html/comment-page-1#comment-368</link>
		<dc:creator>DR</dc:creator>
		<pubDate>Mon, 05 Oct 2009 21:26:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=505#comment-368</guid>
		<description>API level 4 is Android 1.6 Donut and your right it won&#039;t run on 1.5 devices. However you can run it in the 1.6 emulator and 1.6 should be released to commercial devices in the next few weeks meaning you can then deploy it to devices as normal.</description>
		<content:encoded><![CDATA[<p>API level 4 is Android 1.6 Donut and your right it won&#8217;t run on 1.5 devices. However you can run it in the 1.6 emulator and 1.6 should be released to commercial devices in the next few weeks meaning you can then deploy it to devices as normal.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Flockton</title>
		<link>http://www.droidnova.com/2d-sprite-animation-in-android-addendum,505.html/comment-page-1#comment-346</link>
		<dc:creator>Stephen Flockton</dc:creator>
		<pubDate>Thu, 24 Sep 2009 20:38:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=505#comment-346</guid>
		<description>API level 4 is Android 1.6 Donut and your right it won&#039;t run on 1.5 devices. However you can run it in the 1.6 emulator and 1.6 should be released to commercial devices in the next few weeks meaning you can then deploy it to devices as normal.</description>
		<content:encoded><![CDATA[<p>API level 4 is Android 1.6 Donut and your right it won&#8217;t run on 1.5 devices. However you can run it in the 1.6 emulator and 1.6 should be released to commercial devices in the next few weeks meaning you can then deploy it to devices as normal.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: honte</title>
		<link>http://www.droidnova.com/2d-sprite-animation-in-android-addendum,505.html/comment-page-1#comment-345</link>
		<dc:creator>honte</dc:creator>
		<pubDate>Thu, 24 Sep 2009 20:17:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.droidnova.com/?p=505#comment-345</guid>
		<description>Then, this means that this app won&#039;t work in Android 1.5 devices? as seen in the doc : http://developer.android.com/intl/es/guide/appendix/api-levels.html#level4 , api level 4 means that the devices must run at least Android 2.0 Donut.</description>
		<content:encoded><![CDATA[<p>Then, this means that this app won&#8217;t work in Android 1.5 devices? as seen in the doc : <a href="http://developer.android.com/intl/es/guide/appendix/api-levels.html#level4" rel="nofollow">http://developer.android.com/intl/es/guide/appendix/api-levels.html#level4</a> , api level 4 means that the devices must run at least Android 2.0 Donut.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

