Between other jobs, I’ve been able to put some (mostly late-night) time into porting Enclosure to iOS.
My first thought was that, “hey, it’s both OpenGL – it can’t be that hard to convert Java to Objective-C”. As it turns out, it’s a bit of a nightmare, so I quickly gave up that idea, and instead turned my attention to another tool I’ve been wanting to use for a while: Unity.
Let me start by saying that Unity is nothing short of awesome. The only downside is that I have to write the code in MonoDevelop which is not much more than a glorified text editor – being used to IDE’s from jetBrains (I use both IDEA and AppCode), Mono is a bit of a pain in the neck.
Anyway, choosing Unity meant re-thinking the visual appearance of Enclosure – the main gameplay will be the same, but it will look like a different game entirely. Here’s a sneak peek:
I have most of the basic gameplay-features in place, and because it’s C#, I can grab big chunks of code from the Android game and more or less paste them into Unity. Much simpler than converting to Objective-C.
Right now I have a ton of other things to attend to, but hopefully I’ll find time to finish it in the coming months.