<?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>3P Blog &#187; game development</title>
	<atom:link href="http://3p-blog.com/category/game-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://3p-blog.com</link>
	<description>3P is K.G.B.</description>
	<lastBuildDate>Thu, 26 Jan 2012 13:22:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Resist the Temptation of Crossplatform</title>
		<link>http://3p-blog.com/resist-the-temptation-of-crossplatform/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=resist-the-temptation-of-crossplatform</link>
		<comments>http://3p-blog.com/resist-the-temptation-of-crossplatform/#comments</comments>
		<pubDate>Sat, 21 Jan 2012 14:39:14 +0000</pubDate>
		<dc:creator>matrix</dc:creator>
				<category><![CDATA[game development]]></category>
		<category><![CDATA[cocos2d-x]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[LibGdx]]></category>
		<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://matrix.3p-blog.com/?p=242</guid>
		<description><![CDATA[Porting game to different platform is boring compared with developing new game, that&#8217;s why there are so many technicals to solve this problem. Developed once, deploy everywhere. It&#8217;s really awesome for everyone want their software run on different platforms. iPhone &#8230; <a href="http://3p-blog.com/resist-the-temptation-of-crossplatform/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Porting game to different platform is boring compared with developing new game, that&#8217;s why there are so many technicals to solve this problem. Developed once, deploy everywhere. It&#8217;s really awesome for everyone want their software run on different platforms.</p>
<p>iPhone and Android are two big tribes in mobile industry and they are so different, obj-c and java, that make crossplatform developing very difficult. Right now the best way is Unity, but I have to say it really a bit expensive for small budget developer(like me <img src='http://3p-blog.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> . Recently the cocos2d-x attract my attention a lot, it seems like very promising and there&#8217;re already many games released with it. But after careful consideration, I resist the temptation. Below are my reasons.</p>
<p>1.It&#8217;s not mature enough, for Android, there some phones they don&#8217;t support. Maybe it&#8217;s best tool for porting iPhone game developed with cocos2d-iPhone to Android, but I don&#8217;t have strong sense of security on Android.</p>
<p>2.Learn new technology cost a lot. cocos2d-x use c++ and the API is like cocos2d family, I know c++ but the API is stranger to me.</p>
<p>3.Debug is difficult on Android.</p>
<p>4.Native technology is the best friend of platform, always.</p>
<p>5.The most important things in making game is making a good game. If the game is not a game on a platform, so it&#8217;s not neither on the other. Technical complexity would attract more attention than we should paid, means less attention to the game itself.</p>
<p>So, libgdx is still my best friend on Android <img src='http://3p-blog.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://3p-blog.com/resist-the-temptation-of-crossplatform/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Before Evil Come Postmortem</title>
		<link>http://3p-blog.com/before-evil-come-postmortem/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=before-evil-come-postmortem</link>
		<comments>http://3p-blog.com/before-evil-come-postmortem/#comments</comments>
		<pubDate>Thu, 05 May 2011 08:59:20 +0000</pubDate>
		<dc:creator>matrix</dc:creator>
				<category><![CDATA[game development]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[LD48]]></category>
		<category><![CDATA[LibGdx]]></category>

		<guid isPermaLink="false">http://matrix.3p-blog.com/?p=193</guid>
		<description><![CDATA[Before Evil Come Well, I really made it. This is my first Ludum Dare, and actually my second playable game. Before this competition start, I’m  so exciting and also doubt whether I can finish it. I made a strategy for &#8230; <a href="http://3p-blog.com/before-evil-come-postmortem/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a title="Before Evil Come" href="http://www.ludumdare.com/compo/ludum-dare-20/?action=rate&amp;uid=4067" target="_blank">Before Evil Come</a></p>
<p>Well, I really made it. This is my first Ludum Dare, and actually my second playable game.</p>
<p>Before this competition start, I’m  so exciting and also doubt whether I can finish it. I made a strategy for myself, no collision detection, no physic and no animation. I know they’re important for a game, but I can’t count them in before I really conquer them.</p>
<h2><strong>Game Overview</strong></h2>
<p>This is an evil game like the title said. You’re a demon<a rel="attachment wp-att-53055" href="http://matrix.3p-blog.com/?attachment_id=53055"><img src="http://www.ludumdare.com/compo/wp-content/uploads/2011/05/player.png" alt="" width="32" height="32" /></a>, came to our world, because good man<a rel="attachment wp-att-53058" href="http://matrix.3p-blog.com/?attachment_id=53058"><img src="http://www.ludumdare.com/compo/wp-content/uploads/2011/05/human.png" alt="" width="32" height="32" /></a> protect us you have nothing to do without some buddies. So you go to the wild and hope get some buddies<a rel="attachment wp-att-53064" href="http://matrix.3p-blog.com/?attachment_id=53064"><img src="http://www.ludumdare.com/compo/wp-content/uploads/2011/05/zombie.png" alt="" width="32" height="32" /></a><a rel="attachment wp-att-53063" href="http://matrix.3p-blog.com/?attachment_id=53063"><img src="http://www.ludumdare.com/compo/wp-content/uploads/2011/05/skull.png" alt="" width="32" height="32" /></a> join you. Although it’s wild, still some enemy out there. You can have rest in house<a rel="attachment wp-att-53059" href="http://matrix.3p-blog.com/?attachment_id=53059"><img src="http://www.ludumdare.com/compo/wp-content/uploads/2011/05/house.png" alt="" width="32" height="32" /></a> and graveyard<a rel="attachment wp-att-53062" href="http://matrix.3p-blog.com/?attachment_id=53062"><img src="http://www.ludumdare.com/compo/wp-content/uploads/2011/05/tomestone.png" alt="" width="32" height="32" /></a>, but be careful your enemy also rest in some house. After defeat your enemy, you gain exp and may level up. The more buddies and hight level you have, you can kill more people. If you don’t have any buddies, you die.</p>
<p><span style="text-align:center; display: block;"><a href="http://3p-blog.com/before-evil-come-postmortem/"><img src="http://img.youtube.com/vi/xTQy3oZNGtM/2.jpg" alt="" /></a></span></p>
<p><span style="font-size: 20px;font-weight: bold"><strong>Developing Tools</strong></span></p>
<p>I used below great tools.</p>
<p><a title="Libgdx Google Code Site" href="http://code.google.com/p/libgdx/">Libgdx</a>: an open source Java game engine, also supports Android. It’s really good and best game engine on Android in my mind. The texture packer and bitmap font generator tools are very helpful for me in this competition.</p>
<p>Gimp and Inkscape: all graphic assets are made by this two software.  I think Inkscape is a good tool to draw cartoon style graphic.</p>
<p><a title="bfxr" href="http://www.bfxr.net/">Bfxr</a>, LMMS and Audacity: The BGM was made by LMMS and other sounds were from Bfxr. Audacity handle the polish work.</p>
<h2><strong>Developing Process</strong></h2>
<p>Ok, enough background, I want talk about how I made this game. When I knew the theme <em>It’s Dangerous to Go Alone, Take This., </em>the first idea was ant. Tiny ants group a great army to defeat strong army. Based this idea, I split gameplay to two steps, first summon army and second defeat big boss. The bigger army got in step 1, the easier in step 2.</p>
<p>Because I like dead creatures so I replace ants with zombie and skeleton. I’m not expert of complicated control game, so one click control is my choice. Top view, tile map and my cute dead creature, first stage is done.</p>
<p>When I start made second stage, I hesitated. It’s actually a totally different game, did I have enough time to finish it? I give it up at last, instead I made a slot machine mini game, whose digit number is lead by gain points in first stage.  (OK, actually I am just lazy <img src="http://www.ludumdare.com/compo/wp-includes/images/smilies/icon_wink.gif" alt=";-)" /></p>
<p>After add story board of game background, this game finally done. It’s mini and some kind shabby, but I really love it. So do my girlfriend, though she just like click things and don’t care game content.</p>
<p><img src="http://www.ludumdare.com/compo/wp-content/compo2/45257/4067-shot0.png" alt="" width="482" height="289" /></p>
<h2><strong>Conclution</strong></h2>
<p>Cons:</p>
<p>1.Not enough feedback when player made decision.</p>
<p>2.Inside game mechanic is too simple. OK, maybe it’s some kind pro <img src="http://www.ludumdare.com/compo/wp-includes/images/smilies/icon_smile.gif" alt=":-)" /> .</p>
<p>3.Not enough introduction, player would be confused <img src="http://www.ludumdare.com/compo/wp-includes/images/smilies/icon_sad.gif" alt=":-(" /></p>
<p>Pros :</p>
<p>1.It’s really very easy.</p>
<p>2.My cartoon characters are cute, isn’t it, especially when player lose. I love the skeleton on the cross.</p>
<p>Hope you like this game and my poor English not disturb you. <img src="http://www.ludumdare.com/compo/wp-includes/images/smilies/icon_smile.gif" alt=":-)" /></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://3p-blog.com/before-evil-come-postmortem/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Save Each Layer as Separate File in Gimp</title>
		<link>http://3p-blog.com/save-each-layer-as-separate-file-in-gimp/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=save-each-layer-as-separate-file-in-gimp</link>
		<comments>http://3p-blog.com/save-each-layer-as-separate-file-in-gimp/#comments</comments>
		<pubDate>Tue, 05 Apr 2011 03:21:24 +0000</pubDate>
		<dc:creator>matrix</dc:creator>
				<category><![CDATA[Android Game Untitled]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[gimp]]></category>
		<category><![CDATA[layer]]></category>

		<guid isPermaLink="false">http://matrix.3p-blog.com/?p=190</guid>
		<description><![CDATA[Karen create some awesome explode animations, she draw each frame on a layer. We need save each layer as a separate file, however, gimp don&#8217;t support it natively. Luckily, there &#8216;s script can do everything we want. I found a &#8230; <a href="http://3p-blog.com/save-each-layer-as-separate-file-in-gimp/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Karen create some awesome explode animations, she draw each frame on a layer. We need save each layer as a separate file, however, gimp don&#8217;t support it natively. Luckily, there &#8216;s script can do everything we want. I found a useful script <a href="http://registry.gimp.org/node/15617">here</a>. It works very well.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://3p-blog.com/save-each-layer-as-separate-file-in-gimp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Solved]Can&#8217;t resume from Sleep on Nexus S with Libgdx</title>
		<link>http://3p-blog.com/solvedcant-resume-from-sleep-on-nexus-s-with-libgdx/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=solvedcant-resume-from-sleep-on-nexus-s-with-libgdx</link>
		<comments>http://3p-blog.com/solvedcant-resume-from-sleep-on-nexus-s-with-libgdx/#comments</comments>
		<pubDate>Wed, 30 Mar 2011 09:23:36 +0000</pubDate>
		<dc:creator>matrix</dc:creator>
				<category><![CDATA[Android Game Untitled]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[LibGdx]]></category>

		<guid isPermaLink="false">http://matrix.3p-blog.com/?p=188</guid>
		<description><![CDATA[When I test my game on my Nexus S, strange things happened. I pressed power button in my game, the phone fall asleep and my game paused. After touched the power button again, the screen is black and nothing showed &#8230; <a href="http://3p-blog.com/solvedcant-resume-from-sleep-on-nexus-s-with-libgdx/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When I test my game on my Nexus S, strange things happened. I pressed power button in my game, the phone fall asleep and my game paused. After touched the power button again, the screen is black and nothing showed up.</p>
<p>After check the forum of Libgdx, I found the <a href="http://www.badlogicgames.com/forum/viewtopic.php?f=11&amp;t=384&amp;hilit=onSurfaceChanged&amp;start=20" target="_blank">method</a> to solve this problem.</p>
<blockquote><p>by <strong><a href="http://www.badlogicgames.com/forum/memberlist.php?mode=viewprofile&amp;u=2">mzechner</a></strong> » Mon Feb 21, 2011 8:05 pm</p>
<div>Ay. Could you do me a favor and add</p>
<p><strong>&lt;activity android:configChanges=&#8221;orientation|keyboard|keyboardHidden&#8221; &#8230; &gt;</strong></p>
<p>to your activity tag?</p>
<p>I&#8217;ll try to reproduce this locally with the phones i got.</p></div>
</blockquote>
<p>After add the android:configChanges parameter in my AndroidManifest.xml, everything is OK.</p>
]]></content:encoded>
			<wfw:commentRss>http://3p-blog.com/solvedcant-resume-from-sleep-on-nexus-s-with-libgdx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ClassCastException when use TexturePacker of Libgdx</title>
		<link>http://3p-blog.com/classcastexception-when-use-texturepacker-of-libgdx/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=classcastexception-when-use-texturepacker-of-libgdx</link>
		<comments>http://3p-blog.com/classcastexception-when-use-texturepacker-of-libgdx/#comments</comments>
		<pubDate>Fri, 04 Mar 2011 12:39:19 +0000</pubDate>
		<dc:creator>matrix</dc:creator>
				<category><![CDATA[Android Game Untitled]]></category>
		<category><![CDATA[gimp]]></category>
		<category><![CDATA[LibGdx]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[texturepacker]]></category>

		<guid isPermaLink="false">http://matrix.3p-blog.com/?p=184</guid>
		<description><![CDATA[The weekly report of Android Game Untitled is paused, the game is still in  progress. TexturePacker is useful extension class of Libgdx, it packed all images in one folder to one image with power of 2 width and height and &#8230; <a href="http://3p-blog.com/classcastexception-when-use-texturepacker-of-libgdx/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The weekly report of Android Game Untitled is paused, the game is still in  progress.</p>
<p><a title="tutorial of using TexturePacker" href="http://code.google.com/p/libgdx/wiki/TexturePacker" target="_blank">TexturePacker</a> is useful extension class of Libgdx, it packed all images in one folder to one image with power of 2 width and height and create a pack file record the coordinate info of each sub image. With <a title="TextureAtlas Javadoc" href="http://libgdx.googlecode.com/svn/api/com/badlogic/gdx/graphics/TextureAtlas.AtlasRegion.html" target="_blank">TextureAtlas</a> you can  load subimage from the assembled one easily. Why we use this not directly use several images. That&#8217;s because</p>
<p>1.The width and height of Texture should be pow of 2, that&#8217;s not convenient when you want use other width and length.</p>
<p>2.Loading several images is slower than loading one.</p>
<p>When I use the TexturePacker I get an exception</p>
<p>Exception in thread &#8220;main&#8221; java.lang.ClassCastException: [B cannot be cast to [S<br />
at sun.awt.image.ShortInterleavedRaster.getDataElements(ShortInterleavedRaster.java:245)<br />
at com.matrix.libgdx.util.TexturePacker.squeeze(TexturePacker.java:362)<br />
at com.matrix.libgdx.util.TexturePacker.addImage(TexturePacker.java:98)<br />
at com.matrix.libgdx.util.TexturePacker.&lt;init&gt;(TexturePacker.java:78)<br />
at com.matrix.libgdx.util.TexturePacker.process(TexturePacker.java:748)<br />
at com.matrix.libgdx.util.TexturePacker.process(TexturePacker.java:837)<br />
at com.matrix.libgdx.util.MyPacker.main(TexPacker.java:12)</p>
<p>Because I don&#8217;t find any others who confronted the same problem, I think it&#8217;s maybe my fault. After digging a while, using debug I found the reason, Every time when squeeze a special file the source.getAlphaRaster() return a ShortInterleavedRaster and that lead to the exception.</p>
<p>I have no idea of this png file, it&#8217;s same as others to me. And the only difference between them maybe the special one made by Photoshop and others by GIMP. It seems like the alpha raster of image made by Photoshop is short not byte. It&#8217;s just my guess, not sure about that. After removed it, everything is OK. <img src="http://www.badlogicgames.com/forum/images/smilies/icon_lol.gif" alt=":lol:" /></p>
]]></content:encoded>
			<wfw:commentRss>http://3p-blog.com/classcastexception-when-use-texturepacker-of-libgdx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android Game Untitled Week Six</title>
		<link>http://3p-blog.com/android-game-untitled-week-six/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=android-game-untitled-week-six</link>
		<comments>http://3p-blog.com/android-game-untitled-week-six/#comments</comments>
		<pubDate>Mon, 21 Feb 2011 08:15:06 +0000</pubDate>
		<dc:creator>matrix</dc:creator>
				<category><![CDATA[Android Game Untitled]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[develop]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[LibGdx]]></category>
		<category><![CDATA[multi-layer]]></category>

		<guid isPermaLink="false">http://matrix.3p-blog.com/?p=179</guid>
		<description><![CDATA[Alpha 1 released, hurrah! The whole game is nasty right now, I should add real graphic stuff, animation, sound, music, better UI and more funny gameplay. Although there is a lot of things to do and at the same time &#8230; <a href="http://3p-blog.com/android-game-untitled-week-six/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Alpha 1 released, hurrah!</p>
<p style="text-align: center"><a href="http://matrix.3p-blog.com/files/2011/02/alpha_1.png"><img class="size-medium wp-image-180 aligncenter" src="http://matrix.3p-blog.com/files/2011/02/alpha_1-300x196.png" alt="" width="300" height="196" /></a></p>
<p style="text-align: left">The whole game is nasty right now, I should add real graphic stuff, animation, sound, music, better UI and more funny gameplay. Although there is a lot of things to do and at the same time I learned a lot of things.</p>
<p style="text-align: left">The art style in this game is cartoon like, I found a great vector design tool <a href="http://www.inkscape.org/" target="_blank">Inkscape</a>. It&#8217;s easy to use and have a lot of tutorial, and it&#8217;s free and open source, great tool for indie game group with limited budget like us.</p>
<p style="text-align: left">In this game, I want some sprites always on the top. However, libgdx can not create multi-layer or set the z-order directly with the Stage class. <em>Update: Different from AndEngine, the multi-layer is implement with groups in libgdx(thx the heroes  behind libgdx, I&#8217;ll think twice before post <img src='http://3p-blog.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  ). </em>All actor in stage drew in the order of adding in stage. Later added actor on the top of before ones. There&#8217;s a easier way to implement multi-layer in stage. Create some Groups, each group behalf of one layer, the later added group has bigger z-order, the last group is always on the top. Then just add actors to the  group  instead of adding them to the stage directly. The basic multi-layer function has done.</p>
<p style="text-align: left">In this week, I&#8217;ll concentrate on the graphic and gameplay.</p>
]]></content:encoded>
			<wfw:commentRss>http://3p-blog.com/android-game-untitled-week-six/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Android Game Untitled Week Four</title>
		<link>http://3p-blog.com/android-game-untitled-week-four/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=android-game-untitled-week-four</link>
		<comments>http://3p-blog.com/android-game-untitled-week-four/#comments</comments>
		<pubDate>Tue, 08 Feb 2011 02:40:30 +0000</pubDate>
		<dc:creator>matrix</dc:creator>
				<category><![CDATA[Android Game Untitled]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[game]]></category>

		<guid isPermaLink="false">http://matrix.3p-blog.com/?p=169</guid>
		<description><![CDATA[How fast the time is. Actually this week I only spend 2 or 3 days on the project. I simplified the role creation module. Before that I should wrote a create method for every role class. These classes all inherited &#8230; <a href="http://3p-blog.com/android-game-untitled-week-four/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>How fast the time is. Actually this week I only spend 2 or 3 days on the project.</p>
<p>I simplified the role creation module. Before that I should wrote a create method for every role class. These classes all inherited from a abstract class, they have different name, and I should call corresponding constructor. The classes I would constructed is saved in a XML file with their names. So I use reflection to construct them with their class name in runtime. Although it would affect the efficiency, considered the mess I wrote for the classes, I can sacrifice some efficiency.</p>
<p>Another work I did was making the main game loop, now we can call it a game not a prototype. Karen made some draft of graphic assets, seems like she is already on the way.</p>
]]></content:encoded>
			<wfw:commentRss>http://3p-blog.com/android-game-untitled-week-four/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android Game Untitled Week Three</title>
		<link>http://3p-blog.com/android-game-untitled-week-three/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=android-game-untitled-week-three</link>
		<comments>http://3p-blog.com/android-game-untitled-week-three/#comments</comments>
		<pubDate>Tue, 25 Jan 2011 13:34:50 +0000</pubDate>
		<dc:creator>matrix</dc:creator>
				<category><![CDATA[Android Game Untitled]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[JVM]]></category>
		<category><![CDATA[LibGdx]]></category>

		<guid isPermaLink="false">http://matrix.3p-blog.com/?p=159</guid>
		<description><![CDATA[This weekly report is a little late, my weekends are busier than weekdays, can you belivie that? Last week I refactored many classes, most of them are related to Scene and Role, now I have factory class to build them. &#8230; <a href="http://3p-blog.com/android-game-untitled-week-three/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This weekly report is a little late, my weekends are busier than weekdays, can you belivie that?</p>
<p>Last week I refactored many classes, most of them are related to Scene and Role, now I have factory class to build them. There&#8217;s some sprite in my game can change their size, not scale themselves but looks like openging a scroll. I implement this feature with changing the region size I applied to the texture. Although it doesn&#8217;t support circle, it&#8217;s good for me right now.</p>
<p>I also add real contact handler and a boundary. I found a JVM crash after colliding many times, I&#8217;m not sure whether my fault or something wrong else where. I will put it to debug period to handle.</p>
]]></content:encoded>
			<wfw:commentRss>http://3p-blog.com/android-game-untitled-week-three/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android Game Untitled Week Two</title>
		<link>http://3p-blog.com/android-game-untitled-week-two/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=android-game-untitled-week-two</link>
		<comments>http://3p-blog.com/android-game-untitled-week-two/#comments</comments>
		<pubDate>Sun, 16 Jan 2011 11:19:14 +0000</pubDate>
		<dc:creator>matrix</dc:creator>
				<category><![CDATA[Android Game Untitled]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[gravity]]></category>
		<category><![CDATA[LibGdx]]></category>

		<guid isPermaLink="false">http://matrix.3p-blog.com/?p=156</guid>
		<description><![CDATA[Well, another week passed, how fast the time is. The LibGdx engine has another awesome feature I forgot on last post, and this is most important feature besides  the speed. LibGdx allows you programs on desktop and debug it, and &#8230; <a href="http://3p-blog.com/android-game-untitled-week-two/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Well, another week passed, how fast the time is. The LibGdx engine has another awesome feature I forgot on last post, and this is most important feature besides  the speed. LibGdx allows you programs on desktop and debug it, and later run it on Android only need change several lines of code. That&#8217;s really speed up my development.</p>
<p>This week I add sprite animation function which LibGdx not support it. And some physic manager class to associate Box2D body with my sprite, and because Box2D not support radial gravity so I made my own with apply force to body.</p>
<p>Beside the programming stuff, Karen is watching the Painter tutorial video, beginning pain with her. I made a draft of  the game play and some basic idea of the background music. A lot of stuff need to do, fortunately I enjoy it.</p>
]]></content:encoded>
			<wfw:commentRss>http://3p-blog.com/android-game-untitled-week-two/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android Game Untitled Week One</title>
		<link>http://3p-blog.com/android-game-untitled-week-one/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=android-game-untitled-week-one</link>
		<comments>http://3p-blog.com/android-game-untitled-week-one/#comments</comments>
		<pubDate>Mon, 10 Jan 2011 14:04:18 +0000</pubDate>
		<dc:creator>matrix</dc:creator>
				<category><![CDATA[Android Game Untitled]]></category>
		<category><![CDATA[Andengine]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[LibGdx]]></category>
		<category><![CDATA[Rokon]]></category>
		<category><![CDATA[SAX]]></category>

		<guid isPermaLink="false">http://matrix.3p-blog.com/?p=150</guid>
		<description><![CDATA[As my plan for my first Android game is first three month in  2011, the past week surely be my first week on it. I&#8217;ll write weekly report of the development. For the game engine, I have three candidate Rokon, &#8230; <a href="http://3p-blog.com/android-game-untitled-week-one/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As my plan for my first Android game is first three month in  2011, the past week surely be my first week on it. I&#8217;ll write weekly report of the development.</p>
<p>For the game engine, I have three candidate Rokon, Andengine and LibGdx. Rokon is suck of course, I even can&#8217;t run the example Hello World. That&#8217;s not my fault, at first I thought I messed it up and after check the Google I found a lot of guys confront the same problem, so Rokon is out. and I glad to see this project is canceled, that&#8217;s good for the world. Am I so mean?:-)</p>
<p>I developed with Andengine three weeks for a prototype, and I have to say it&#8217;s a good game engine. The reason why I transfer from it to LibGdx only because the later one is better for me. The guys in Badlogic Games is so hard working, I like the updating speed of their blog and the code trunk and I got a lot of useful knowledge from them. The running speed on device is another reason I choose LibGdx. Actually the profiling post let me know this awesome engine, and my own profiling test finally let me make the decision.</p>
<p>In the past week, I wrote a XML parser with SAX and implemented some visual related class based on Stage and Actor. Right now, I can load a XML file and create the game scene. Not too much work I have done in this week, I should hard working.</p>
<p>The logo of our studio is done, but I think it need polish. I will show it at the right time.</p>
]]></content:encoded>
			<wfw:commentRss>http://3p-blog.com/android-game-untitled-week-one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

