Resources
Search
Archives
Categories
Meta
Author Archives: keith
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
Cocos2d – Part 3
Let’s make things move. If you’ve read my books or seen me speak, you’ll know I love balls. By which, I mean that I love to make circular objects for the purpose of demonstrating basic motion concepts. So I made … Continue reading
Posted in iPhone, Objective C
22 Comments
Cocos2D – Part 2
I wanted to go a bit more into the base classes of the framework. So far we’ve seen a bit of scenes and sprites. Let’s look at one of the most important base classes, CocosNode. CocosNode is “the main element. … Continue reading
Posted in iPhone, Objective C
13 Comments
Cocos2d – 2D OpenGL for the iPhone made Easy. Part 1.
[NOTE: I checked the cocos2d source out through svn, which I discovered gives you version 0.8. If you download the source, it looks like the latest version available is 0.7.2. I’m not sure how many differences you’ll run into, but … Continue reading
Posted in Flash, iPhone, Objective C
26 Comments
Creating Lite Versions of iPhone Games / Apps
Another one of those, “I’m going to post it so I know where to find it next time” posts. 🙂 This was largely taken from a post at the iPhoneDevSDK forums, but I’ve clarified a few things, handled a few … Continue reading
Posted in iPhone, Objective C
22 Comments
Say goodbye to Flex Builder
Say hello to “Flash Builder”! Word has been leaking out here and there via Adobe evangelists that the next version of Flex Builder will be rebranded as “Flash Builder”. I’ve actually known about this as a tentative change for a … Continue reading
Posted in ActionScript, Flash
16 Comments
New Wicked Pissah iPhone Game: Vector Blocks
Something I’ve been working on secretly over the last couple of weeks. Finally got it submitted to the iPhone store tonight. It’s called Vector Blocks, and it’s sort of a distant cousin to Gravity Pods. Get a ball from point … Continue reading
Posted in iPhone
Leave a comment