This commit was started by copying `addons/escoria-ui-9verbs` as the basis for `addons/escoria-ui-keyboard-9verbs`. It was then amended to wire up keyboard shortcuts for each verb using the new `register_custom_input_handler()` API. Note that `addons/escoria-ui-keyboard-9verbs/input_map.gd` introduces one action per verb and provides a `add_actions_to_input_map()` function to add the actions to the `InputMap`. The `_process_input()` function in `game.gd` is responsible for mapping each action to the appropriate call to `verbs_menu.on_action_selected()`.
8 lines
210 B
INI
8 lines
210 B
INI
[plugin]
|
|
|
|
name="Escoria 9 Verbs UI + keyboard"
|
|
description="Classical LucasArts style 9-verbs UI for the Escoria Framework with keyboard control"
|
|
author="StraToN & bolinfest"
|
|
version="1.0.0"
|
|
script="plugin.gd"
|