HI , I m tested vege and is false but doesn ' t work , please help me in composer.gotoScene()

local function gameover() 

    if vege == false then

    composer.gotoScene(“gameover”, slieDown, 200)  

    end

 end

Is this a copy/paste of your code or did you hand type it?

composer.gotoScene(“gameover”, slieDown, 200)

should be

composer.gotoScene(“gameover”, “slideDown”, 200)

note the quotes and the correct spelling.

Is this a copy/paste of your code or did you hand type it?

composer.gotoScene(“gameover”, slieDown, 200)

should be

composer.gotoScene(“gameover”, “slideDown”, 200)

note the quotes and the correct spelling.