local uilocal function createLayerUI() if not ui then ui=cc.Layer:create(); createLayerUI=nil; end return ui;end local sclocal function createLayerScene() if not sc then sc=cc.Layer:create(); createLayerScene=nil; end return sc;end cc.FileUtils:getIn…
local uilocal function createLayerUI() if not ui then ui=cc.Layer:create(); createLayerUI=nil; end return ui;end local sclocal function createLayerScene() if not sc then sc=cc.Layer:create(); createLayerScene=nil; end return sc;end local entitylocal…
local uilocal function createLayerUI() if not ui then ui=cc.Layer:create(); createLayerUI=nil; end return ui;end local sceneGame=cc.Scene:create()sceneGame:addChild(createLayerUI())cc.Director:getInstance():runWithScene(sceneGame)ui:addChild(ccs.GUIR…