Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hiepnd/CCBlade
CCBlade - Fruit Ninja Blade effect implementation in cocos2d.
https://github.com/hiepnd/CCBlade
Last synced: about 1 month 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 (over 13 years ago)
- Default Branch: master
- Last Pushed: 2015-07-16T04:50:54.000Z (over 9 years ago)
- Last Synced: 2023-11-07T20:42:52.496Z (about 1 year ago)
- Language: Objective-C
- Homepage: http://www.hiepnd.wordpress.com
- Size: 1.29 MB
- Stars: 192
- Watchers: 21
- Forks: 50
- 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)