<?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>Jappit.com &#187; sprite colors</title>
	<atom:link href="http://www.jappit.com/blog/tag/sprite-colors/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jappit.com/blog</link>
	<description>Mobile blog by Alessandro La Rosa</description>
	<lastBuildDate>Wed, 23 Nov 2011 10:38:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Customizing game sprites with J2ME</title>
		<link>http://www.jappit.com/blog/2008/04/14/customizing-characters-images-with-j2me/</link>
		<comments>http://www.jappit.com/blog/2008/04/14/customizing-characters-images-with-j2me/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 10:07:07 +0000</pubDate>
		<dc:creator>pit</dc:creator>
				<category><![CDATA[j2me]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[forumnokia]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[sprite colors]]></category>

		<guid isPermaLink="false">http://www.jappit.com/blog/?p=15</guid>
		<description><![CDATA[You know, my great passion are games, and here&#8217;s a first game-related tutorial Often in games a nice feature to give to users it the possibility to customize their own character, for example changing colors of the different parts (hairs, eyes, shirt, and so on). To support this features there are 2 possibilities: Include a [...]]]></description>
			<content:encoded><![CDATA[<p>You know, my great passion are games, and here&#8217;s a first game-related tutorial <img src='http://www.jappit.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Often in games a nice feature to give to users it the possibility to customize their own character, for example changing colors of the different parts (hairs, eyes, shirt, and so on).</p>
<p><img src="http://www.jappit.com/images/blog/uploads/j2me_custom_colors.png" alt="" width="242" height="134" /></p>
<p>To support this features there are 2 possibilities:</p>
<ul>
<li> Include a different image for each color of each different part</li>
<li> Replace colors by code</li>
</ul>
<p>The second options will save you the effort to create these multiple images, and will strip down your JAR size. Also, it will allow you to support a lot more colors.</p>
<p>You can see a simple midlet showing how this can be done with simple code on the <a title="Customizing character colors with J2ME" href="http://www.jappit.com/?page=emulator&amp;midlet=custom_colors">emulator page</a></p>
<p>For the full source code you can visit the Forum Nokia Wiki page: <a title="J2ME Customizing Game Sprites Color" href="http://wiki.forum.nokia.com/index.php/J2ME_Customizing_Game_Sprites_Color">J2ME Customizing Game Sprites Color</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.jappit.com/blog/2008/04/14/customizing-characters-images-with-j2me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

