1:资源准备:
1:LiquiFun地址:https://github.com/google/liquidfun
2:LiquiFun文档地址:http://google.github.io/liquidfun/API-Ref/html/annotated.html
3:LiquiFun已编译好的js代码:https://github.com/doebi/liquidfun.js/releases
4:LiquiFun TypeJavaScript语言专用LiquiFun.d.ts文件:https://github.com/gogachinchaladze/ivanets/tree/eee28cfa4ded80201f7c1e838e094e157490b146/definitions/liquidfun
2:思路
cocos creator内使用LinquiFun需以插件的形式导入LiquiFun,可以自己去官网下载原项目然后编译成js代码导入,或者下载别人已编译好的js代码直接使用(上方链接3和4),直接引入cocos creator项目即可。

3:使用
然后根据你的项目需求即可使用LiquiFun内的方法和函数了
4:示例
基于cocos creator2.2.0制作的一个示例demo:基于cocos creator2.2.0的示例demo。提取码: 1tr5
5:资源及素材源自github上的及cocos 论坛的各位大佬,感谢。


网友评论