There are two scenes ( mainMenu and gameSpace ) and the Composer library. How to delete (or after switching from) mainMenu to gameSpace to remove mainMenu ? The transition is made using tapa on the image on the display.

    1 answer 1

    The previous scene will be deleted if in the code of the next scene (gameSpace) to place:

    local composer = require('composer') composer.removeScene('mainMenu')