Archive for March, 2014

18
Mar
14

Waaay to long between updates

Hi again. I’m alive!
Yes, I really am, despite me almost disappearing from the world for a couple of months. After spending almost all my free time with RummyFight for 2.5 years, I felt I needed a break. Not only because I was getting tired of my life but also because I needed to make some money.

But aaaanyway, since a couple of weeks now I’m back in the saddle making code for RF.
However, I don’t know if I am a bit over my head this time. I’ll explain why.

The macintosh I have used for the iOS-RF development is an old one and only capable of at best running Mac OSX 10.6 (Snow Leopard). This OS was released in 2009 so it’s pretty darn old by now. The latest version of the development enviroment XCode possible to run on Snow Leopard is XCode 4.3 which also is ooooold. RummyFight is using a 2D graphics library called Cocos2d to make it easier to use touches, pictures etc. The latest version possible to use in XCode 4.3 is Cocos2D v1.1 which is ooold.

So, the existing RF is using an outdated graphics library in an outdated development library on an outdated operating system on an outdated machine. It’s pretty amazing it works as good as it does.

But we can’t have this!

So now I’ve managed to setup a virtual Mac on my PC, running a brand new operating system, the latest version of XCode with the latest version of Cocos2D… and begun converting the RF-project. And my god, there are a lot of things to convert.

First of all, newer iOS-apps can use an automatic memory management model called ARC which means I have to strip away all code that is managing memory, deallocating resources, releases reference counters etc since ARC is supposed to do this for me. Then I have to update all calls to Cocos2d which has changed a lot from v1.1 to v3.0. Then lastly, I have to redesign some code to make it friendlier to XCode. Seems Apple has introduced quite a lot of “don’t do this” in later versions… which I unfortunately did.

So… this task is quite daunting and I don’t know how long it will take for me to be finished.
But when I am, RF for iOS will be faster, better, smaller and cooler.

And that’s worth the work!

Advertisements