It looks like you're new here. If you want to get involved, click one of these buttons!
sceneManager:changeScene(nextScene(), 1, SceneManager.flipWithShade, easing.inOutQuadratic, {userData = "your value to pass"})
sceneManager:changeScene(nextScene(), 1, SceneManager.flipWithShade, easing.inOutQuadratic, {userData = "Scene Title Text"})
function myScene:init(string) self.theTitle = string end
sceneManager:changeScene(nextScene(), 1, SceneManager.flipWithShade, easing.inOutQuadratic, {userData = {x=100,y=100,col=0xff00ff,alpha=0.5}})
function myScene:init(params) if params ~= nil then self.xPos = params.x self.yPos = params.y self.Colour = params.col self.Alpha = params.alpha end end
Likes: twisttap, MoKaLux
scenemanager:changeScene("intro", 2, {userData = "hello"})
scenemanager:changeScene("intro", 2, nil, nil, {userData = "hello"})
Comments
http://www.giderosmobile.com/forum/discussion/comment/4856
self.userData or like does not work
Likes: twisttap, MoKaLux
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive