When I start my application (I’m using Storyboard), I pass parameters like that:
local options =
{
effect = “crossFade”,
params =
{
newindex = 0,
oldindex = 0
}
}
storyboard.gotoScene( “mainscreen”, options)
Then on the mainscreen EnterScreen event, I have the params no problem.
When I call an overlay (“Scene2”) from the mainscreen, then come back to the mainscreen using the gotoScene within the “Scene2” with the same params, the EnterScreen from mainscreen is called but not the parameters. Same code as above.