Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

How to change the right-click / cancel behavior from Settings Menu to Save Menu:

  1. Look for Layout_Game in the Script Tab: image.png

  2. Replace it with this snippet:

        {
            "type": "ui.Panel",
            "frame": [0, 0, Graphics.width, Graphics.height],
            "updateBehavior": "continuous",
            "formulas": [$ -> o.ui.enabled = $dataFields.tempSettings.menuAccess],
            "actions": [
                { "name": "prepareSaveGame", "event": "onCancel", "params": { "snapshot": true } }
                { "name": "switchLayout",    "event": "onCancel", "params": { "name": "saveMenuLayout", "savePrevious": true } }
            ]
        },

image.png