Disable Right-Click Shortcut

● ARCHIVED · READ-ONLY
Started by BentoSushi 5 posts View original ↗
  1. Anyone know how to disable Right-Click shortcut?
  2. You have to delete a segment of code to disable the right-click menu.

    *BACKUP YOUR GAME BEFORE YOU DO THIS*
    This worked for me without issue, but other times I have edited code and it crashed all of VN Maker when I opened up my save file.

    This code can be found in Scripts --> Layout --> Layout Game and delete this segment.

    {
    "type": "ui.Panel",
    "frame": [0, 0, Graphics.width, Graphics.height],
    "updateBehavior": "continuous",
    "formulas": [$ -> o.ui.enabled = $dataFields.tempSettings.menuAccess],
    "action": {
    "event": "onCancel",
    "name": "switchLayout",
    "params": { "name": "settingsMenuLayout", "savePrevious": true }
    }
    },
  3. Is there a way to remove the settings from the sample project and switch it to the original vnmaker generated? I developed my game erroneously on action based ui, I want to open standard save \ load \ settings screens instead of the action based ones. Is there a way to call theme?
  4. That I don't know. I'm pretty sure if you aren't using the action-based/scene method, it has to be done through scripting. I haven't found a way to edit, add, or call any script without crashing my entire project for good.

    VN Maker has a guide to editing In-Game UI Here. However, trying to follow the guide destroyed my entire practice game due to an "Unknown Token," so back up your game and tread with caution.