mirror of https://github.com/axmolengine/axmol.git
13 lines
246 B
Lua
13 lines
246 B
Lua
|
-- avoid memory leak
|
||
|
collectgarbage("setpause", 100)
|
||
|
collectgarbage("setstepmul", 5000)
|
||
|
|
||
|
require "mainMenu"
|
||
|
----------------
|
||
|
|
||
|
|
||
|
-- run
|
||
|
local scene = CCScene:create()
|
||
|
scene:addChild(CreateTestMenu())
|
||
|
CCDirector:sharedDirector():runWithScene(scene)
|