Hello,
I am still new to Lua and Corona SDK and I’m trying to reload a scene using this reload.lua file but the problem I have is once the game reloads it doesn’t destroy the scene properly keeping an existing copy of the game therer which means everything is double on the screen.
Reload.lua :
local composer = require("composer") local scene = composer.newScene() ----------------------------------------- -- Reload The Game -- composer.removeScene( "scenes.game" ) composer.gotoScene( "scenes.game" ) ----------------------------------------- return scene
I’m very new to game development using Lua and Corona not had any experience at all! Thanks if someone could point me in the right direction!