Showing posts with label cocos2d-iphone. Show all posts
Showing posts with label cocos2d-iphone. Show all posts

Tuesday, May 1, 2012

Thursday, March 8, 2012

Cocos2d adding a background image to a layer?


I just finished reading some of the cocos2d documentation, and as far as I understand to add a background image to a layer you have to do something like:

Thursday, March 1, 2012

iOS import causing tons of errors?


I'm trying to set up a menu in my cocos2d game and whenever I import Game.h I end up with over 200 errors.

Wednesday, February 8, 2012

Cocos2D iPhone - running actions on multiple targets + callback


I have an array of objects (objArray) and an array of actions (actArray). Both arrays are in order, I mean, object at index 0 of objArray has to perform action 0 on actArray.

Cocos2D iPhone - will this save memory?


When you create a sprite on cocos using a texture you allocate memory.

Tuesday, January 17, 2012

App crashing in cocos2d app on device when nothing happening


I have a somewhat simple game that I'm making and now that I'm testing what I consider a bare bone version of the app on devices, I keep getting crashes over and over. I'm fairly new at debugging on actual devices, so any help would be great.