Palm Pre, webOS and iPhone

Posted in: Game Development,Objective-C,iPhone SDK |

I was advised to look into the Palm Pre as yet another mobile platform for which I could develop my games.  After looking into the Palm Pre’s webOS, and it’s Mojo Framework for development a little bit (I’ve only read the O’Reilly chapter available for free at the moment) I’ve discovered that the Palm Pre’s development framework is entirely ‘web app centric’, meaning that the Palm Pre’s webOS is a glorified web browser based operating system which simply exposes some additional ‘system level’ elements to the JavaScript driving the interactive portion of the web page.

The Palm Pre looks like a rather nice device, but, can it hold up to what the Apple iPhone is capable of? Can it ‘do everything an iPhone can do’, it does not appear so.  However, I have applied for access to become a Palm Developer, and would like to give the Palm Pre a fair shot at game development.  The games I develop, are largely 2D based and could be ported to HTML/CSS/JavaScript fairly easily because of this, but … can the Palm Pre’s webOS handle the resource requirements of a 2D game with moving parts, we don’t know.

It does, however, appear to be more than capable of handling 2D puzzle games, in the genre of Bejewelled, and Sudoko, etc.

The iPhone, on the other hand, has access to OpenGL ES, and is essentially just a crippled version of Mac OS X Leopard (10.5.x), designed to run on a mobile platform.  This, allows the iPhone to do an unbelievable number of things … it’s great for viewing web pages, it’s great for productivity tools, and it’s one of the funner hand held game systems I’ve ever owned (compared to GB, GBA, NDS, PSP, etc).

So, will the Palm Pre really compete with the Apple iPhone … ? Perhaps in the corporate market, but … for the ‘day to day’ person, I believe the iPhone will continue to ‘rule the market’ so to speak.

I hope to eventually look into Google Android, as well as Blackberry Storm as well.  As the Andriod OS is comparative to the iPhone OS, and the Blackberry Storm is similar in nature as well (however, I’ve not yet looked into either … with the exception of seeing some advertisements here and there).

A pearl of wisdom, in a vast sea of writings…

Posted in: Game Development,Objective-C,iPhone SDK |

I was digging through some messages this morning, trying to keep as up to date with my various Google Groups and Betas as I could, and ran across a post by the author of if {…} then {…} and dug through the blog, and found a handful of good readings.  The most notable of them is the ‘Loading Screen Example‘ which is useful in general, and with Cocos2D specifically.

I read through the example code, and learned a new trick … that little spinning ‘gear’ that Apple has made so popular for the ‘twiddle your thumbs for a while’ moments in life … is easily accessible with iPhone development, just by using the UIActivityIndicatorViewto display it.

It has startAnimating, stop Animating and isAnimating calls available … and runs on it’s own thread, so when you have code that is going to ‘stop everything’ for a moment, you can splash this up on the screen … and make people ‘feel better about themselves while they wait’.  We all love a useless gear that tells us … ‘everything is working as expected, just hold your horses and be patient’.

So, I thank the author of if {…} then {…} for showing me something new on Sunday morning.

Gearworx Productions on Twitter

Posted in: Game Development,Objective-C,iPhone SDK |

Gearworx Productions is now on Twitter.  Check them out, follow there tweets and keep up to date on the latest Gearworx Productions news and releases.

Steve Adamson (GWPGearWorx) on Twitter.

PunkArts releases Chinese Obama.

Posted in: Game Development,Objective-C,iPhone SDK |

PunkArts.com, one of my newest ventures in iPhone Development, has just released it’s first “Chinese Obama” episode to the world.  This video is the first in a series of episodes, each episode is embedded into their latest apps available on the App Store soon.

The ‘Ask’ series of apps, which contains these embedded Chinese Obama videos, are an amusing way to get a quick laugh … whether you love them, or hate them, Barack Obama, Sarah Palin and George W. Bush will answer all of life’s questions.  You ask, they answer, really it’s that simple.

Check them out over at PunkArts.com

Taking advantage of NSLog

Posted in: Game Development,Objective-C |

I've recently started developing with the iPhone SDK, and have always utilized console output for debug output.  However, with XCode, the Console is constantly being littered with messages about garbage collection.

CODE:
  1. Xcode(19838,0xb0103000) malloc: free_garbage: garbage ptr = 0x208ca10, has non-zero refcount = 1

Because of this, my Console is almost useless and I have to add extra stuff to my output messages to find them easier (ie; appending 5-10 asterix's).  After eventually becoming fed up with this, I started looking around and found this great blog post.  The author of 0xced wrote an XCode plugin that basically tells it to 'shut up'.  Works great, and my Console is now usable.  Thanks again to

Where I spend my day …

my desk, where I spend all my time.

my desk, where I spend all my time.

Cocos2D – Enabling iPhone Game Development in Hours

Posted in: Game Development,Objective-C |

About a month ago I purchased an iPod Touch and began experimenting with iPhone SDK and exploring various user interfaces and applications released in the App Store.  I haven't really spent all that much time in the last month experimenting as my day job has been keeping me quite busy, as well as a few other ventures I'm working on in the evenings.  With that said, I read one or two 'intro to objective-c' articles which were fairly basic and assumed prior programming knowledge.  Getting a general grasp of Objective-C in a few hours, I followed a couple of 'Hello World' style tutorials for building 'your first iphone app'.

All of these left me puzzled and quizzical in the end, wondering ... how I did it.  I know 'how' I did it, but I didn't understand 'how I did it', if that makes any sense at all.  Objective-C is quite an odd language, for a person with my background at least ... C, C++, Python, Perl, Basic, Visual Basic, C#, JavaScript, ActionScript, etc, etc... to name a few.  Objective-C is very similiar to all of these, however, it's use of brackets just confuses me and makes my eyes roll into the back of my head.

I researched a little, and found a handful of Game Engines that support the iPhone Platform, such as Unity 3D, Torque Game Engine, Torque Game Builder, Shiva and Oolong.  I own a Torque Game Engine license, as well as a Torque Game Builder and Unity license as well.  I have experience with these engines, and thought they would be the best way to get started with iPhone Game Development.  Sadly, the cost of the licenses for iPhone support are quite high.  Well beyond the reach of a simple indie game developer who has yet to make a penny out of his hobby.

I ran into the Cocos2D library, and found that it also has support for the iPhone Platform.  A ported version of the Cocos2D project to Objective-C, named Cocos2D-iphone seemed a likely choice for a quick start.  I did a little digging around, read some documentation (what little there was), reviewed some samples and watched a couple of Videos from the Cocos2D project to get a general grasp of how the library works.

This morning, I started around 10am and by 5pm had an almost feature complete 'working model' of a Space Invaders clone.  Written entirely in Objective-C, using Cocos2D-iphone.

Now, I must say ... it took quite a bit of digging to find the things I needed, and most of the information I needed to know ... was retrieved from undocumented sample code.  Good thing I can read code, eh?

I am hoping to finish up my Space Invaders clone, and release it to the App Store in the near future.  I only had the day to work on the project, and was quite impressed with how much I achieved in such little time.  Cocos2D-iphone definitely gets two thumbs up from me.  It's the perfect library for my next project as well (the space invaders clone is not an official project, it was just a quick way to learn Cocos2D-iphone and Objective-C).

Slug Bug by AxoStudios Released!

Posted in: Game Development,Objective-C,iPhone SDK |

Slug Bug, one of the hottest new games in the iTunes App Store was recently released.  Slug Bug is a classic retro remake of Frogger, and was executed in such a clean way, it just makes you want to pull out the Atari and hop your frog across that treacherous road.

The creators of Slug Bug took some creative freedom from the classic Frogger and replaced the frog with a cute lady bug.  The artwork is done quite well, and sticks to the classic '8-bit' feel. To move around, all you have to do is slide your finger in the direction you want the lady bug to move and ... it moves.  The games simple, can be played with a single finger, and has Easy, Medium and Hard complexity levels for those gamers who like to be challenged, or just want to have a quick bit of silly fun while waiting in line at the grocery store.

I installed Slug Bug on my iPod Touch and then had to step out for an appointment, while in the lobby waiting... Slug Bug kept me entertained.

Slug Bug was developed by AxoStudios, a division of Axosoft. Axosoft has been a leader in Project Management and Bug Tracking software for quite some time, and it would seem they are now attempting to tackle the mobile gaming arena.  If they continue releasing games of Slug Bug's quality and entertainment value, they will undoubtedly become leaders in mobile gaming as well.

Below, you can see the Slug Bug Title Screen, and one of the Slug Bug levels in action.

Title Screen for Slug Bug

Title Screen for Slug Bug

A Level from Slug Bug

A Level from Slug Bug

LinkShare  Referral  Prg - default banner