top of page

​Cocos2D CcCollision

​

Ian Fan Jan 2012

​

Target:

Learn how to detect when a circle collide with a rect.



Sample Code:

https://github.com/IanFan/CcCollision

 

 

Step:

 

1. set a rect to be the player effected by accelerometer


2. set multiple sprite


3. update the sprites, and detect the collision.
.

​Further Link:



1. Searching

​

IanFan, LLC © 2013. All Rights Reserved.

bottom of page