Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

CCBlade - Fruit Ninja Blade effect implementation in cocos2d.

branch: master

Merge pull request #12 from Panajev/gles2-ARCified

(+): upgraded the project to the latest stable Cocos2D 2.0 and converted the project to ARC.
latest commit 5197f0ce72
Ngo Duc Hiep authored
Octocat-spinner-32 Example (x): modernized Objective-C code. October 21, 2012
Octocat-spinner-32 CCBlade.h (x): modernized Objective-C code. October 21, 2012
Octocat-spinner-32 CCBlade.m (x): modernized Objective-C code. October 21, 2012
Octocat-spinner-32 README Add sample project May 04, 2011
Octocat-spinner-32 TouchTrailLayer.h Add files to gles2 branch May 21, 2012
Octocat-spinner-32 TouchTrailLayer.m (+): converted the sample and the library to ARC. September 10, 2012
README
Add TouchTrailLayer to your scene to see how it works.

Streak texture:
- Texture size 128 x 16
- Fisrt 32 x 16 is mapped to the head of the blade
- Next 32 x 16 is mapped to the body
- Next 32 x 16 is mapped to the tail
- Last 32 x 16 is unused

USAGE NOTICE:
- CCBlade.m, TouchTrailLayer.m and all .m file that use CCBlade or TouchTrailLayer should
have the File Type of sourcecode.cpp.objcpp (right click .m file in Xcode go to first tab and under
File Type drop down list choose the right option)
Something went wrong with that request. Please try again.