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
|
2013-08-14 21:35:55 +08:00
|
|
|
local scene = cc.Scene:create()
|
2012-08-23 16:10:50 +08:00
|
|
|
scene:addChild(CreateTestMenu())
|
2013-08-14 21:35:55 +08:00
|
|
|
cc.Director:getInstance():runWithScene(scene)
|