Archeia

Level 99 Demi-fiend
Staff member
Developer
Joined
Mar 1, 2012
Messages
15,709
Reaction score
16,506
First Language
Filipino
Primarily Uses
RMMZ
Share snippets.
No questions allowed. Just post in the support forum if you need help.

p2mfJ44.png

Add Right Click -> Cancel to Backlog
  • Copy and Paste Template_MessageBacklog
  • Look for this line:
    Code:
    "frame": [0, 0, Graphics.width, Graphics.height]
  • Add this code below it:
    Code:
    "action": { "event": "onCancel", "name": "disposeControl", "params": 'backlog' }
p2mfJ44.png

Disable Escape Key
  • Go to Script Editor and look for: Components > Scenes > Component_GameSceneBehavior
  • Below that, make a new script and add the following code:
Code:
# ===================================================================
#
#   Script: Component_GameSceneBehavior
#
#   $$COPYRIGHT$$
#
# ===================================================================
class Component_CustomGameSceneBehavior extends vn.Component_GameSceneBehavior
    ###*
    * Checks for the shortcut to exit the game. By default, this is the escape-key. You
    * can override this method to change the shortcut.
    *
    * @method updateQuitShortcut
    * @protected
    ###  
    updateQuitShortcut: ->
 
vn.Component_GameSceneBehavior = Component_CustomGameSceneBehavior
It should look like this:
upload_2018-4-25_2-30-2.png

p2mfJ44.png

Disable Settings Shortcut Key
  • Go to Script Editor and look for: Components > Scenes > Component_GameSceneBehavior
  • Below that, make a new script and add the following code:
Code:
# ===================================================================
#
#   Script: Component_GameSceneBehavior
#
#   $$COPYRIGHT$$
#
# ===================================================================
class Component_CustomGameSceneBehavior extends vn.Component_GameSceneBehavior
    ###*
    * Checks for the shortcut to open the Settings menu by Pressing A and disables it.
    * You can override this method to change the shortcut.
    *
    * @method updateSettingsShortcut
    * @protected
    ###    
      updateSettingsShortcut: ->
      # Do nothing
vn.Component_GameSceneBehavior = Component_CustomGameSceneBehavior
It should look like this:
2018-05-04_4-34-26.png

p2mfJ44.png

Disable Settings and Quit Shortcut Keys
Code:
# ===================================================================
#
#   Script: Component_GameSceneBehavior
#
#   $$COPYRIGHT$$
#
# ===================================================================
class Component_CustomGameSceneBehavior extends vn.Component_GameSceneBehavior
    ###*
    * Disables shortcut keys for settings and quitting. By default these are the
    * A and ESC keys. You can override this method to change the shortcut.
    *
    * @method updateQuitShortcut
    * @protected
    ###    
      updateQuitShortcut: ->
      # Do nothing
 
    ###*
    * @method updateSettingsShortcut
    * @protected
    ###    
      updateSettingsShortcut: ->
      # Do nothing
vn.Component_GameSceneBehavior = Component_CustomGameSceneBehavior
It should look like this:
2018-05-04_4-40-49.png
 
Last edited:

KPanda

Villager
Member
Joined
Mar 5, 2020
Messages
13
Reaction score
0
First Language
English
Primarily Uses
VNM
I greatly appreciate this!
 

Latest Threads

Latest Posts

Latest Profile Posts

The tutorial is live now.
Whew... I've been on a tear recently. Been working nonstop. Feels really good to be back in the groove! I think it's because I can finally see the end approaching. I only have 8 more side quests to develop (then NPCs, some art, then pretty much done).
how the hell do i change my username???
So imagine this but autotile. Stained glass ocean.
Photoshop_3xMc7HoPt8.png
Working on his first Game.

Forum statistics

Threads
134,742
Messages
1,250,207
Members
177,496
Latest member
Darkonik
Top