Designing an iPhone Game: part 1

July 31st, 2010

So. I started on a venture to create a simple kid orientated game for the iPhone. I made the decision to go down this road to learn something new, and hopefully earn a few dollars in the end.

The process has been interesting and fun with a bit of frustrating sprinkled here and there.

I first had to get acquainted with Objective-c. Fair enough.

I usually like to look at some code before I start reading on a new programing language. The thing is (even though I know C, Java, Python) this doesn’t really conform to most other language structures. There is definately a disconnect, Apple and Objective-C just don’t seem like they go together, but it is what it is.

Out of the box there isn’t much that one can do to get started on a game (unless you are an OC whiz and know a thing or two about OpenGL). Enter Cocos2d.

Cocos2d is a essentially an OpenGL wrapper with lots of extra goodies that makes this process SOOOO much easier.  I highly recommend it. Best of all its free, open source and commonly employed (think Farmville).
First using the MVC pattern (Model View Controller for the un-initiated) was to lay out the components.

Asset Organization

Asset Organization

We’ve got got the Model (DataWarehouse),  the Controller (Gamescene, coupled with our App delegate), and the Views (Layers). This should make simple sense, but keeping things organized can be tricky especially when learning a new language, framework and standards.

At this point we are ready to start coding. That will be for the next post. Creating sprites, menus and simple (or not so simple) interactions.

Free Texture Pack 2: Textiles

July 28th, 2010

Here is a nice little *FREE* pack of high resolution textile images. Consisting of:

Tissue

Tissue

Polyester Mesh

Polyester Mesh

Flannel

Flannel

Cardboard

Cardboard

Burlap

Burlap


Download: Texture Pack 2

Enjoy! Please show off your work here by posting a link of how you are using them.

An open letter to Microsoft RE: Internet Explorer Heartache

July 20th, 2010

Subject: Compensation for heartache
To: Microsoft
From: Pete Peterson

Hi Microsoft,

My name is Pete, and I have been doing work on the web for about 10 years now. Although I do not blame you (Microsoft) for the active use of Internet Explorer across the inter webs, you did however produce this atrocious piece of software. The versions have been steadily getting better, but, there is this thing called the a “standard” for web delivered information which would be great if you could find time to read them and apply them to how Internet Explorer renders web pages.

Here is a web address (also called a URL) for reference: http://www.w3.org/standards/

As I mentioned before, I don’t blame you (Microsoft) for the hundreds of thousands of people who still use your archaic browser (specifically IE 6), but since it was you that produced it, I feel I should be compensated for the countless hours spent in hacking html, css, javascript to get your browser to display the way it should. Not to mention all the aspirin, ibuprofen, coffee, Valum, whiskey that I have had to consume in order to endure having to work with this shoddy piece of ether that has been the bane of my existence since I decided on this career path.

I believe that $5000.00 is fair. Please enclose a check payable to Peter Peterson. No hard feelings.

Regards,

Pete

————————————–
My customer support id for this message is 1135554260
please feel free to follow along.

[EDIT]

I recieved a response from Microsoft regarding my gripe:

For replacement media or hardware please contact the Microsoft Order Desk by calling (800) 360-7561. Their hours of operation are Monday through Friday, 5:00 A.M. to 7:00 P.M. Pacific Time.

Please note this is an unmonitored alias. If you have further questions for customer service please contact us by Email: https://support.microsoft.com/contactus/emailcontact.aspx?scid=sw;en;1208&ws=orderautoreply

Thank you,
Microsoft Customer Service

I guess they aren’t going to pay me.