Skip to content
/ CCBlade Public
forked from hiepnd/CCBlade

CCBlade - Fruit Ninja Blade effect implementation in cocos2d.

Notifications You must be signed in to change notification settings

zbyhoo/CCBlade

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

CCBlade - Fruit Ninja Blade effect implementation in cocos2d.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 87.3%
  • C 12.7%