CCTricks icon indicating copy to clipboard operation
CCTricks copied to clipboard

简介

工程收录了个人使用Cocos Creator时积累的开发技巧 请使用Cocos Creator 2.4.0或以上版本打开

前排提示

如果打开工程报错sdf.inc找不到,需要拷贝文件assets\Demo\SDF\Shader\sdf.inc到引擎安装目录 C:\CocosDashboard_1.0.12\resources\.editors\Creator\2.4.0\resources\engine\cocos2d\renderer\build\chunks 具体路径根据本地环境CocosDashboard安装路径和引擎版本会稍有不同 如果使用了自定义引擎,需要将sdf.inc拷贝到对应的engine\cocos2d\renderer\build\chunks路径下

自定义渲染

合批系列

个人shader练习

模拟

Attributions

https://opengameart.org/content/buttons-with-hover https://opengameart.org/content/sprite-fonts-64x64-abblv-by-raid

License

MIT


image.png