Archive for the ‘android’ Category

Implementing CCCallFunc Cocos2d-X 2.0   2 comments

This is a simple way of implementing CCCallFunc. ClassA wants to pass a function reference to ClassB. CCCallFunc calls a function without any parameters. If you want to get the CCObject that called it then use CCCallFuncN and if you want to pass your own data use CCCallFuncND In ClassB header create a variable to […]

Posted August 2, 2012 by abe in android, cocos2d-X, cocos2dx, cpp, Games Development, iOS, iPhone

Tagged with

Creating Frame Animation in Cocos2d-X 2.0 Using a Sprite Sheet   2 comments

Since the Cocos2d-X 2.0 rc2 a lot of the initialisation has changed so this code works in Cocos2d-X 2.0. First create a sprite sheet so we can load it in. Once you have created the Sprite Sheet you will end up with a image file and plist. mySprites.png mySprites.plist I like to name my sprites […]

Posted July 28, 2012 by abe in android, cocos2d-X, cocos2dx, cpp, Games Development, iOS, iPhone, Mobile, plist

Tagged with

Nexus One 3G bug(O2 UK) and Wifi bug   2 comments

I was totally stocked to get my Nexus One. When I got the N1 though, it did take some doing to get it working. Here are the issues I found and the solutions to the problems. Now you can find these solutions all over the net but I am just centralizing all the solutions please add any others you have found in the […]

Posted February 2, 2010 by abe in android, Nexus One

Stackoverflow Inspiration and Learning Event   Leave a comment

The popular code question and answer site are having a few inspiration and learning events this year. I am keen to see what android and objective-c stuff will be on offer you can get tickets from:

Posted July 3, 2009 by abe in android, iPhone, Obj-c, Objective-C