mirror of https://github.com/axmolengine/axmol.git
14 lines
252 B
Lua
14 lines
252 B
Lua
|
|
||
|
-- avoid memory leak
|
||
|
collectgarbage("setpause", 100)
|
||
|
collectgarbage("setstepmul", 5000)
|
||
|
|
||
|
require "src/mainMenu"
|
||
|
----------------
|
||
|
|
||
|
|
||
|
-- run
|
||
|
local scene = cc.Scene:create()
|
||
|
scene:addChild(CreateTestMenu())
|
||
|
cc.Director:getInstance():runWithScene(scene)
|