摘要: local function onTouchBegan(touch, event) local point = touch:getLocation() --获取touch位置, 基于openGL坐标 local point = touch:getPreviousLocation() --获取前一次touch位置 基于openGL坐标 lo... 阅读全文
posted @ 2017-06-15 16:56 履霜坚冰 阅读(517) 评论(0) 推荐(0) 编辑
摘要: ccs.ArmatureDataManager:getInstance():addArmatureFileInfo("desk/donghuaname.ExportJson") local img= ccs.Armature:create("donghua01") img:addChild(self.m_Peng) img:setVisible(false) ... 阅读全文
posted @ 2017-06-15 14:42 履霜坚冰 阅读(201) 评论(0) 推荐(0) 编辑