Archive for the ‘apple’ Tag

Objective-C can be frustrating

With simple things that I am used to, such as operator overloading, absent from Objective-C, i was forced to write all of my necessary framework structures in C. Not that its a bad thing, just took me a while to get everything working.

Anyway, status right now is going well.. I still don’t know what I’m doing with OpenGL ES, but at least I have a few of the fundimentals working:

– Screen management and GameScreen systems written in Obj-C
– Basic ‘Framework’ structures that I’m used to dealing with (IE: Vector2, Rectangle, RandomNumber) written in C
– Basic project organization complete, i can now write my games in either ObjC or C / C++

I guess its time to learn how to do things in OpenGL ES. Figure if I’m going to be making any sort of game, I’ll need to learn how to do textured quads and basic manipulation of a camera object.

Advertisements

iPhone Development blogs

After realizing that getting into iPhone development is a little more… eer… a lot more work than XNA development (lack of good tutorials, the fact that the SDK just went non-NDA, and no good gaming frameworks) I went around to search for some good blogs.

Now, one of the things XNA has going for it, is its a fully developed framework for the Xbox360 and Windows platforms. iPhone, while having some great classes for Cocoa Touch (and if you’re writing any sort of application, and not a game, its an AMAZING system) iPhone doesn’t have a really good “template” for making iPhone games in OpenGL ES. I find myself having to re-create a lot of the  classes that already exist in XNA, classes that I’ve grown to love ;) 

One blog that has really helped and is one to keep an eye on, is http://iphonedevelopment.blogspot.com/ .. Posts come frequently, and are very informative. 

Another site that has really helped, is GameDev’s OpenGL section located at http://www.gamedev.net/reference/list.asp?categoryid=31#217 

And who can forget Apples documentation for ObjC. http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/ObjC.pdf

If you’re doing any sort of iPhone development and find some really great sources of information, drop me an email!

Objective-C, and me

I have been toying with the idea of developing an iPhone app since the app store went public, and since I’ve finished my current semester of school I thought I would give it a shot. One of the primary focuses for me was to utilize C++ since my classes are going to focus around it, and programming on the iPhone, i will be able to use C++ syntax which is great. 

The parts that are troubling me? Obj-C!! Things are happening (or in my case, not happening) the way I need them to happen and researching every little thing that I could do with my eyes closed in C# or C++ is annoying me, although I do find it fun learning OpenGL.

So with my first project underway, all I am doing is taking the basic screen manager / game screen system from the XNA projects and porting it over to the iPhone. Anyone else done anything in Obj-C?