JS局部坐标和全局坐标的转换

properties: {  this player: cc.Node,  spa background: cc.Node,  对象 },get 将点击的点touchPoint 转化为player的父对象的相对节点.  (能够用来比较player坐标和点击坐标的相对位置)io 世界坐标 转化为 相对坐标: this .background .on (cc .Node .EventType .TOU
相关文章
相关标签/搜索