Tagged Questions

0
votes
0answers
155 views

How to create a flexible shape in cocos2d manageable by tapping

I am creating a game using cocos2d, there I need an object which remains static but repels objects on collision, the collision and repel direction should be done as the user drags the objects edjes. ...
-1
votes
1answer
249 views

Insert object at index, when two objects collide

I have two arrays: one for projectiles, and one for targets. Every target and every projectile has tag, and a tag with color (source code I took from Ray Wanderlich). In my small game, when a ...
6
votes
4answers
3k views

Cocos2D collision detection against a random shape

I would like to brainstorm a few ways of handling how to detect a collision between a sprite and a user generated shape of some sort. For example. There are 3 objects on the screen. The user takes ...