摘要: function OnAfterSceneLoaded(self) -- 建立单一关键行为和触摸输入 Input:SetKeyAsSingleHit(Vision.KEY_SPACE) Input:SetKeyAsSingleHit(Vision.KEY_O) self.map = Input:CreateMap("TouchInput") local width, height = Screen:GetViewportSize() local hGrid = height * .15 self.map:MapTrigger("Paint", {0,0, 阅读全文
posted @ 2014-02-13 16:34 Jimmy_5 阅读(558) 评论(0) 推荐(0) 编辑