local function gameover()
if vege == false then
composer.gotoScene(“gameover”, slieDown, 200)
end
end
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.