Archive for the ‘android’ Category
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 [...]
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 [...]
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 [...]
The popular code question and answer site http://stackoverflow.com/ 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: http://stackoverflow.carsonified.com/