Anyone have any suggestions on how I can indicate selected tile(s) in开发者_运维知识库 a Tiled tilemap without resorting to creating a \'selection tile\'?I merely need to brighten the tile selected.
Ok so got a book today written by Steffen Itterheim and stright away my template files look different to what they are in the book. HelloWorldScene.mm vs HelloWorldLayer.mm what is the difference, eve
I开发者_StackOverflow中文版 am trying to make an video recording optionin my application in cocos2d Iphone
I am animating 3 images (sprites) from off screen to the right into the middle of the screen. I have written the code below, but was wondering if there was a more efficient way of coding it.
I\'m trying to create a menu system that calls a method depending on what is pressed. The problem is when I add a target and selector to the CCMenuitems.It crashes with a sgabrt error. I know the prob
int realX = winSize.width + (projectile.contentSize.width/2); float ratio = (float) offY / (float) offX;
In my game the score will rise every time you collect a treat, I have positioned the label at the bottom left. The problem is when the score goes up part of the label goes off screen. Any ideas on how
I saw this question on a Cocos2d forum, and I would really like to see the answer, I\'m assuming its more likely to get answered here:
i am trying to make a game in which i am tying to implement handwriting recognition, what i exactly want is that when the user slides his finger on the screen a line should be created wherever he sli
I am attempting to setup a tiled/repeating background for my iPhone app. The code \"works\" in that the background is repeating like it should be but I seem to have a black border around each repetit