resources/main.lua

Wed, 31 Jul 2013 19:28:00 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Jul 2013 19:28:00 +0200
changeset 0
7ff85f7ce3a7
permissions
-rw-r--r--

Flush prograss with initial commit.

michael@0 1 -- Your app starts here!
michael@0 2 --require('mobdebug').start()
michael@0 3
michael@0 4 -- Load scene blocks
michael@0 5 sceneMain = dofile('scenemain.lua')
michael@0 6 sceneAbout = dofile('sceneabout.lua')
michael@0 7 sceneHelp = dofile('scenehelp.lua')
michael@0 8
michael@0 9 -- Bootstrap initial scene
michael@0 10 director:setCurrentScene(nil)
michael@0 11 director:moveToScene(sceneMain)

mercurial