![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
cocosCreate
sogooday
微信:wjf630759294
展开
-
cocos creator的向量的计算
//selfNode 以selfNode未(0,0)坐标cc.v2(x,y) 未另外一个需要计较的坐标cc.v2(selfNode.x, selfNode.y).sub(cc.v2(x,y)).normalize();原创 2019-06-02 19:42:56 · 3530 阅读 · 0 评论 -
cocosCreate中http使用的模板文件
var httpUtils = cc.Class({ extends: cc.Component, properties: { // foo: { // default: null, // The default value will be used only when the component attaching ...原创 2019-11-19 21:38:48 · 390 阅读 · 2 评论