2013-04-05 16:13:04 +08:00
|
|
|
|
2012-08-23 16:10:50 +08:00
|
|
|
-- avoid memory leak
|
2013-04-05 16:13:04 +08:00
|
|
|
collectgarbage("setpause", 100)
|
2012-08-23 16:10:50 +08:00
|
|
|
collectgarbage("setstepmul", 5000)
|
2013-04-05 16:13:04 +08:00
|
|
|
|
2012-08-24 10:07:15 +08:00
|
|
|
require "luaScript/mainMenu"
|
2012-08-23 16:10:50 +08:00
|
|
|
----------------
|
|
|
|
|
|
|
|
|
|
|
|
-- run
|
|
|
|
local scene = CCScene:create()
|
|
|
|
scene:addChild(CreateTestMenu())
|
2013-07-26 13:43:28 +08:00
|
|
|
CCDirector:getInstance():runWithScene(scene)
|