Resources
Search
Archives
Categories
Meta
Category Archives: iPhone
An NSObject is an NSObject… or is it?
Just got tripped up here. Was doing some runtime type checking… if an instance is this class, do this, if it’s this class, do this. A bit hacky, may clean it up later, but anyway… I was using something like: … Continue reading
Posted in iPhone, Objective C
5 Comments
Accelerometer in Simulator
I had a vague awareness that things like this were out there, but finally went ahead and tried this one. Works great. http://code.google.com/p/accelerometer-simulator/wiki/Home Basically, you check out this XCode project, fix it up so you can provision it to your … Continue reading
Posted in iPhone, Objective C
1 Comment
Thoughts on Game Architecture
I’ve made a few games in my time. And made various parts of a few other games for other people. Most of the games that I’ve worked on have been pretty simple, but recently I’ve been working on some more … Continue reading
Posted in ActionScript, Flash, General, iPhone, Objective C
41 Comments
Flash on Tap Workshop Slides and Code
If you attended my “From Flash to iPhone” workshop at Flash on Tap last week (has it been a whole week already???), I’m finally getting around to putting up the slides and code I promised. If you didn’t attend the … Continue reading
Posted in iPhone, Objective C
6 Comments
iPhone App Launch Sequence
I was going over the stuff I’m going to cover next week in my “From Flash to iPhone” workshop at Flash on Tap, and I started getting into how an iPhone app launches when you tap its icon. It might … Continue reading
Posted in Brevity, Extensibility, iPhone, Objective C
7 Comments
openFrameworks and iPhone
I just had a comment from someone at memo.tv, and the links were cool enough that I’ll just share the whole comment. Definitely looks worth checking out: Hey, you’re posts on cocoa are great and very useful, and cocos2d looks … Continue reading
Posted in iPhone, Objective C
4 Comments
Bezier Curve functions for cocos2d
I needed to draw a curve tonight in cocos2d. The Primitives file has a few basic OpenGL based drawing methods, but no curves. So I created these two methods: [c] #import #import #import #import void drawQuadBezier(CGPoint origin, CGPoint control, CGPoint … Continue reading
Posted in iPhone, Objective C
4 Comments
Fix for cocos2d color banding
In my first tutorial, I brought up an issue with color banding in gradient pngs used in Sprites in cocos2d. I mentioned a hack that I was using that involved changing a line in the Textures2D class. But I just … Continue reading
Posted in iPhone, Objective C
8 Comments
Cocos2d – Part 4: Menus and Transitions
Menus OK, let’s talk menus. Because some people might have a preconceived idea of what a menu is, let’s define it in this context as a collection of visual items that can be tapped on to make a choice. This … Continue reading
Posted in iPhone, Objective C
22 Comments
cocos2d Tutorials – TOC
Might as well gather these all together in one spot. Part 1 Part 2 Part 3 Part 4 More to come.
Posted in iPhone, Objective C
7 Comments