Input System Reference
This tool's input system abstracts player operations into 9 types of actions, allowing keyboard and gamepad keys / buttons / sticks to be freely assigned. This chapter organizes the overall picture of input actions, details of the skip feature, and recommended patterns during design.
Intended audience
- Those who want to understand the overall picture of input actions
- Those who want to design key layouts for players
- Those who want to know the behavior of the skip feature accurately
List of 9 actions
This tool abstracts player input into the following 9 types.
| Action | Internal name | Use |
|---|---|---|
| Up (up) | rpgw_up | Move upward, UI up cursor |
| Down (down) | rpgw_down | Move downward, UI down cursor |
| Left (left) | rpgw_left | Move left, UI left cursor |
| Right (right) | rpgw_right | Move right, UI right cursor |
| Decide (decide) | rpgw_decide | Confirm selection, advance dialogue |
| Cancel (cancel) | rpgw_cancel | Go back, close menu |
| Menu (menu) | rpgw_menu | Open menu screen |
| Dash (dash) | rpgw_dash | Run (while held) |
| Skip (skip) | rpgw_skip | Accelerate text / direction (details below) |
These are registered in Godot's InputMap and referenced throughout runtime via Input.is_action_pressed() etc.
Default key assignments
Keyboard (default)
| Action | Key |
|---|---|
| Up | ↑ (arrow key) |
| Down | ↓ (arrow key) |
| Left | ← (arrow key) |
| Right | → (arrow key) |
| Decide | Z / Enter / Space |
| Cancel | X / Esc |
| Menu | A / C |
| Dash | Shift |
| Skip | Ctrl |
Gamepad (default)
| Action | Button |
|---|---|
| Up | ↑ (D-Pad) |
| Down | ↓ (D-Pad) |
| Left | ← (D-Pad) |
| Right | → (D-Pad) |
| Decide | A / Cross |
| Cancel | B / Circle |
| Menu | Y / Triangle |
| Dash | X / Square |
| Skip | LB (left shoulder button) |
Gamepad stick (default)
The gamepad's left stick is assigned to 4-direction movement (up/down/left/right). The right stick is unassigned by default.
Customization
Users can freely configure multiple keys / buttons / sticks per action in the Input tab of the editor.
- Multiple keys can be assigned to one action (e.g., Decide = Z / Enter / Space, all)
- Multiple actions can be assigned to one key (not recommended, but no restriction)
- Deleting all assignments causes the action to no longer trigger (useful for disabling the skip feature)
Internal names are tool-fixed
Internal names like rpgw_up are tool-fixed; new actions cannot be added. The only thing customizable is "which key is assigned to which action."
Save location
addons/rpg_wizard/data/settings/input.json- Flat dictionary with 3 sections (keyboard / gamepad buttons / gamepad sticks)
Direct editing of JSON is not recommended (details: JSON Data Structure).
Player-side changes
Currently, the in-game settings screen has no UI for players to change key layouts. The assignments configured by the user in the editor apply to all players.
Planned for future
A per-player key config feature is currently not implemented. As this is a tool for game creators, player-side customization is assumed to be implemented by the user as needed.
Skip feature (details)
The Skip (SKIP) action is an important feature unique to this tool. Only while the player is holding it, direction during events and battle progression are automatically accelerated.
Overview
- Default key: Ctrl (keyboard) / LB (gamepad left shoulder)
- Only valid while held; returns to normal speed when released
- Specification that switches among 3 types of skip targets
3 systems that are skipped
1. Text display skip
Targets text in Show Text with "Wait for Input" ON:
- Press skip during text animation → show all remaining characters at once
- Press skip after full display → treat as input and advance immediately
- Hold down to fully skip consecutive dialogues
2. Time-elapsed skip (11 types)
The following 11 Event Contents involving time elapse are targets:
| Event Content | Skip time property |
|---|---|
| Shake Window | time |
| Show Image | fade_in_time |
| Move Image | time |
| Rotate Image | time |
| Scale Image | time |
| Shake Image | time |
| Hide Image | fade_out_time |
| Hide All Images | fade_out_time |
| Fade Out Screen | time |
| Fade In Screen | time |
| Move Camera | duration (2D only) |
| Wait | time |
Behavior: Jumps the remaining time to just before completion (0.1 seconds before) at once. The reason it leaves 0.1 seconds rather than fully skipping is to preserve a brief visual transition so you can recognize "what happened."
3. Battle direction skip
The following 2 types of battle wait times are targets:
Type A (read-only wait, completes immediately to 0 seconds):
- Action name display ("XX's attack!" etc.)
- Residual time of damage result display
- Seal fail MISS display
- Residual time of escape success/fail title
- Residual time of State effect display
- Residual time of defeat direction
- Residual time of victory ("Victory!") and defeat ("Defeat")
- Residual time of level up direction
Type B (visual effect delay, jumps to 0.1 seconds):
- Impact delay on item use (shake_delay / flash_delay)
- Duration of is_replace effect
Skip-excluded
The following are not skipped even when Ctrl is pressed:
- Show Selection Window, Show Text Input, etc., Event Contents requiring player input
- Shake Screen — Screen direction intended to be seen
- Play Animated Image — Frame animation has a separate timeline
- BGM fade / transition direction
- Sound effect timing
- Result window (with gains) — Screen the player reads
Design of "only while held"
- Skip while held, immediately return to normal speed when released
- Compatible with the "advance" behavior of RPG Tsukuru systems
- Toggles like "press once to turn ON battle skip" are not adopted
To disable the skip feature
In the Input tab, delete all key assignments in the "Skip" field. When nothing is assigned, pressing Ctrl does nothing.
Simultaneous modifier key support
Operations like "Ctrl held + arrow keys to select enemies" or "Ctrl held + Enter to confirm" work correctly for both keyboard and gamepad.
This is realized by registering 4 variants of unmodified, Ctrl-modified, Shift-modified, and Alt-modified for Godot 4's ui_* actions (no special configuration needed on the user side).
Recommended patterns during design
1. Design assuming read dialogues can be skipped with Ctrl
Text display with "Wait for Input ON" can be skipped by holding Ctrl. Since the player can choose "read carefully or skip" depending on their reading speed, you can confidently write long dialogues.
2. Set direction time by "length you want to show"
Even if direction time is lengthened, the player can skip with Ctrl when they feel it's unnecessary. You can confidently adopt designs like "fade over 2 seconds."
3. Use Shake Screen for direction you must show
Using Shake Screen which is skip-excluded, the direction plays to the end even if the player presses Ctrl. Recommended for important direction such as "impact of boss appearance."
4. Make battles fully skippable with Ctrl
Battle direction is also fully skipped, which addresses the player's mental state of "mob battles are tedious." For important boss battles, strategically insert Shake Screen or Play Animated Image at key points for contrast.
5. When in doubt, try holding it
During debugging / test play, hold Ctrl to advance quickly and check the flow.
Example scenarios experienced by players
Scenario 1: Skip previously-read dialogue events
- Timing to re-execute a story dialogue seen before
- Player holds Ctrl
- All dialogues display and advance in an instant
- Accelerates to event end
Scenario 2: Fast-forward through overdone battles
- Early mob battle
- Player selects commands, then holds Ctrl
- All actions progress at speed; damage / defeat direction completes immediately
- Battle ends
Scenario 3: Return to normal speed mid-direction
- During important boss battle direction
- Was holding Ctrl partway through, but feels it's too short and releases
- Remaining direction displays at normal speed
Frequently Asked Questions (FAQ)
Q1: Completely disable the skip feature
In the Input tab, delete the key assignments in the "Skip" field.
Q2: Change the skip key to something other than Ctrl
Change to any key / button in the "Skip" field of the Input tab.
Q3: Let players "change key layouts in-game"
This tool does not provide a player-facing key config UI by default. If needed, the user must implement it independently.
Q4: What's the difference between dash and skip?
| Action | Use |
|---|---|
| Dash (Shift) | Run during field walking (separate from time-elapsed skip) |
| Skip (Ctrl) | Accelerate direction of events / battles |
Since the two have different purposes, both keys are used for different functions.
Q5: Add input actions
Modifying the tool's source is required; currently fixed at 9 actions. Designs like "have the player press a specific key within an event" should be substituted with Show Text Input or Show Selection Window.
Q6: Does simultaneous modifier key (Ctrl + direction) work?
Yes, it works. Because this tool automatically registers input variants with modifier keys, direction keys / decide / cancel work correctly even while Ctrl is held.
Q7: Can I skip with Ctrl during battle while operating other keys?
Yes, you can. For example, "hold Ctrl to skip while selecting enemies with direction keys" — simultaneous operation is possible.
Q8: What is the modifier-key equivalent on gamepad?
On gamepad, simultaneously pressing LB + another button works as standard (even without the "modifier key" concept, simultaneous-press judgement works normally on gamepad).
Limitations and notes
Internal 9 actions are fixed
The types of actions are tool-fixed and cannot be added. If multi-functional key operation is needed, handle it via Event Contents such as Show Text Input or Show Selection Window that have the player "choose."
If all assignments are deleted, the action no longer triggers
If you don't set a single assignment, features using that action (movement, decide, skip, etc.) are completely disabled. To avoid unintended disabling, we recommend leaving at least one assignment per action.
Caution for multiple key duplication
- Assigning the same key to "Decide" and "Menu" may cause unintended behavior
- Overlap of "Dash" and "Skip" produces compound behavior like "pressing Ctrl while walking makes you run"
Always verify behavior after changing assignments.
Skip isn't completely 0 seconds
② Time-elapsed skip jumps to "completion time - 0.1 seconds"; ③ battle Type B also leaves 0.1 seconds. If you want fully instant completion, set the time property of the Event Content to 0 on the user side (behavior that completes instantly even without pressing Ctrl).
During battle, Ctrl can't advance save either
Battle is designed so menus can't be opened, so saves can't be performed even while Ctrl is held. Autosave only triggers on battle completion (field return on victory / successful escape) (details: Save / Load Reference).
List of Event Contents where skip does not apply
Event Contents excluded from skip (reposted):
These are excluded from skip because they're for "showing" or "having the player choose."
Related pages
- Editor: Input tab — Detailed UI specifications of the Input tab
- JSON Data Structure — File structure of
input.json - Show Text — Text-type Event Content targeted by skip
- Wait — Time-type Event Content targeted by skip
- Fade Out Screen / Fade In Screen — Targets of skip
- Move Camera — Target of skip (2D only)
- Battle System Reference — Related to battle direction skip
- Save / Load Reference — Autosave trigger conditions
