Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Scene manager — Gideros Forum

Scene manager

JackoJacko Member
edited July 2014 in General questions
sceneManager = SceneManager.new({
--start scene
["start"] = start,
--options scene
["options"] = options,
--pack select scene
["pack_select"] = pack_select,
--level select scene
["level_select"] = level_select,
--help scene
["help"] = help,
--level itself
["level"] = level
})
--add manager to stage
stage:addChild(sceneManager)

--start start scene
sceneManager:changeScene("start", 1, conf.transition, conf.easing)

i add easing class and even then I have that error:

main.lua:1: attempt to index global 'conf' (a nil value)
stack traceback:
zmieniacz.lua:1: in main chunk

Comments

Sign In or Register to comment.