★ TouchArcade needs your help. Click here to support us on Patreon.

iPhone: Pocket God 1.05 - Throwing coconuts on sleeping pygmies.

View Poll Results: Which icon should be included with next update
Original Recipe! 6 5.83%
Stop my App is on Fire! 24 23.30%
You Lightning up my life! 18 17.48%
Sunset 55 53.40%
Voters: 103. You may not vote on this poll
02-11-2009, 03:07 AM
Joined: Jan 2009
Location: San Francisco, Ca
Posts: 1,477
Pocket God 1.05 - Throwing coconuts on sleeping pygmies.

Hey Guys,

We just submitted the final build to Apple for approval, we were a little later than usually because of a development environment issue but we were able to use the extra time to make sure the build was stable and do more polishing than what would have happened late Sunday night.

So, this was a really interesting update, it was our first nice update for the game and it actually made me a little nervious at first because I felt that we had to keep getting more and more evil to make the game fun to play. But so far all the beta testers and anyone who has seen it really likes it, so maybe we will do more like this in the future. Also, with this update, we managed to keep all the new functionality triggers in the environment itself by allows you to just drag the sun/moon/coconut to make things happen but we are running out of ways to use the environment like this, so I think the next update might include some kind of menu with ways of enabling/disabling functionality (will probably make the accelerometer an option too). Don't get me wrong, we will still look to put triggers into the environment when if feels natural, but its starting to feel like we will have to forcing you to do some really weird gestures to trigger features if we continue doing this for the next 3 or 4 weeks (or longer).

On the technical side, I managed to make a breakthrough in the texture department. we ended up using a texture atlasing algorithm by a guy named Javier Arevalo who used to do really kick ass pc demos in the 90s. Here is a pic of the two versions.

the previous guy's algorithm who claimed to have incredible results.

Cycgon Atlas

The new kick ass pc demo guy's algorithm

Arevalo Atlas

I filled the alpha of the texture with red so I can tell how much waste each version was generating. The Cygon version couldn't even fit the island in it, but the Arevalo version has everything with room to spare and slmost no wasted space between textures.

I created a python script that basically goes through a list of textures from our main xml file, creates these bitmaps and spits out xml that tells the engine how to find each texture.

this is a sample of the xml that is needed to find the image, I added each corner of the image to the xml so later on I can rotate or reverse the textures if it means I can get better compression.

<textureAtlas id="atlas0" filename="TextureAtlas0" ext="png">
    <atlasTextureDef id="IslandTexture" x0="0" y0="0" x1="463" y1="0" x2="0" y2="121" x3="463" y3="121"/>
    <atlasTextureDef id="Cloud1Texture" x0="0" y0="121" x1="452" y1="121" x2="0" y2="263" x3="452" y3="263"/>
    <atlasTextureDef id="CoconutHalf" x0="116" y0="580" x1="135" y1="580" x2="116" y2="592" x3="135" y3="592"/>
While it would be awesome if we could call it a day and stop working on texture optimization, we still have a long way to go if we want to keep pumping out updates with new animation.

So, the next step for textures is to crop each image to its smallest non alpha space (you can see a lot of red in the atlas that we can get rid of). and automate it so Allan doesnt have to do it manually. The pygmies are in 64x64 textures and hardly any of them take up the full space, we can probably cut our pygmy memory in half by cropping them and adding them to a texture. The other thing we are looking at is 16bit color, this would double the amount of texture space we have.

One more thing, If you like the game and the updates that we make each week, help us get the word out, we have a facebook page and a youtube channel and we need to stay at a good ranking on the top apps list in order to justify updating it every week. You've given us a ton of ideas and nothing would make us happier than to put it all in the app.

Last edited by davecazz; 02-11-2009 at 03:20 AM.
02-11-2009, 03:28 AM
Joined: Nov 2008
Location: San Pedro (Port of Los Angeles), California, USA
Posts: 823
Send a message via ICQ to applesauce25r624 Send a message via AIM to applesauce25r624 Send a message via MSN to applesauce25r624 Send a message via Yahoo to applesauce25r624 Send a message via Skype™ to applesauce25r624
:O :O :O

can't wait for this

.(>^_^).> <3 <3 <3 ! ! !

02-11-2009, 03:31 AM
Joined: Nov 2008
Posts: 1,094
thats it?!?!?
02-11-2009, 03:34 AM
Joined: Jan 2009
Posts: 106
yay! ^^
02-11-2009, 03:35 AM
Joined: Jan 2009
Posts: 106
Originally Posted by ericxd View Post
thats it?!?!?
i think he meant, final build for v1.05
02-11-2009, 04:18 AM
Joined: Jan 2009
Posts: 106
preview of pocket god v1.05

new logo, transition of time, coconuts!!!
Attached Thumbnails
Click image for larger version

Name:	photo.jpg
Views:	37
Size:	26.4 KB
ID:	1137   Click image for larger version

Name:	photo(2).jpg
Views:	36
Size:	41.6 KB
ID:	1138   Click image for larger version

Name:	photo(3).jpg
Views:	36
Size:	40.6 KB
ID:	1139  

Last edited by kramszed; 02-11-2009 at 04:21 AM. Reason: forgot the coconut(s)!
02-11-2009, 04:25 AM
Joined: Nov 2008
Location: Australia
Posts: 849
Most of what you said went straight over my head. But this new update is so much fun! All you guys are in for a treat. Can't wait for the next update, it seems there is one every 3 days lol, but that's awesome.
02-11-2009, 04:26 AM
Joined: Oct 2008
Location: The Netherlands
Posts: 1,351
Cool! Hopefully the update will be here just before the weekend, but I'm not sure Apple works that fast. Looking forward to this new build.

02-11-2009, 07:32 AM
I really enjoy these updates. Might I suggest sharks in the water that eat the little guys who fall in? Keep up the good work.
02-11-2009, 07:32 AM
Joined: Feb 2009
Posts: 788
Yeah this looks awesome. I've convinced 3 people to buy it so far and hopefully they all write reviews but it will also become more popular every update because of the amount of new stuff you can do on it. Like a sea monster that drags them down from the surface with some bubbles rising up while the others point and get scared. It should be fun but not to bloody