https://github.com/hiepnd/CCBlade
CCBlade - Fruit Ninja Blade effect implementation in cocos2d.
https://github.com/hiepnd/CCBlade
Last synced: 11 days ago
JSON representation
CCBlade - Fruit Ninja Blade effect implementation in cocos2d.
- Host: GitHub
- URL: https://github.com/hiepnd/CCBlade
- Owner: hiepnd
- Created: 2011-04-28T08:11:09.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2015-07-16T04:50:54.000Z (almost 10 years ago)
- Last Synced: 2024-11-05T11:53:28.221Z (5 months ago)
- Language: Objective-C
- Homepage: http://www.hiepnd.wordpress.com
- Size: 1.29 MB
- Stars: 192
- Watchers: 21
- Forks: 47
- Open Issues: 9
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
- awesome - CCBlade - CCBlade - Fruit Ninja Blade effect implementation in cocos2d. (etc)
README
Warning: this repo is obsolete and no longer maintained!
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 unusedUSAGE 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)