Me again.
So I am used to the way my own Lua Interpreter (like corona but for psp “its called LuaPlayer Euphoria”) works. basically you would/could layout your game like so…
state = "MENU"
function menu()
--whatever
end
function game()
--whatever
end
while true do
if state == "MENU" then
menu()
elseif state == "GAME" then
game()
end
Do you guys just use event listeners ? I have toyed with this for a while, but after going between states a few times one of my scenes eventually gets corrupt and no longer functions.
If you have a sample of how state controllers work (and are stable) in corona, would you mind posting one up?
I guess it is just me finding the whole event listener things a bit odd.
Thank you [import]uid: 6981 topic_id: 4086 reply_id: 304086[/import]