Ok real noob question,but im very new and dont understand yet. But heres my problem…Im trying to write a delay to change the screen after hitting the button,reason for this is i want to add some goodies after you choose your answer and not be wisked away to the next question instantly…heres my code involving this it has no errors in simulator command line window,but never the less it does not delay at all…as if this isnt added …
local function pick1( event )
print( “pick1 called” )
end
local function pick1 (event)
if event.phase == “ended” then
audio.stop(gameeffect3)
score.setScore( score.getScore() + 0)
timer.performWithDelay(9000, director:changeScene (“q2”))
end
end
answer1:addEventListener(“touch”, pick1)
Thank You in advance for your help [import]uid: 124254 topic_id: 23044 reply_id: 323044[/import]