4 ms·
Well, in a sense you are right, however before starting to code an Iphone game you should learn Objective-C The language is the easy part; you can pick up Obj-
by Zev 16y ago
Well, in a sense you are right, however before starting to code an Iphone game you should learn Objective-C
The language is the easy part; you can pick up Obj-C in a day, if you have any reasonable experience in any other language. The frameworks (UIKit and Foundation are the important ones) are the harder. You can pick up an old(er) version of Foundation if you use GNUStep.
My idea is to use the Windows machine for implementing all the non-graphical part of a simple game, maybe using some simple ASCII graphics. If you plan to use OpenGL for rendering your graphics on the Iphone you can go further and implement some of the graphical functionality.
Anything other than backend logic and you'll want a real Mac. You'll also want a real mac if you want anything fancy like Core Data to save everything.
You'll still need to draw your text on screen somehow. You'll want an iOS UI framework, that isn't available for testing on Windows or Linux. Also, OpenGL and OpenGL ES are similar, but, I don't know how much code could be used as-is between the two platforms. My hunch is that there are parts that that can't be completely cross-platform.
Also the GNUstep manual claims you can create graphical application with the provided libraries.
Maybe for Mac OS X, with AppKit. There's no open version of UIKit for iOS.
- hsmyers 16y agoI had little trouble with a first AppKit app after finding http://www.gnustep.it/nicola/Tutorials/WritingMakefiles/node6.html http://www.gnustep.it/nicola/Tutorials/WritingMakefiles/node... There are links to additional articles/tutorials suggesting more complexity is available...
- Zev 16y agoMy point about AppKit is that AppKit doesn't exist on the iPhone or iPad. You need to use UIKit instead.
- octopus 16y agoYou right. The idea is that there are some people (me included) that are forced to use a Windows machine a few hours a day. I have an iMac at home on which I test/compile my code from time to time. From my experience you can safely implement on Windows about 90% of an application, because I restrain myself to use only the functions that are compatible with both OpenGL ES and OpenGL I'm able to implement parts of the graphical components of my app too. This is an incremental process and I always check,in the evening, on my iMac. Take a game of Tic Tac Toe for example, you can implement the computer movements (game AI) on GNUstep. You can also use Blender to create your graphical objects ... In the end only about 10% of the code actually needs a real Mac.