Change this code:
function myApp.showScreen1() myApp.button4Press = showScreen2 composer.removeHidden() composer.gotoScene("menu", {time=250, effect="crossFade"}) return true end
to:
function myApp.showScreen1() myApp.button4Press = showScreen2 print("Going to 'menu'") composer.removeHidden() composer.gotoScene("menu", {time=250, effect="crossFade"}) return true end
and this code:
local function closeSplash() display.remove(title) title = nil display.remove(logo) logo = nil display.remove(background) background = nil myApp.showScreen1() end timer.performWithDelay(1500, closeSplash)
to
local function closeSplash() display.remove(title) title = nil display.remove(logo) logo = nil display.remove(background) background = nil print("going to showScreen1") myApp.showScreen1() end timer.performWithDelay(1500, closeSplash)
Run it and print the results of your console log here.