2019-08-18 09:28:38 +00:00
|
|
|
; Engine configuration file.
|
|
|
|
; It's best edited using the editor UI and not directly,
|
|
|
|
; since the parameters that go here are not all obvious.
|
|
|
|
;
|
|
|
|
; Format:
|
|
|
|
; [section] ; section goes between []
|
|
|
|
; param=value ; assign values to parameters
|
|
|
|
|
|
|
|
config_version=4
|
|
|
|
|
|
|
|
_global_script_classes=[ {
|
2020-06-02 02:14:05 +00:00
|
|
|
"base": "Reference",
|
|
|
|
"class": "AnimationTag",
|
|
|
|
"language": "GDScript",
|
|
|
|
"path": "res://src/Classes/AnimationTag.gd"
|
|
|
|
}, {
|
2021-02-02 15:48:17 +00:00
|
|
|
"base": "VBoxContainer",
|
|
|
|
"class": "BaseTool",
|
|
|
|
"language": "GDScript",
|
|
|
|
"path": "res://src/Tools/BaseTool.gd"
|
|
|
|
}, {
|
2020-07-09 12:22:17 +00:00
|
|
|
"base": "Popup",
|
|
|
|
"class": "Brushes",
|
|
|
|
"language": "GDScript",
|
|
|
|
"path": "res://src/UI/BrushesPopup.gd"
|
|
|
|
}, {
|
2019-08-18 09:28:38 +00:00
|
|
|
"base": "Node2D",
|
|
|
|
"class": "Canvas",
|
|
|
|
"language": "GDScript",
|
2020-08-18 13:21:31 +00:00
|
|
|
"path": "res://src/UI/Canvas/Canvas.gd"
|
2019-11-06 16:39:23 +00:00
|
|
|
}, {
|
2020-06-01 15:50:31 +00:00
|
|
|
"base": "Reference",
|
|
|
|
"class": "Cel",
|
|
|
|
"language": "GDScript",
|
2020-06-02 02:14:05 +00:00
|
|
|
"path": "res://src/Classes/Cel.gd"
|
2020-06-01 15:50:31 +00:00
|
|
|
}, {
|
2020-06-02 23:14:24 +00:00
|
|
|
"base": "Reference",
|
2020-06-04 11:11:24 +00:00
|
|
|
"class": "Drawer",
|
|
|
|
"language": "GDScript",
|
|
|
|
"path": "res://src/Classes/Drawers.gd"
|
|
|
|
}, {
|
|
|
|
"base": "Reference",
|
2020-06-02 23:14:24 +00:00
|
|
|
"class": "Frame",
|
|
|
|
"language": "GDScript",
|
|
|
|
"path": "res://src/Classes/Frame.gd"
|
|
|
|
}, {
|
2019-11-20 22:11:21 +00:00
|
|
|
"base": "Line2D",
|
|
|
|
"class": "Guide",
|
|
|
|
"language": "GDScript",
|
2020-08-18 13:21:31 +00:00
|
|
|
"path": "res://src/UI/Canvas/Rulers/Guide.gd"
|
2019-11-20 22:11:21 +00:00
|
|
|
}, {
|
2020-08-25 16:07:12 +00:00
|
|
|
"base": "AcceptDialog",
|
|
|
|
"class": "ImageEffect",
|
|
|
|
"language": "GDScript",
|
|
|
|
"path": "res://src/Classes/ImageEffect.gd"
|
|
|
|
}, {
|
2020-06-01 13:42:53 +00:00
|
|
|
"base": "Reference",
|
|
|
|
"class": "Layer",
|
|
|
|
"language": "GDScript",
|
2020-06-02 02:14:05 +00:00
|
|
|
"path": "res://src/Classes/Layer.gd"
|
2020-06-01 13:42:53 +00:00
|
|
|
}, {
|
2020-05-03 00:13:08 +00:00
|
|
|
"base": "Button",
|
2020-05-01 19:17:05 +00:00
|
|
|
"class": "LayerButton",
|
2019-11-06 16:39:23 +00:00
|
|
|
"language": "GDScript",
|
2020-05-01 22:19:01 +00:00
|
|
|
"path": "res://src/UI/Timeline/LayerButton.gd"
|
2019-12-20 20:22:52 +00:00
|
|
|
}, {
|
2021-04-16 18:09:03 +00:00
|
|
|
"base": "Resource",
|
2019-12-20 20:22:52 +00:00
|
|
|
"class": "Palette",
|
|
|
|
"language": "GDScript",
|
2020-05-01 19:17:05 +00:00
|
|
|
"path": "res://src/Palette/Palette.gd"
|
2019-12-20 20:22:52 +00:00
|
|
|
}, {
|
2021-04-16 18:09:03 +00:00
|
|
|
"base": "Resource",
|
2019-12-20 20:22:52 +00:00
|
|
|
"class": "PaletteColor",
|
|
|
|
"language": "GDScript",
|
2020-05-01 19:17:05 +00:00
|
|
|
"path": "res://src/Palette/PaletteColor.gd"
|
2020-06-04 18:05:36 +00:00
|
|
|
}, {
|
2021-04-16 18:09:03 +00:00
|
|
|
"base": "GridContainer",
|
|
|
|
"class": "PaletteGrid",
|
|
|
|
"language": "GDScript",
|
|
|
|
"path": "res://src/Palette/PaletteGrid.gd"
|
|
|
|
}, {
|
|
|
|
"base": "PanelContainer",
|
|
|
|
"class": "PalettePanel",
|
|
|
|
"language": "GDScript",
|
|
|
|
"path": "res://src/Palette/PalettePanel.gd"
|
|
|
|
}, {
|
|
|
|
"base": "ColorRect",
|
|
|
|
"class": "PaletteSwatch",
|
|
|
|
"language": "GDScript",
|
|
|
|
"path": "res://src/Palette/PaletteSwatch.gd"
|
|
|
|
}, {
|
2020-07-09 12:22:17 +00:00
|
|
|
"base": "PopupPanel",
|
|
|
|
"class": "Patterns",
|
|
|
|
"language": "GDScript",
|
|
|
|
"path": "res://src/UI/PatternsPopup.gd"
|
|
|
|
}, {
|
2020-06-04 18:05:36 +00:00
|
|
|
"base": "Reference",
|
|
|
|
"class": "Project",
|
|
|
|
"language": "GDScript",
|
|
|
|
"path": "res://src/Classes/Project.gd"
|
2020-07-16 01:25:59 +00:00
|
|
|
}, {
|
2021-05-01 00:10:23 +00:00
|
|
|
"base": "BaseTool",
|
|
|
|
"class": "SelectionTool",
|
|
|
|
"language": "GDScript",
|
|
|
|
"path": "res://src/Tools/SelectionTools/SelectionTool.gd"
|
|
|
|
}, {
|
2021-04-21 12:31:33 +00:00
|
|
|
"base": "Reference",
|
|
|
|
"class": "ShaderImageEffect",
|
|
|
|
"language": "GDScript",
|
|
|
|
"path": "res://src/Classes/ShaderImageEffect.gd"
|
|
|
|
}, {
|
Implement the Keychain Plugin (#700)
* Start implementing the godot_better_input plugin
* Update ShortcutEdit.gd
* Load & save preset option
* Add some groups and fix action events not being deleted on load
* Add MenuInputAction class for multiple menu accelerators
* Create a proper plugin and a BetterInput autoload
* Update menu accelerators
* Move settings to BetterInput
* Move menu enums to Global, make more MenuInputActions
* Add more menu events
* Add new groups
* Optimize BetterInput _input() method
* Remove a lot of lines of code
* Change some previous events, add ignore actions and a View menu group
* Change update_item_accelerator to update_ui
* Move MenuInputAction initialization to BetterInput.gd
* Update hint tooltips when a shortcut changes
Temporarily comment out some code regarding the configurable modifiers
* Some MenuInputAction variable name changes
* Add handle_input() to InputAction
* Update the shortcuts of buttons
* Fix shortcut selector menu position
* Change plugin name into Keychain
* Fix keyboard input dialog exiting when Enter or Space is being pressed
* Add two more groups
* Make groups folded by default
* Temporarily make tool modifier shortcuts not configurable
A temporary change, they will be made configurable again, with different actions that are currently mapped to the same events, local/independent from each other.
* Add license for Keychain
* Fix issue where a key event would be added in other input types
* Fix bug where the assigned state was not updated when the dialog appeared again
* Update Main.tscn
* Add a disabled line edit in keyboard shortcut selector to grab focus
* Load presets in the Keychain autoload
This way, the input actions get updated from the start, instead of only at the ShortcutEdit scene.
WARNING, this currently causes crashes if the menu items have no shortcut binded to them.
* Move custom settings away from Keychain.gd
To keep it the same as the upstream plugin
* Change menu enum names
* Made action_get_first_key() more general
* Use arrays for menu items instead of dictionaries, fixes crash
* Move moveable panels to Window menu
* Format
* Optimize hint tooltip updating
* Add support for translations in Keychain
* Translation changes
* Made tool modifiers configurable
Needs more testing.
* Made camera arrow key movement configurable & joypad axis support
This commit removes the ability to press Shift and Control+Shift to adjust the camera arrow key movement speed. Instead, the speed depends on the zoom level.
The right joypad analog stick is configured to move the camera by default.
* Rename presets into shortcut profiles, use Resources and let users create their own
* [skip ci] Update addons README
* Update Global.gd
2022-05-16 12:07:51 +00:00
|
|
|
"base": "Resource",
|
|
|
|
"class": "ShortcutProfile",
|
|
|
|
"language": "GDScript",
|
|
|
|
"path": "res://addons/keychain/ShortcutProfile.gd"
|
|
|
|
}, {
|
2020-07-16 01:25:59 +00:00
|
|
|
"base": "Guide",
|
|
|
|
"class": "SymmetryGuide",
|
|
|
|
"language": "GDScript",
|
2020-08-18 13:21:31 +00:00
|
|
|
"path": "res://src/UI/Canvas/Rulers/SymmetryGuide.gd"
|
2019-08-18 09:28:38 +00:00
|
|
|
} ]
|
|
|
|
_global_script_class_icons={
|
2020-06-02 02:14:05 +00:00
|
|
|
"AnimationTag": "",
|
2021-02-02 15:48:17 +00:00
|
|
|
"BaseTool": "",
|
2020-07-09 12:22:17 +00:00
|
|
|
"Brushes": "",
|
2019-11-06 16:39:23 +00:00
|
|
|
"Canvas": "",
|
2020-06-01 15:50:31 +00:00
|
|
|
"Cel": "",
|
2020-06-04 11:11:24 +00:00
|
|
|
"Drawer": "",
|
2020-06-02 23:14:24 +00:00
|
|
|
"Frame": "",
|
2019-11-20 22:11:21 +00:00
|
|
|
"Guide": "",
|
2020-08-25 16:07:12 +00:00
|
|
|
"ImageEffect": "",
|
2020-06-01 13:42:53 +00:00
|
|
|
"Layer": "",
|
2020-05-01 19:17:05 +00:00
|
|
|
"LayerButton": "",
|
2019-12-20 20:22:52 +00:00
|
|
|
"Palette": "",
|
2020-06-04 18:05:36 +00:00
|
|
|
"PaletteColor": "",
|
2021-04-16 18:09:03 +00:00
|
|
|
"PaletteGrid": "",
|
|
|
|
"PalettePanel": "",
|
|
|
|
"PaletteSwatch": "",
|
2020-07-09 12:22:17 +00:00
|
|
|
"Patterns": "",
|
2020-07-16 01:25:59 +00:00
|
|
|
"Project": "",
|
2021-05-01 00:10:23 +00:00
|
|
|
"SelectionTool": "",
|
2021-04-21 12:31:33 +00:00
|
|
|
"ShaderImageEffect": "",
|
Implement the Keychain Plugin (#700)
* Start implementing the godot_better_input plugin
* Update ShortcutEdit.gd
* Load & save preset option
* Add some groups and fix action events not being deleted on load
* Add MenuInputAction class for multiple menu accelerators
* Create a proper plugin and a BetterInput autoload
* Update menu accelerators
* Move settings to BetterInput
* Move menu enums to Global, make more MenuInputActions
* Add more menu events
* Add new groups
* Optimize BetterInput _input() method
* Remove a lot of lines of code
* Change some previous events, add ignore actions and a View menu group
* Change update_item_accelerator to update_ui
* Move MenuInputAction initialization to BetterInput.gd
* Update hint tooltips when a shortcut changes
Temporarily comment out some code regarding the configurable modifiers
* Some MenuInputAction variable name changes
* Add handle_input() to InputAction
* Update the shortcuts of buttons
* Fix shortcut selector menu position
* Change plugin name into Keychain
* Fix keyboard input dialog exiting when Enter or Space is being pressed
* Add two more groups
* Make groups folded by default
* Temporarily make tool modifier shortcuts not configurable
A temporary change, they will be made configurable again, with different actions that are currently mapped to the same events, local/independent from each other.
* Add license for Keychain
* Fix issue where a key event would be added in other input types
* Fix bug where the assigned state was not updated when the dialog appeared again
* Update Main.tscn
* Add a disabled line edit in keyboard shortcut selector to grab focus
* Load presets in the Keychain autoload
This way, the input actions get updated from the start, instead of only at the ShortcutEdit scene.
WARNING, this currently causes crashes if the menu items have no shortcut binded to them.
* Move custom settings away from Keychain.gd
To keep it the same as the upstream plugin
* Change menu enum names
* Made action_get_first_key() more general
* Use arrays for menu items instead of dictionaries, fixes crash
* Move moveable panels to Window menu
* Format
* Optimize hint tooltip updating
* Add support for translations in Keychain
* Translation changes
* Made tool modifiers configurable
Needs more testing.
* Made camera arrow key movement configurable & joypad axis support
This commit removes the ability to press Shift and Control+Shift to adjust the camera arrow key movement speed. Instead, the speed depends on the zoom level.
The right joypad analog stick is configured to move the camera by default.
* Rename presets into shortcut profiles, use Resources and let users create their own
* [skip ci] Update addons README
* Update Global.gd
2022-05-16 12:07:51 +00:00
|
|
|
"ShortcutProfile": "",
|
2020-07-16 01:25:59 +00:00
|
|
|
"SymmetryGuide": ""
|
2019-08-18 09:28:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
[application]
|
|
|
|
|
|
|
|
config/name="Pixelorama"
|
2020-01-27 22:19:55 +00:00
|
|
|
config/description="A free & open-source 2D sprite editor"
|
2020-05-01 19:17:05 +00:00
|
|
|
run/main_scene="res://src/Main.tscn"
|
2022-03-29 17:04:39 +00:00
|
|
|
config/use_custom_user_dir=true
|
2019-12-23 19:29:45 +00:00
|
|
|
run/low_processor_mode=true
|
2020-05-05 00:53:58 +00:00
|
|
|
boot_splash/image="res://assets/graphics/splash.png"
|
2019-12-14 19:14:46 +00:00
|
|
|
boot_splash/bg_color=Color( 0.145098, 0.145098, 0.164706, 1 )
|
2020-05-05 00:53:58 +00:00
|
|
|
config/icon="res://assets/graphics/icons/icon.png"
|
2020-05-05 01:24:29 +00:00
|
|
|
config/macos_native_icon="res://assets/graphics/icons/icon.icns"
|
|
|
|
config/windows_native_icon="res://assets/graphics/icons/icon.ico"
|
2022-03-29 17:04:39 +00:00
|
|
|
config/custom_user_dir_name.X11="pixelorama"
|
2021-10-02 12:08:58 +00:00
|
|
|
run/low_processor_mode.Android=false
|
2022-04-24 13:10:13 +00:00
|
|
|
config/Version="v0.10.1-dev"
|
2019-08-18 09:28:38 +00:00
|
|
|
|
2020-08-22 21:20:44 +00:00
|
|
|
[audio]
|
|
|
|
|
|
|
|
driver="Dummy"
|
|
|
|
|
2019-08-18 09:28:38 +00:00
|
|
|
[autoload]
|
|
|
|
|
2020-05-01 19:17:05 +00:00
|
|
|
Global="*res://src/Autoload/Global.gd"
|
|
|
|
Import="*res://src/Autoload/Import.gd"
|
|
|
|
OpenSave="*res://src/Autoload/OpenSave.gd"
|
2020-05-29 00:16:44 +00:00
|
|
|
DrawingAlgos="*res://src/Autoload/DrawingAlgos.gd"
|
2020-07-09 12:22:17 +00:00
|
|
|
Tools="*res://src/Autoload/Tools.gd"
|
2020-06-30 15:32:16 +00:00
|
|
|
Html5FileExchange="*res://src/Autoload/HTML5FileExchange.gd"
|
2020-07-31 20:26:52 +00:00
|
|
|
Export="*res://src/Autoload/Export.gd"
|
2021-04-16 18:09:03 +00:00
|
|
|
Palettes="*res://src/Autoload/Palettes.gd"
|
Implement the Keychain Plugin (#700)
* Start implementing the godot_better_input plugin
* Update ShortcutEdit.gd
* Load & save preset option
* Add some groups and fix action events not being deleted on load
* Add MenuInputAction class for multiple menu accelerators
* Create a proper plugin and a BetterInput autoload
* Update menu accelerators
* Move settings to BetterInput
* Move menu enums to Global, make more MenuInputActions
* Add more menu events
* Add new groups
* Optimize BetterInput _input() method
* Remove a lot of lines of code
* Change some previous events, add ignore actions and a View menu group
* Change update_item_accelerator to update_ui
* Move MenuInputAction initialization to BetterInput.gd
* Update hint tooltips when a shortcut changes
Temporarily comment out some code regarding the configurable modifiers
* Some MenuInputAction variable name changes
* Add handle_input() to InputAction
* Update the shortcuts of buttons
* Fix shortcut selector menu position
* Change plugin name into Keychain
* Fix keyboard input dialog exiting when Enter or Space is being pressed
* Add two more groups
* Make groups folded by default
* Temporarily make tool modifier shortcuts not configurable
A temporary change, they will be made configurable again, with different actions that are currently mapped to the same events, local/independent from each other.
* Add license for Keychain
* Fix issue where a key event would be added in other input types
* Fix bug where the assigned state was not updated when the dialog appeared again
* Update Main.tscn
* Add a disabled line edit in keyboard shortcut selector to grab focus
* Load presets in the Keychain autoload
This way, the input actions get updated from the start, instead of only at the ShortcutEdit scene.
WARNING, this currently causes crashes if the menu items have no shortcut binded to them.
* Move custom settings away from Keychain.gd
To keep it the same as the upstream plugin
* Change menu enum names
* Made action_get_first_key() more general
* Use arrays for menu items instead of dictionaries, fixes crash
* Move moveable panels to Window menu
* Format
* Optimize hint tooltip updating
* Add support for translations in Keychain
* Translation changes
* Made tool modifiers configurable
Needs more testing.
* Made camera arrow key movement configurable & joypad axis support
This commit removes the ability to press Shift and Control+Shift to adjust the camera arrow key movement speed. Instead, the speed depends on the zoom level.
The right joypad analog stick is configured to move the camera by default.
* Rename presets into shortcut profiles, use Resources and let users create their own
* [skip ci] Update addons README
* Update Global.gd
2022-05-16 12:07:51 +00:00
|
|
|
Keychain="*res://addons/keychain/Keychain.gd"
|
2019-08-18 09:28:38 +00:00
|
|
|
|
|
|
|
[debug]
|
|
|
|
|
2019-09-25 19:59:48 +00:00
|
|
|
gdscript/warnings/narrowing_conversion=false
|
2019-08-18 09:28:38 +00:00
|
|
|
gdscript/warnings/return_value_discarded=false
|
|
|
|
|
2019-11-19 21:23:43 +00:00
|
|
|
[display]
|
|
|
|
|
2020-04-04 21:45:19 +00:00
|
|
|
window/size/width=1280
|
|
|
|
window/size/height=720
|
2021-02-02 15:29:19 +00:00
|
|
|
window/per_pixel_transparency/allowed=true
|
|
|
|
window/per_pixel_transparency/enabled=true
|
2021-02-02 17:17:56 +00:00
|
|
|
window/per_pixel_transparency/allowed.HTML5=false
|
|
|
|
window/per_pixel_transparency/enabled.HTML5=false
|
2021-10-02 12:08:58 +00:00
|
|
|
window/per_pixel_transparency/allowed.Android=false
|
|
|
|
window/per_pixel_transparency/enabled.Android=false
|
2019-11-19 21:23:43 +00:00
|
|
|
|
2022-01-29 22:47:25 +00:00
|
|
|
[editor_plugins]
|
|
|
|
|
Implement the Keychain Plugin (#700)
* Start implementing the godot_better_input plugin
* Update ShortcutEdit.gd
* Load & save preset option
* Add some groups and fix action events not being deleted on load
* Add MenuInputAction class for multiple menu accelerators
* Create a proper plugin and a BetterInput autoload
* Update menu accelerators
* Move settings to BetterInput
* Move menu enums to Global, make more MenuInputActions
* Add more menu events
* Add new groups
* Optimize BetterInput _input() method
* Remove a lot of lines of code
* Change some previous events, add ignore actions and a View menu group
* Change update_item_accelerator to update_ui
* Move MenuInputAction initialization to BetterInput.gd
* Update hint tooltips when a shortcut changes
Temporarily comment out some code regarding the configurable modifiers
* Some MenuInputAction variable name changes
* Add handle_input() to InputAction
* Update the shortcuts of buttons
* Fix shortcut selector menu position
* Change plugin name into Keychain
* Fix keyboard input dialog exiting when Enter or Space is being pressed
* Add two more groups
* Make groups folded by default
* Temporarily make tool modifier shortcuts not configurable
A temporary change, they will be made configurable again, with different actions that are currently mapped to the same events, local/independent from each other.
* Add license for Keychain
* Fix issue where a key event would be added in other input types
* Fix bug where the assigned state was not updated when the dialog appeared again
* Update Main.tscn
* Add a disabled line edit in keyboard shortcut selector to grab focus
* Load presets in the Keychain autoload
This way, the input actions get updated from the start, instead of only at the ShortcutEdit scene.
WARNING, this currently causes crashes if the menu items have no shortcut binded to them.
* Move custom settings away from Keychain.gd
To keep it the same as the upstream plugin
* Change menu enum names
* Made action_get_first_key() more general
* Use arrays for menu items instead of dictionaries, fixes crash
* Move moveable panels to Window menu
* Format
* Optimize hint tooltip updating
* Add support for translations in Keychain
* Translation changes
* Made tool modifiers configurable
Needs more testing.
* Made camera arrow key movement configurable & joypad axis support
This commit removes the ability to press Shift and Control+Shift to adjust the camera arrow key movement speed. Instead, the speed depends on the zoom level.
The right joypad analog stick is configured to move the camera by default.
* Rename presets into shortcut profiles, use Resources and let users create their own
* [skip ci] Update addons README
* Update Global.gd
2022-05-16 12:07:51 +00:00
|
|
|
enabled=PoolStringArray( "res://addons/dockable_container/plugin.cfg", "res://addons/keychain/plugin.cfg" )
|
2022-01-29 22:47:25 +00:00
|
|
|
|
2021-09-25 10:42:31 +00:00
|
|
|
[gui]
|
|
|
|
|
|
|
|
theme/use_hidpi.clickable=true
|
|
|
|
|
2019-11-19 21:23:43 +00:00
|
|
|
[importer_defaults]
|
|
|
|
|
|
|
|
texture={
|
|
|
|
"compress/bptc_ldr": 0,
|
|
|
|
"compress/hdr_mode": 0,
|
|
|
|
"compress/lossy_quality": 0.7,
|
|
|
|
"compress/mode": 0,
|
|
|
|
"compress/normal_map": 0,
|
2021-05-31 18:39:33 +00:00
|
|
|
"detect_3d": false,
|
2019-11-19 21:23:43 +00:00
|
|
|
"flags/anisotropic": false,
|
|
|
|
"flags/filter": false,
|
|
|
|
"flags/mipmaps": false,
|
|
|
|
"flags/repeat": 0,
|
|
|
|
"flags/srgb": 2,
|
|
|
|
"process/HDR_as_SRGB": false,
|
|
|
|
"process/fix_alpha_border": true,
|
|
|
|
"process/invert_color": false,
|
|
|
|
"process/premult_alpha": false,
|
|
|
|
"size_limit": 0,
|
|
|
|
"stream": false,
|
|
|
|
"svg/scale": 1.0
|
|
|
|
}
|
|
|
|
|
2019-08-18 09:28:38 +00:00
|
|
|
[input]
|
|
|
|
|
|
|
|
zoom_in={
|
|
|
|
"deadzone": 0.5,
|
|
|
|
"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":4,"pressed":false,"doubleclick":false,"script":null)
|
2021-11-09 14:45:31 +00:00
|
|
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":61,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
|
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777349,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2019-08-18 09:28:38 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
zoom_out={
|
|
|
|
"deadzone": 0.5,
|
|
|
|
"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":5,"pressed":false,"doubleclick":false,"script":null)
|
2021-11-09 14:45:31 +00:00
|
|
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":45,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
|
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777347,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2019-08-18 09:28:38 +00:00
|
|
|
]
|
|
|
|
}
|
2020-01-27 22:19:55 +00:00
|
|
|
middle_mouse={
|
2019-08-18 09:28:38 +00:00
|
|
|
"deadzone": 0.5,
|
2020-12-10 18:39:29 +00:00
|
|
|
"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":3,"pressed":false,"doubleclick":false,"script":null)
|
2019-08-18 09:28:38 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
left_mouse={
|
|
|
|
"deadzone": 0.5,
|
2019-12-12 15:20:17 +00:00
|
|
|
"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null)
|
2019-08-18 09:28:38 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
right_mouse={
|
|
|
|
"deadzone": 0.5,
|
2019-12-12 15:20:17 +00:00
|
|
|
"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":2,"pressed":false,"doubleclick":false,"script":null)
|
2019-08-18 09:28:38 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
left_pencil_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":80,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2019-08-18 09:28:38 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
right_pencil_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":true,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":80,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2019-08-18 09:28:38 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
left_eraser_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":69,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2019-08-18 09:28:38 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
right_eraser_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":true,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":69,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2019-08-18 09:28:38 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
left_fill_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":66,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2019-08-18 09:28:38 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
right_fill_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":true,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":66,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2019-08-18 09:28:38 +00:00
|
|
|
]
|
|
|
|
}
|
2019-09-18 14:47:28 +00:00
|
|
|
left_rectangle_select_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":82,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2019-09-18 14:47:28 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
right_rectangle_select_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":true,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":82,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2019-09-18 14:47:28 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
copy={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":67,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2019-09-18 14:47:28 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
paste={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":86,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2019-09-18 14:47:28 +00:00
|
|
|
]
|
|
|
|
}
|
2021-05-25 23:17:49 +00:00
|
|
|
left_shading_tool={
|
2019-10-22 23:54:29 +00:00
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":85,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2019-10-22 23:54:29 +00:00
|
|
|
]
|
|
|
|
}
|
2021-05-25 23:17:49 +00:00
|
|
|
right_shading_tool={
|
2019-10-22 23:54:29 +00:00
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":true,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":85,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2019-10-22 23:54:29 +00:00
|
|
|
]
|
|
|
|
}
|
2019-11-19 21:33:37 +00:00
|
|
|
toggle_fullscreen={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777254,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
Implement the Keychain Plugin (#700)
* Start implementing the godot_better_input plugin
* Update ShortcutEdit.gd
* Load & save preset option
* Add some groups and fix action events not being deleted on load
* Add MenuInputAction class for multiple menu accelerators
* Create a proper plugin and a BetterInput autoload
* Update menu accelerators
* Move settings to BetterInput
* Move menu enums to Global, make more MenuInputActions
* Add more menu events
* Add new groups
* Optimize BetterInput _input() method
* Remove a lot of lines of code
* Change some previous events, add ignore actions and a View menu group
* Change update_item_accelerator to update_ui
* Move MenuInputAction initialization to BetterInput.gd
* Update hint tooltips when a shortcut changes
Temporarily comment out some code regarding the configurable modifiers
* Some MenuInputAction variable name changes
* Add handle_input() to InputAction
* Update the shortcuts of buttons
* Fix shortcut selector menu position
* Change plugin name into Keychain
* Fix keyboard input dialog exiting when Enter or Space is being pressed
* Add two more groups
* Make groups folded by default
* Temporarily make tool modifier shortcuts not configurable
A temporary change, they will be made configurable again, with different actions that are currently mapped to the same events, local/independent from each other.
* Add license for Keychain
* Fix issue where a key event would be added in other input types
* Fix bug where the assigned state was not updated when the dialog appeared again
* Update Main.tscn
* Add a disabled line edit in keyboard shortcut selector to grab focus
* Load presets in the Keychain autoload
This way, the input actions get updated from the start, instead of only at the ShortcutEdit scene.
WARNING, this currently causes crashes if the menu items have no shortcut binded to them.
* Move custom settings away from Keychain.gd
To keep it the same as the upstream plugin
* Change menu enum names
* Made action_get_first_key() more general
* Use arrays for menu items instead of dictionaries, fixes crash
* Move moveable panels to Window menu
* Format
* Optimize hint tooltip updating
* Add support for translations in Keychain
* Translation changes
* Made tool modifiers configurable
Needs more testing.
* Made camera arrow key movement configurable & joypad axis support
This commit removes the ability to press Shift and Control+Shift to adjust the camera arrow key movement speed. Instead, the speed depends on the zoom level.
The right joypad analog stick is configured to move the camera by default.
* Rename presets into shortcut profiles, use Resources and let users create their own
* [skip ci] Update addons README
* Update Global.gd
2022-05-16 12:07:51 +00:00
|
|
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":true,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777221,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2019-11-19 21:33:37 +00:00
|
|
|
]
|
|
|
|
}
|
2019-12-04 15:22:21 +00:00
|
|
|
left_colorpicker_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":79,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2019-12-04 15:22:21 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
right_colorpicker_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":true,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":79,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2019-12-04 15:22:21 +00:00
|
|
|
]
|
|
|
|
}
|
2019-12-15 12:07:28 +00:00
|
|
|
shift={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777237,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2019-12-15 12:07:28 +00:00
|
|
|
]
|
|
|
|
}
|
2019-12-19 13:50:41 +00:00
|
|
|
ctrl={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777238,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2019-12-19 13:50:41 +00:00
|
|
|
]
|
|
|
|
}
|
2019-12-27 14:10:05 +00:00
|
|
|
delete={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777224,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2019-12-27 14:10:05 +00:00
|
|
|
]
|
|
|
|
}
|
Implement the Keychain Plugin (#700)
* Start implementing the godot_better_input plugin
* Update ShortcutEdit.gd
* Load & save preset option
* Add some groups and fix action events not being deleted on load
* Add MenuInputAction class for multiple menu accelerators
* Create a proper plugin and a BetterInput autoload
* Update menu accelerators
* Move settings to BetterInput
* Move menu enums to Global, make more MenuInputActions
* Add more menu events
* Add new groups
* Optimize BetterInput _input() method
* Remove a lot of lines of code
* Change some previous events, add ignore actions and a View menu group
* Change update_item_accelerator to update_ui
* Move MenuInputAction initialization to BetterInput.gd
* Update hint tooltips when a shortcut changes
Temporarily comment out some code regarding the configurable modifiers
* Some MenuInputAction variable name changes
* Add handle_input() to InputAction
* Update the shortcuts of buttons
* Fix shortcut selector menu position
* Change plugin name into Keychain
* Fix keyboard input dialog exiting when Enter or Space is being pressed
* Add two more groups
* Make groups folded by default
* Temporarily make tool modifier shortcuts not configurable
A temporary change, they will be made configurable again, with different actions that are currently mapped to the same events, local/independent from each other.
* Add license for Keychain
* Fix issue where a key event would be added in other input types
* Fix bug where the assigned state was not updated when the dialog appeared again
* Update Main.tscn
* Add a disabled line edit in keyboard shortcut selector to grab focus
* Load presets in the Keychain autoload
This way, the input actions get updated from the start, instead of only at the ShortcutEdit scene.
WARNING, this currently causes crashes if the menu items have no shortcut binded to them.
* Move custom settings away from Keychain.gd
To keep it the same as the upstream plugin
* Change menu enum names
* Made action_get_first_key() more general
* Use arrays for menu items instead of dictionaries, fixes crash
* Move moveable panels to Window menu
* Format
* Optimize hint tooltip updating
* Add support for translations in Keychain
* Translation changes
* Made tool modifiers configurable
Needs more testing.
* Made camera arrow key movement configurable & joypad axis support
This commit removes the ability to press Shift and Control+Shift to adjust the camera arrow key movement speed. Instead, the speed depends on the zoom level.
The right joypad analog stick is configured to move the camera by default.
* Rename presets into shortcut profiles, use Resources and let users create their own
* [skip ci] Update addons README
* Update Global.gd
2022-05-16 12:07:51 +00:00
|
|
|
pan={
|
2020-01-09 18:49:27 +00:00
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":32,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
Implement the Keychain Plugin (#700)
* Start implementing the godot_better_input plugin
* Update ShortcutEdit.gd
* Load & save preset option
* Add some groups and fix action events not being deleted on load
* Add MenuInputAction class for multiple menu accelerators
* Create a proper plugin and a BetterInput autoload
* Update menu accelerators
* Move settings to BetterInput
* Move menu enums to Global, make more MenuInputActions
* Add more menu events
* Add new groups
* Optimize BetterInput _input() method
* Remove a lot of lines of code
* Change some previous events, add ignore actions and a View menu group
* Change update_item_accelerator to update_ui
* Move MenuInputAction initialization to BetterInput.gd
* Update hint tooltips when a shortcut changes
Temporarily comment out some code regarding the configurable modifiers
* Some MenuInputAction variable name changes
* Add handle_input() to InputAction
* Update the shortcuts of buttons
* Fix shortcut selector menu position
* Change plugin name into Keychain
* Fix keyboard input dialog exiting when Enter or Space is being pressed
* Add two more groups
* Make groups folded by default
* Temporarily make tool modifier shortcuts not configurable
A temporary change, they will be made configurable again, with different actions that are currently mapped to the same events, local/independent from each other.
* Add license for Keychain
* Fix issue where a key event would be added in other input types
* Fix bug where the assigned state was not updated when the dialog appeared again
* Update Main.tscn
* Add a disabled line edit in keyboard shortcut selector to grab focus
* Load presets in the Keychain autoload
This way, the input actions get updated from the start, instead of only at the ShortcutEdit scene.
WARNING, this currently causes crashes if the menu items have no shortcut binded to them.
* Move custom settings away from Keychain.gd
To keep it the same as the upstream plugin
* Change menu enum names
* Made action_get_first_key() more general
* Use arrays for menu items instead of dictionaries, fixes crash
* Move moveable panels to Window menu
* Format
* Optimize hint tooltip updating
* Add support for translations in Keychain
* Translation changes
* Made tool modifiers configurable
Needs more testing.
* Made camera arrow key movement configurable & joypad axis support
This commit removes the ability to press Shift and Control+Shift to adjust the camera arrow key movement speed. Instead, the speed depends on the zoom level.
The right joypad analog stick is configured to move the camera by default.
* Rename presets into shortcut profiles, use Resources and let users create their own
* [skip ci] Update addons README
* Update Global.gd
2022-05-16 12:07:51 +00:00
|
|
|
, Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":3,"pressed":false,"doubleclick":false,"script":null)
|
2020-01-09 18:49:27 +00:00
|
|
|
]
|
|
|
|
}
|
2020-04-07 22:56:05 +00:00
|
|
|
new_file={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":78,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2020-04-07 22:56:05 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
open_file={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":79,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2020-04-07 22:56:05 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
save_file={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":83,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2020-04-07 22:56:05 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
save_file_as={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":true,"control":true,"meta":false,"command":true,"pressed":false,"scancode":83,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2020-04-07 22:56:05 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
export_file={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":69,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2020-04-07 22:56:05 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
export_file_as={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":true,"control":true,"meta":false,"command":true,"pressed":false,"scancode":69,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2020-04-07 22:56:05 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
quit={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":81,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2020-04-07 22:56:05 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
undo={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":90,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2020-04-07 22:56:05 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
redo={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":89,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
Implement the Keychain Plugin (#700)
* Start implementing the godot_better_input plugin
* Update ShortcutEdit.gd
* Load & save preset option
* Add some groups and fix action events not being deleted on load
* Add MenuInputAction class for multiple menu accelerators
* Create a proper plugin and a BetterInput autoload
* Update menu accelerators
* Move settings to BetterInput
* Move menu enums to Global, make more MenuInputActions
* Add more menu events
* Add new groups
* Optimize BetterInput _input() method
* Remove a lot of lines of code
* Change some previous events, add ignore actions and a View menu group
* Change update_item_accelerator to update_ui
* Move MenuInputAction initialization to BetterInput.gd
* Update hint tooltips when a shortcut changes
Temporarily comment out some code regarding the configurable modifiers
* Some MenuInputAction variable name changes
* Add handle_input() to InputAction
* Update the shortcuts of buttons
* Fix shortcut selector menu position
* Change plugin name into Keychain
* Fix keyboard input dialog exiting when Enter or Space is being pressed
* Add two more groups
* Make groups folded by default
* Temporarily make tool modifier shortcuts not configurable
A temporary change, they will be made configurable again, with different actions that are currently mapped to the same events, local/independent from each other.
* Add license for Keychain
* Fix issue where a key event would be added in other input types
* Fix bug where the assigned state was not updated when the dialog appeared again
* Update Main.tscn
* Add a disabled line edit in keyboard shortcut selector to grab focus
* Load presets in the Keychain autoload
This way, the input actions get updated from the start, instead of only at the ShortcutEdit scene.
WARNING, this currently causes crashes if the menu items have no shortcut binded to them.
* Move custom settings away from Keychain.gd
To keep it the same as the upstream plugin
* Change menu enum names
* Made action_get_first_key() more general
* Use arrays for menu items instead of dictionaries, fixes crash
* Move moveable panels to Window menu
* Format
* Optimize hint tooltip updating
* Add support for translations in Keychain
* Translation changes
* Made tool modifiers configurable
Needs more testing.
* Made camera arrow key movement configurable & joypad axis support
This commit removes the ability to press Shift and Control+Shift to adjust the camera arrow key movement speed. Instead, the speed depends on the zoom level.
The right joypad analog stick is configured to move the camera by default.
* Rename presets into shortcut profiles, use Resources and let users create their own
* [skip ci] Update addons README
* Update Global.gd
2022-05-16 12:07:51 +00:00
|
|
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":true,"control":true,"meta":false,"command":true,"pressed":false,"scancode":90,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2020-04-07 22:56:05 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
show_grid={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":71,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2020-04-07 22:56:05 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
show_rulers={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":82,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2020-04-07 22:56:05 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
show_guides={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":70,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2020-04-07 22:56:05 +00:00
|
|
|
]
|
|
|
|
}
|
2020-04-13 02:07:52 +00:00
|
|
|
left_zoom_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":90,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2020-04-13 02:07:52 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
right_zoom_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":true,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":90,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2020-04-13 02:07:52 +00:00
|
|
|
]
|
|
|
|
}
|
2020-04-15 18:52:20 +00:00
|
|
|
switch_colors={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":88,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2020-04-15 18:52:20 +00:00
|
|
|
]
|
|
|
|
}
|
2020-05-01 15:40:16 +00:00
|
|
|
go_to_first_frame={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":16777229,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2020-05-01 15:40:16 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
go_to_last_frame={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":16777230,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2020-05-01 15:40:16 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
go_to_previous_frame={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":16777231,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2020-05-01 15:40:16 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
go_to_next_frame={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":16777233,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2020-05-01 15:40:16 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
play_backwards={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777247,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2020-05-01 15:40:16 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
play_forward={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777248,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2020-05-01 15:40:16 +00:00
|
|
|
]
|
|
|
|
}
|
2020-06-09 16:15:25 +00:00
|
|
|
zen_mode={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777253,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2020-06-09 16:15:25 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
open_docs={
|
|
|
|
"deadzone": 0.5,
|
2022-02-16 22:28:23 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777244,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2020-06-09 16:15:25 +00:00
|
|
|
]
|
|
|
|
}
|
2020-10-08 15:05:33 +00:00
|
|
|
cut={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":88,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2020-10-08 15:05:33 +00:00
|
|
|
]
|
|
|
|
}
|
2020-11-23 16:53:21 +00:00
|
|
|
mirror_view={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":true,"control":false,"meta":false,"command":false,"pressed":false,"scancode":77,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2020-12-23 18:41:42 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
left_pan_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":77,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2020-12-23 18:41:42 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
right_pan_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":true,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":77,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2021-01-16 18:24:46 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
show_pixel_grid={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":72,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2021-02-17 17:53:01 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
clear_selection={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":68,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2021-03-30 17:07:13 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
left_rectangletool_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":83,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2021-03-30 17:07:13 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
right_rectangletool_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":true,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":83,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2021-03-30 17:07:13 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
left_ellipsetool_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":67,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2021-03-30 17:07:13 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
right_ellipsetool_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":true,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":67,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
New selection system (#474)
* Basic move tool
* Added marching ants effect on the selection borders
* Rename SelectionRectangle to SelectionShape, make it have non-rectangular shape and multiple SelectionShapes can exist
- Create multiple selection rectangles
- Merge them together if they intersect
- Move the selections (without contents as of right now)
- Gizmos are being drawn but they are not functional yet
Code is very ugly.
* Sort vectors counter-clockwise to be used as polygon borders
I did this, no idea if it works properly, probably won't be used but I thought I'd keep it saved somewhere
* More experiments I may or may not need
Trying to generate a polygon from the individual selected pixels
* Change default rectangle select behavior and ability to clip polygons using Control
* Fix rectangle selection clipping
* Split polygon into two with selection subtracting
* Move selection with contents with the move tool
Code is still a mess, don't bother looking.
* Move some methods from SelectionShape.gd to Selection.gd
The purpose of this is to generalize some selection code, so that it applies to all polygons, the entire selection. More will follow.
* UndoRedo for border moving
Nothing else in the selections system works properly in UndoRedo right now. Needs:
- UR support for creating selections
- UR support for modifying selections (merging and cutting selections together)
- UR support for removing selection
- UR support for moving content
& for all the rest of the remaining features
* Moving all of the selection shape logic to Selection.gd
Handle all of the polygons there instead of having them as individual nodes. Should be easier to handle undo/redo this way. This commit probably breaks move tool + selection tool and undo/redo. Code is still a mess. For your sanity, I hope you are not reading this. I promise I will clean up.
* Move tool works again
Buggy and messy, of course.
* Remove unneeded code and restore selection move undoredo logic
* Made Selection.gd have one big preview_image for when moving content, instead of each polygon having its own image
Could be further optimized for some specific cases. We could also remove selected_pixels from SelectionPolygon.
* UndoRedo support for creating, deleting, merging and clipping selections
UndoRedo support for moving content not added in this commit. Should work but needs more testing. This PR also removes selected_pixels from the SelectionPolygon class.
* Confirm & cancel selection movement, should support undoredo properly too
Press Enter or do any editing to confirm movement, Escape to cancel. I will most likely add UI buttons for confirm and cancel too.
* Mirror View affects selection
* Restore Cut, Copy, Paste and Clear Selection
Pasting now no longer requires a pre-existing selection and instead copies the selections themselves too.
* Created a new Select menu, which has Select All and Clear Selection as options
Clear Selection now also confirms content moving. TopMenuContainer code has changed to no longer rely on Global for the menu buttons.
* Draw gizmos as rectangles
No functionality yet. They may need to be turned to nodes, so that they can easily resize based on zoom level and check for mouse enter/exit events.
* Made gizmos get drawn in the sides and corners of the big bounding rectangle instead of individual selection parts
Still no functionality yet.
* Restore label text
* Minor optimization when clipping selections
This will execute the for loop less times
* Made a Gizmo class, cursor change on hover, has_focus = false on mouse click
Now I should actually make them resize when dragged, aye?
* Very basic gizmo resizing, still a WIP, does not work properly yet
* Start replacing the array of selected pixels with a BitMap
This should optimize the selection making a lot, and it also allows for easy border drawing without having to deal with polygons, thanks to the MarchingAntsOutline.shader
Still commit is still a WIP, image effects and brushes may not work properly yet.
Because the BitMap has a fixed size, the size of the project, moving the selection outside of canvas boundaries has proven to be a bit tricky. I did implement a hacky way of handling it, but it may be buggy and problematic. I'm still unsure whether this is the best way to handle the situation.
* Selection works with mirror view
* Draw a black rectangle when the user is making a rectangular selection
After they release the mouse, the black rectangle becomes the selection
* Make Selection.gd update when undoing/redoing
* Fix brushes not working properly with non-rectangular selections
* Added invert selection
* Cache has_selection as a variable for a speedup
* Fix conflict issues with the shape tools
* Made the bitmap image squared so the marching ants effect will be the same on both dimensions
There may be a better way to fix the issue, perhaps inside the shader itself.
* Some optimizations to call selection_bitmap_changed() less times
* Restored almost all of the image effects
Left to do:
- Change gradient's behavior. Unsure of how it will work with non-rectangular selections yet, but it should not generate pixels outside of the selection.
- Restore rotation
- Resize bitmap on image resize
- Remove the `pixels` array from the ImageEffect
* Fix Selection.gd not updating when changing project
* Resize the selection bitmap along with image resize
* Restored rotation's old behavior and finally got rid of the selected_pixels array
The rotation does not yet work properly with selections, but at least it now "works".
* Resize selection too when using gizmos
Left to do for gizmos:
- Proper cancel transformation
- Begin transformation
(currently named move_content_start but it should be renamed to something more general) when resizing gizmos
- Keep the original image and selection in memory and resize them. Meaning, gizmos should not resize the already resized data, but only resize the original. This is less destructive as there is no danger of data loss.
- Always resize on InputEventMouseMotion. This is going to be worse for performance, but it will look better for the user.
* Image and bitmap resizing now uses the original data and begin transformation on gizmo click
No matter how many times the user resizes on the current transformation, the original data will not be lost until they either confirm or cancel, so there is no data loss before confirmation/cancel.
* Cancel transformation now works properly when the selection has been resized
* Made gizmos resize on mouse motion, fix issues with negative bounding rectangle and when combined with the move tool
* Resizing can now get out of positive bounds, clearing and inverting now gets limited to the canvas bounds
Resizing currently does not work properly with negative (left & up) canvas boundaries
* Flip image when resizing and the bounding rectangle gets flipped
* Call move_content_confirm() when inverting selection
* Attempt to implement selection resizing that goes outside of the canvas boundaries (not working properly yet)
* Flip selection when resizing to negative bounding rectangle sizes
And fix preview_image vertical flipping
* Fix rotation so that it works (almost) properly with selections
Rotation algorithms now accept and only work with a given image, and the pivot has been added as a parameter
* Experimental gizmo rotation - does not work properly yet
Transforming the selection outside of the canvas is still broken.
* Fix some issues with moving selection out of canvas bounds
* Fix more issues with selection getting resized outside of canvas bounds
* Update marching ants effect properly when switching between projects
And make sure the frequency of the marching ants effect always looks roughly the same on all project sizes
* Made the rotation gizmo part of the gizmos array and resize them based on camera zoom
* Remove unneeded parameter from move_bitmap_values()
* Remove more unneeded parameters
* Move the selection only if the cursor is above it and neither shift nor control are currently pressed
* Gradient generation now works on non-rectangular selections
Although this behavior might not be the intended one
* Copy/paste marching ants effect offset
Useful for when the selection is in negative coords
* Fix issue with clear selection & UndoRedo
* Restore the ability to move selection when it's in negative coords
* Made the marching ants offset a Project variable
This fixes the issue of project switching and keeping the previous project's offset. Again, this is only relevant for when the selection is in negative coords.
* Made the "from current selection" palette preset work with the new selection system
* Fix out of bounds error when using the rectangular select tool on negative coords
* Some code cleanup
* Comment out the rotation gizmo for now, since it does not work properly
* Update marching ants shader params and gizmo sizes when the bitmap changes
* Move some methods around in Selection.gd
2021-04-17 18:30:12 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
left_move_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":84,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
New selection system (#474)
* Basic move tool
* Added marching ants effect on the selection borders
* Rename SelectionRectangle to SelectionShape, make it have non-rectangular shape and multiple SelectionShapes can exist
- Create multiple selection rectangles
- Merge them together if they intersect
- Move the selections (without contents as of right now)
- Gizmos are being drawn but they are not functional yet
Code is very ugly.
* Sort vectors counter-clockwise to be used as polygon borders
I did this, no idea if it works properly, probably won't be used but I thought I'd keep it saved somewhere
* More experiments I may or may not need
Trying to generate a polygon from the individual selected pixels
* Change default rectangle select behavior and ability to clip polygons using Control
* Fix rectangle selection clipping
* Split polygon into two with selection subtracting
* Move selection with contents with the move tool
Code is still a mess, don't bother looking.
* Move some methods from SelectionShape.gd to Selection.gd
The purpose of this is to generalize some selection code, so that it applies to all polygons, the entire selection. More will follow.
* UndoRedo for border moving
Nothing else in the selections system works properly in UndoRedo right now. Needs:
- UR support for creating selections
- UR support for modifying selections (merging and cutting selections together)
- UR support for removing selection
- UR support for moving content
& for all the rest of the remaining features
* Moving all of the selection shape logic to Selection.gd
Handle all of the polygons there instead of having them as individual nodes. Should be easier to handle undo/redo this way. This commit probably breaks move tool + selection tool and undo/redo. Code is still a mess. For your sanity, I hope you are not reading this. I promise I will clean up.
* Move tool works again
Buggy and messy, of course.
* Remove unneeded code and restore selection move undoredo logic
* Made Selection.gd have one big preview_image for when moving content, instead of each polygon having its own image
Could be further optimized for some specific cases. We could also remove selected_pixels from SelectionPolygon.
* UndoRedo support for creating, deleting, merging and clipping selections
UndoRedo support for moving content not added in this commit. Should work but needs more testing. This PR also removes selected_pixels from the SelectionPolygon class.
* Confirm & cancel selection movement, should support undoredo properly too
Press Enter or do any editing to confirm movement, Escape to cancel. I will most likely add UI buttons for confirm and cancel too.
* Mirror View affects selection
* Restore Cut, Copy, Paste and Clear Selection
Pasting now no longer requires a pre-existing selection and instead copies the selections themselves too.
* Created a new Select menu, which has Select All and Clear Selection as options
Clear Selection now also confirms content moving. TopMenuContainer code has changed to no longer rely on Global for the menu buttons.
* Draw gizmos as rectangles
No functionality yet. They may need to be turned to nodes, so that they can easily resize based on zoom level and check for mouse enter/exit events.
* Made gizmos get drawn in the sides and corners of the big bounding rectangle instead of individual selection parts
Still no functionality yet.
* Restore label text
* Minor optimization when clipping selections
This will execute the for loop less times
* Made a Gizmo class, cursor change on hover, has_focus = false on mouse click
Now I should actually make them resize when dragged, aye?
* Very basic gizmo resizing, still a WIP, does not work properly yet
* Start replacing the array of selected pixels with a BitMap
This should optimize the selection making a lot, and it also allows for easy border drawing without having to deal with polygons, thanks to the MarchingAntsOutline.shader
Still commit is still a WIP, image effects and brushes may not work properly yet.
Because the BitMap has a fixed size, the size of the project, moving the selection outside of canvas boundaries has proven to be a bit tricky. I did implement a hacky way of handling it, but it may be buggy and problematic. I'm still unsure whether this is the best way to handle the situation.
* Selection works with mirror view
* Draw a black rectangle when the user is making a rectangular selection
After they release the mouse, the black rectangle becomes the selection
* Make Selection.gd update when undoing/redoing
* Fix brushes not working properly with non-rectangular selections
* Added invert selection
* Cache has_selection as a variable for a speedup
* Fix conflict issues with the shape tools
* Made the bitmap image squared so the marching ants effect will be the same on both dimensions
There may be a better way to fix the issue, perhaps inside the shader itself.
* Some optimizations to call selection_bitmap_changed() less times
* Restored almost all of the image effects
Left to do:
- Change gradient's behavior. Unsure of how it will work with non-rectangular selections yet, but it should not generate pixels outside of the selection.
- Restore rotation
- Resize bitmap on image resize
- Remove the `pixels` array from the ImageEffect
* Fix Selection.gd not updating when changing project
* Resize the selection bitmap along with image resize
* Restored rotation's old behavior and finally got rid of the selected_pixels array
The rotation does not yet work properly with selections, but at least it now "works".
* Resize selection too when using gizmos
Left to do for gizmos:
- Proper cancel transformation
- Begin transformation
(currently named move_content_start but it should be renamed to something more general) when resizing gizmos
- Keep the original image and selection in memory and resize them. Meaning, gizmos should not resize the already resized data, but only resize the original. This is less destructive as there is no danger of data loss.
- Always resize on InputEventMouseMotion. This is going to be worse for performance, but it will look better for the user.
* Image and bitmap resizing now uses the original data and begin transformation on gizmo click
No matter how many times the user resizes on the current transformation, the original data will not be lost until they either confirm or cancel, so there is no data loss before confirmation/cancel.
* Cancel transformation now works properly when the selection has been resized
* Made gizmos resize on mouse motion, fix issues with negative bounding rectangle and when combined with the move tool
* Resizing can now get out of positive bounds, clearing and inverting now gets limited to the canvas bounds
Resizing currently does not work properly with negative (left & up) canvas boundaries
* Flip image when resizing and the bounding rectangle gets flipped
* Call move_content_confirm() when inverting selection
* Attempt to implement selection resizing that goes outside of the canvas boundaries (not working properly yet)
* Flip selection when resizing to negative bounding rectangle sizes
And fix preview_image vertical flipping
* Fix rotation so that it works (almost) properly with selections
Rotation algorithms now accept and only work with a given image, and the pivot has been added as a parameter
* Experimental gizmo rotation - does not work properly yet
Transforming the selection outside of the canvas is still broken.
* Fix some issues with moving selection out of canvas bounds
* Fix more issues with selection getting resized outside of canvas bounds
* Update marching ants effect properly when switching between projects
And make sure the frequency of the marching ants effect always looks roughly the same on all project sizes
* Made the rotation gizmo part of the gizmos array and resize them based on camera zoom
* Remove unneeded parameter from move_bitmap_values()
* Remove more unneeded parameters
* Move the selection only if the cursor is above it and neither shift nor control are currently pressed
* Gradient generation now works on non-rectangular selections
Although this behavior might not be the intended one
* Copy/paste marching ants effect offset
Useful for when the selection is in negative coords
* Fix issue with clear selection & UndoRedo
* Restore the ability to move selection when it's in negative coords
* Made the marching ants offset a Project variable
This fixes the issue of project switching and keeping the previous project's offset. Again, this is only relevant for when the selection is in negative coords.
* Made the "from current selection" palette preset work with the new selection system
* Fix out of bounds error when using the rectangular select tool on negative coords
* Some code cleanup
* Comment out the rotation gizmo for now, since it does not work properly
* Update marching ants shader params and gizmo sizes when the bitmap changes
* Move some methods around in Selection.gd
2021-04-17 18:30:12 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
right_move_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":true,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":84,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
New selection system (#474)
* Basic move tool
* Added marching ants effect on the selection borders
* Rename SelectionRectangle to SelectionShape, make it have non-rectangular shape and multiple SelectionShapes can exist
- Create multiple selection rectangles
- Merge them together if they intersect
- Move the selections (without contents as of right now)
- Gizmos are being drawn but they are not functional yet
Code is very ugly.
* Sort vectors counter-clockwise to be used as polygon borders
I did this, no idea if it works properly, probably won't be used but I thought I'd keep it saved somewhere
* More experiments I may or may not need
Trying to generate a polygon from the individual selected pixels
* Change default rectangle select behavior and ability to clip polygons using Control
* Fix rectangle selection clipping
* Split polygon into two with selection subtracting
* Move selection with contents with the move tool
Code is still a mess, don't bother looking.
* Move some methods from SelectionShape.gd to Selection.gd
The purpose of this is to generalize some selection code, so that it applies to all polygons, the entire selection. More will follow.
* UndoRedo for border moving
Nothing else in the selections system works properly in UndoRedo right now. Needs:
- UR support for creating selections
- UR support for modifying selections (merging and cutting selections together)
- UR support for removing selection
- UR support for moving content
& for all the rest of the remaining features
* Moving all of the selection shape logic to Selection.gd
Handle all of the polygons there instead of having them as individual nodes. Should be easier to handle undo/redo this way. This commit probably breaks move tool + selection tool and undo/redo. Code is still a mess. For your sanity, I hope you are not reading this. I promise I will clean up.
* Move tool works again
Buggy and messy, of course.
* Remove unneeded code and restore selection move undoredo logic
* Made Selection.gd have one big preview_image for when moving content, instead of each polygon having its own image
Could be further optimized for some specific cases. We could also remove selected_pixels from SelectionPolygon.
* UndoRedo support for creating, deleting, merging and clipping selections
UndoRedo support for moving content not added in this commit. Should work but needs more testing. This PR also removes selected_pixels from the SelectionPolygon class.
* Confirm & cancel selection movement, should support undoredo properly too
Press Enter or do any editing to confirm movement, Escape to cancel. I will most likely add UI buttons for confirm and cancel too.
* Mirror View affects selection
* Restore Cut, Copy, Paste and Clear Selection
Pasting now no longer requires a pre-existing selection and instead copies the selections themselves too.
* Created a new Select menu, which has Select All and Clear Selection as options
Clear Selection now also confirms content moving. TopMenuContainer code has changed to no longer rely on Global for the menu buttons.
* Draw gizmos as rectangles
No functionality yet. They may need to be turned to nodes, so that they can easily resize based on zoom level and check for mouse enter/exit events.
* Made gizmos get drawn in the sides and corners of the big bounding rectangle instead of individual selection parts
Still no functionality yet.
* Restore label text
* Minor optimization when clipping selections
This will execute the for loop less times
* Made a Gizmo class, cursor change on hover, has_focus = false on mouse click
Now I should actually make them resize when dragged, aye?
* Very basic gizmo resizing, still a WIP, does not work properly yet
* Start replacing the array of selected pixels with a BitMap
This should optimize the selection making a lot, and it also allows for easy border drawing without having to deal with polygons, thanks to the MarchingAntsOutline.shader
Still commit is still a WIP, image effects and brushes may not work properly yet.
Because the BitMap has a fixed size, the size of the project, moving the selection outside of canvas boundaries has proven to be a bit tricky. I did implement a hacky way of handling it, but it may be buggy and problematic. I'm still unsure whether this is the best way to handle the situation.
* Selection works with mirror view
* Draw a black rectangle when the user is making a rectangular selection
After they release the mouse, the black rectangle becomes the selection
* Make Selection.gd update when undoing/redoing
* Fix brushes not working properly with non-rectangular selections
* Added invert selection
* Cache has_selection as a variable for a speedup
* Fix conflict issues with the shape tools
* Made the bitmap image squared so the marching ants effect will be the same on both dimensions
There may be a better way to fix the issue, perhaps inside the shader itself.
* Some optimizations to call selection_bitmap_changed() less times
* Restored almost all of the image effects
Left to do:
- Change gradient's behavior. Unsure of how it will work with non-rectangular selections yet, but it should not generate pixels outside of the selection.
- Restore rotation
- Resize bitmap on image resize
- Remove the `pixels` array from the ImageEffect
* Fix Selection.gd not updating when changing project
* Resize the selection bitmap along with image resize
* Restored rotation's old behavior and finally got rid of the selected_pixels array
The rotation does not yet work properly with selections, but at least it now "works".
* Resize selection too when using gizmos
Left to do for gizmos:
- Proper cancel transformation
- Begin transformation
(currently named move_content_start but it should be renamed to something more general) when resizing gizmos
- Keep the original image and selection in memory and resize them. Meaning, gizmos should not resize the already resized data, but only resize the original. This is less destructive as there is no danger of data loss.
- Always resize on InputEventMouseMotion. This is going to be worse for performance, but it will look better for the user.
* Image and bitmap resizing now uses the original data and begin transformation on gizmo click
No matter how many times the user resizes on the current transformation, the original data will not be lost until they either confirm or cancel, so there is no data loss before confirmation/cancel.
* Cancel transformation now works properly when the selection has been resized
* Made gizmos resize on mouse motion, fix issues with negative bounding rectangle and when combined with the move tool
* Resizing can now get out of positive bounds, clearing and inverting now gets limited to the canvas bounds
Resizing currently does not work properly with negative (left & up) canvas boundaries
* Flip image when resizing and the bounding rectangle gets flipped
* Call move_content_confirm() when inverting selection
* Attempt to implement selection resizing that goes outside of the canvas boundaries (not working properly yet)
* Flip selection when resizing to negative bounding rectangle sizes
And fix preview_image vertical flipping
* Fix rotation so that it works (almost) properly with selections
Rotation algorithms now accept and only work with a given image, and the pivot has been added as a parameter
* Experimental gizmo rotation - does not work properly yet
Transforming the selection outside of the canvas is still broken.
* Fix some issues with moving selection out of canvas bounds
* Fix more issues with selection getting resized outside of canvas bounds
* Update marching ants effect properly when switching between projects
And make sure the frequency of the marching ants effect always looks roughly the same on all project sizes
* Made the rotation gizmo part of the gizmos array and resize them based on camera zoom
* Remove unneeded parameter from move_bitmap_values()
* Remove more unneeded parameters
* Move the selection only if the cursor is above it and neither shift nor control are currently pressed
* Gradient generation now works on non-rectangular selections
Although this behavior might not be the intended one
* Copy/paste marching ants effect offset
Useful for when the selection is in negative coords
* Fix issue with clear selection & UndoRedo
* Restore the ability to move selection when it's in negative coords
* Made the marching ants offset a Project variable
This fixes the issue of project switching and keeping the previous project's offset. Again, this is only relevant for when the selection is in negative coords.
* Made the "from current selection" palette preset work with the new selection system
* Fix out of bounds error when using the rectangular select tool on negative coords
* Some code cleanup
* Comment out the rotation gizmo for now, since it does not work properly
* Update marching ants shader params and gizmo sizes when the bitmap changes
* Move some methods around in Selection.gd
2021-04-17 18:30:12 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
select_all={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":65,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
New selection system (#474)
* Basic move tool
* Added marching ants effect on the selection borders
* Rename SelectionRectangle to SelectionShape, make it have non-rectangular shape and multiple SelectionShapes can exist
- Create multiple selection rectangles
- Merge them together if they intersect
- Move the selections (without contents as of right now)
- Gizmos are being drawn but they are not functional yet
Code is very ugly.
* Sort vectors counter-clockwise to be used as polygon borders
I did this, no idea if it works properly, probably won't be used but I thought I'd keep it saved somewhere
* More experiments I may or may not need
Trying to generate a polygon from the individual selected pixels
* Change default rectangle select behavior and ability to clip polygons using Control
* Fix rectangle selection clipping
* Split polygon into two with selection subtracting
* Move selection with contents with the move tool
Code is still a mess, don't bother looking.
* Move some methods from SelectionShape.gd to Selection.gd
The purpose of this is to generalize some selection code, so that it applies to all polygons, the entire selection. More will follow.
* UndoRedo for border moving
Nothing else in the selections system works properly in UndoRedo right now. Needs:
- UR support for creating selections
- UR support for modifying selections (merging and cutting selections together)
- UR support for removing selection
- UR support for moving content
& for all the rest of the remaining features
* Moving all of the selection shape logic to Selection.gd
Handle all of the polygons there instead of having them as individual nodes. Should be easier to handle undo/redo this way. This commit probably breaks move tool + selection tool and undo/redo. Code is still a mess. For your sanity, I hope you are not reading this. I promise I will clean up.
* Move tool works again
Buggy and messy, of course.
* Remove unneeded code and restore selection move undoredo logic
* Made Selection.gd have one big preview_image for when moving content, instead of each polygon having its own image
Could be further optimized for some specific cases. We could also remove selected_pixels from SelectionPolygon.
* UndoRedo support for creating, deleting, merging and clipping selections
UndoRedo support for moving content not added in this commit. Should work but needs more testing. This PR also removes selected_pixels from the SelectionPolygon class.
* Confirm & cancel selection movement, should support undoredo properly too
Press Enter or do any editing to confirm movement, Escape to cancel. I will most likely add UI buttons for confirm and cancel too.
* Mirror View affects selection
* Restore Cut, Copy, Paste and Clear Selection
Pasting now no longer requires a pre-existing selection and instead copies the selections themselves too.
* Created a new Select menu, which has Select All and Clear Selection as options
Clear Selection now also confirms content moving. TopMenuContainer code has changed to no longer rely on Global for the menu buttons.
* Draw gizmos as rectangles
No functionality yet. They may need to be turned to nodes, so that they can easily resize based on zoom level and check for mouse enter/exit events.
* Made gizmos get drawn in the sides and corners of the big bounding rectangle instead of individual selection parts
Still no functionality yet.
* Restore label text
* Minor optimization when clipping selections
This will execute the for loop less times
* Made a Gizmo class, cursor change on hover, has_focus = false on mouse click
Now I should actually make them resize when dragged, aye?
* Very basic gizmo resizing, still a WIP, does not work properly yet
* Start replacing the array of selected pixels with a BitMap
This should optimize the selection making a lot, and it also allows for easy border drawing without having to deal with polygons, thanks to the MarchingAntsOutline.shader
Still commit is still a WIP, image effects and brushes may not work properly yet.
Because the BitMap has a fixed size, the size of the project, moving the selection outside of canvas boundaries has proven to be a bit tricky. I did implement a hacky way of handling it, but it may be buggy and problematic. I'm still unsure whether this is the best way to handle the situation.
* Selection works with mirror view
* Draw a black rectangle when the user is making a rectangular selection
After they release the mouse, the black rectangle becomes the selection
* Make Selection.gd update when undoing/redoing
* Fix brushes not working properly with non-rectangular selections
* Added invert selection
* Cache has_selection as a variable for a speedup
* Fix conflict issues with the shape tools
* Made the bitmap image squared so the marching ants effect will be the same on both dimensions
There may be a better way to fix the issue, perhaps inside the shader itself.
* Some optimizations to call selection_bitmap_changed() less times
* Restored almost all of the image effects
Left to do:
- Change gradient's behavior. Unsure of how it will work with non-rectangular selections yet, but it should not generate pixels outside of the selection.
- Restore rotation
- Resize bitmap on image resize
- Remove the `pixels` array from the ImageEffect
* Fix Selection.gd not updating when changing project
* Resize the selection bitmap along with image resize
* Restored rotation's old behavior and finally got rid of the selected_pixels array
The rotation does not yet work properly with selections, but at least it now "works".
* Resize selection too when using gizmos
Left to do for gizmos:
- Proper cancel transformation
- Begin transformation
(currently named move_content_start but it should be renamed to something more general) when resizing gizmos
- Keep the original image and selection in memory and resize them. Meaning, gizmos should not resize the already resized data, but only resize the original. This is less destructive as there is no danger of data loss.
- Always resize on InputEventMouseMotion. This is going to be worse for performance, but it will look better for the user.
* Image and bitmap resizing now uses the original data and begin transformation on gizmo click
No matter how many times the user resizes on the current transformation, the original data will not be lost until they either confirm or cancel, so there is no data loss before confirmation/cancel.
* Cancel transformation now works properly when the selection has been resized
* Made gizmos resize on mouse motion, fix issues with negative bounding rectangle and when combined with the move tool
* Resizing can now get out of positive bounds, clearing and inverting now gets limited to the canvas bounds
Resizing currently does not work properly with negative (left & up) canvas boundaries
* Flip image when resizing and the bounding rectangle gets flipped
* Call move_content_confirm() when inverting selection
* Attempt to implement selection resizing that goes outside of the canvas boundaries (not working properly yet)
* Flip selection when resizing to negative bounding rectangle sizes
And fix preview_image vertical flipping
* Fix rotation so that it works (almost) properly with selections
Rotation algorithms now accept and only work with a given image, and the pivot has been added as a parameter
* Experimental gizmo rotation - does not work properly yet
Transforming the selection outside of the canvas is still broken.
* Fix some issues with moving selection out of canvas bounds
* Fix more issues with selection getting resized outside of canvas bounds
* Update marching ants effect properly when switching between projects
And make sure the frequency of the marching ants effect always looks roughly the same on all project sizes
* Made the rotation gizmo part of the gizmos array and resize them based on camera zoom
* Remove unneeded parameter from move_bitmap_values()
* Remove more unneeded parameters
* Move the selection only if the cursor is above it and neither shift nor control are currently pressed
* Gradient generation now works on non-rectangular selections
Although this behavior might not be the intended one
* Copy/paste marching ants effect offset
Useful for when the selection is in negative coords
* Fix issue with clear selection & UndoRedo
* Restore the ability to move selection when it's in negative coords
* Made the marching ants offset a Project variable
This fixes the issue of project switching and keeping the previous project's offset. Again, this is only relevant for when the selection is in negative coords.
* Made the "from current selection" palette preset work with the new selection system
* Fix out of bounds error when using the rectangular select tool on negative coords
* Some code cleanup
* Comment out the rotation gizmo for now, since it does not work properly
* Update marching ants shader params and gizmo sizes when the bitmap changes
* Move some methods around in Selection.gd
2021-04-17 18:30:12 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
invert_selection={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":73,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2021-04-19 15:50:43 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
left_color_select_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":87,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2021-04-19 15:50:43 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
right_color_select_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":true,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":87,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2021-04-20 12:53:16 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
left_magic_wand_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":81,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2021-04-20 12:53:16 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
right_magic_wand_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":true,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":81,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2021-04-23 20:47:42 +00:00
|
|
|
]
|
|
|
|
}
|
2022-05-16 17:01:17 +00:00
|
|
|
transformation_confirm={
|
2021-04-23 20:47:42 +00:00
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777221,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
|
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777222,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2021-04-23 20:47:42 +00:00
|
|
|
]
|
|
|
|
}
|
2022-05-16 17:01:17 +00:00
|
|
|
transformation_cancel={
|
2021-04-23 20:47:42 +00:00
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777217,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2021-05-03 00:11:12 +00:00
|
|
|
]
|
|
|
|
}
|
2021-05-12 01:35:20 +00:00
|
|
|
left_linetool_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":76,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2021-05-12 01:35:20 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
right_linetool_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":true,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":76,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2021-05-14 00:48:33 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
left_ellipse_select_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":89,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2021-05-14 00:48:33 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
right_ellipse_select_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":true,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":89,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2021-05-16 00:52:13 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
left_lasso_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":70,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2021-05-16 00:52:13 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
right_lasso_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":true,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":70,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2021-05-17 22:56:55 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
left_polygon_select_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":75,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2021-05-17 22:56:55 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
right_polygon_select_tool={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":true,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":75,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2021-05-25 19:48:37 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
new_brush={
|
|
|
|
"deadzone": 0.5,
|
2021-11-09 14:45:31 +00:00
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":66,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
2020-11-23 16:53:21 +00:00
|
|
|
]
|
|
|
|
}
|
Implement the Keychain Plugin (#700)
* Start implementing the godot_better_input plugin
* Update ShortcutEdit.gd
* Load & save preset option
* Add some groups and fix action events not being deleted on load
* Add MenuInputAction class for multiple menu accelerators
* Create a proper plugin and a BetterInput autoload
* Update menu accelerators
* Move settings to BetterInput
* Move menu enums to Global, make more MenuInputActions
* Add more menu events
* Add new groups
* Optimize BetterInput _input() method
* Remove a lot of lines of code
* Change some previous events, add ignore actions and a View menu group
* Change update_item_accelerator to update_ui
* Move MenuInputAction initialization to BetterInput.gd
* Update hint tooltips when a shortcut changes
Temporarily comment out some code regarding the configurable modifiers
* Some MenuInputAction variable name changes
* Add handle_input() to InputAction
* Update the shortcuts of buttons
* Fix shortcut selector menu position
* Change plugin name into Keychain
* Fix keyboard input dialog exiting when Enter or Space is being pressed
* Add two more groups
* Make groups folded by default
* Temporarily make tool modifier shortcuts not configurable
A temporary change, they will be made configurable again, with different actions that are currently mapped to the same events, local/independent from each other.
* Add license for Keychain
* Fix issue where a key event would be added in other input types
* Fix bug where the assigned state was not updated when the dialog appeared again
* Update Main.tscn
* Add a disabled line edit in keyboard shortcut selector to grab focus
* Load presets in the Keychain autoload
This way, the input actions get updated from the start, instead of only at the ShortcutEdit scene.
WARNING, this currently causes crashes if the menu items have no shortcut binded to them.
* Move custom settings away from Keychain.gd
To keep it the same as the upstream plugin
* Change menu enum names
* Made action_get_first_key() more general
* Use arrays for menu items instead of dictionaries, fixes crash
* Move moveable panels to Window menu
* Format
* Optimize hint tooltip updating
* Add support for translations in Keychain
* Translation changes
* Made tool modifiers configurable
Needs more testing.
* Made camera arrow key movement configurable & joypad axis support
This commit removes the ability to press Shift and Control+Shift to adjust the camera arrow key movement speed. Instead, the speed depends on the zoom level.
The right joypad analog stick is configured to move the camera by default.
* Rename presets into shortcut profiles, use Resources and let users create their own
* [skip ci] Update addons README
* Update Global.gd
2022-05-16 12:07:51 +00:00
|
|
|
moveable_panels={
|
2022-01-29 22:47:25 +00:00
|
|
|
"deadzone": 0.5,
|
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777252,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
|
|
]
|
|
|
|
}
|
Implement the Keychain Plugin (#700)
* Start implementing the godot_better_input plugin
* Update ShortcutEdit.gd
* Load & save preset option
* Add some groups and fix action events not being deleted on load
* Add MenuInputAction class for multiple menu accelerators
* Create a proper plugin and a BetterInput autoload
* Update menu accelerators
* Move settings to BetterInput
* Move menu enums to Global, make more MenuInputActions
* Add more menu events
* Add new groups
* Optimize BetterInput _input() method
* Remove a lot of lines of code
* Change some previous events, add ignore actions and a View menu group
* Change update_item_accelerator to update_ui
* Move MenuInputAction initialization to BetterInput.gd
* Update hint tooltips when a shortcut changes
Temporarily comment out some code regarding the configurable modifiers
* Some MenuInputAction variable name changes
* Add handle_input() to InputAction
* Update the shortcuts of buttons
* Fix shortcut selector menu position
* Change plugin name into Keychain
* Fix keyboard input dialog exiting when Enter or Space is being pressed
* Add two more groups
* Make groups folded by default
* Temporarily make tool modifier shortcuts not configurable
A temporary change, they will be made configurable again, with different actions that are currently mapped to the same events, local/independent from each other.
* Add license for Keychain
* Fix issue where a key event would be added in other input types
* Fix bug where the assigned state was not updated when the dialog appeared again
* Update Main.tscn
* Add a disabled line edit in keyboard shortcut selector to grab focus
* Load presets in the Keychain autoload
This way, the input actions get updated from the start, instead of only at the ShortcutEdit scene.
WARNING, this currently causes crashes if the menu items have no shortcut binded to them.
* Move custom settings away from Keychain.gd
To keep it the same as the upstream plugin
* Change menu enum names
* Made action_get_first_key() more general
* Use arrays for menu items instead of dictionaries, fixes crash
* Move moveable panels to Window menu
* Format
* Optimize hint tooltip updating
* Add support for translations in Keychain
* Translation changes
* Made tool modifiers configurable
Needs more testing.
* Made camera arrow key movement configurable & joypad axis support
This commit removes the ability to press Shift and Control+Shift to adjust the camera arrow key movement speed. Instead, the speed depends on the zoom level.
The right joypad analog stick is configured to move the camera by default.
* Rename presets into shortcut profiles, use Resources and let users create their own
* [skip ci] Update addons README
* Update Global.gd
2022-05-16 12:07:51 +00:00
|
|
|
change_tool_mode={
|
|
|
|
"deadzone": 0.5,
|
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777238,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
|
|
]
|
|
|
|
}
|
|
|
|
draw_create_line={
|
|
|
|
"deadzone": 0.5,
|
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777237,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
|
|
]
|
|
|
|
}
|
|
|
|
draw_snap_angle={
|
|
|
|
"deadzone": 0.5,
|
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777238,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
|
|
]
|
|
|
|
}
|
|
|
|
shape_perfect={
|
|
|
|
"deadzone": 0.5,
|
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777237,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
|
|
]
|
|
|
|
}
|
|
|
|
shape_center={
|
|
|
|
"deadzone": 0.5,
|
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777238,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
|
|
]
|
|
|
|
}
|
|
|
|
shape_displace={
|
|
|
|
"deadzone": 0.5,
|
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777240,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
|
|
]
|
|
|
|
}
|
|
|
|
selection_add={
|
|
|
|
"deadzone": 0.5,
|
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777237,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
|
|
]
|
|
|
|
}
|
|
|
|
selection_subtract={
|
|
|
|
"deadzone": 0.5,
|
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777238,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
|
|
]
|
|
|
|
}
|
|
|
|
selection_intersect={
|
|
|
|
"deadzone": 0.5,
|
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":true,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777238,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
|
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":16777237,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
|
|
]
|
|
|
|
}
|
|
|
|
transform_snap_axis={
|
|
|
|
"deadzone": 0.5,
|
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777237,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
|
|
]
|
|
|
|
}
|
|
|
|
transform_snap_grid={
|
|
|
|
"deadzone": 0.5,
|
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777238,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
|
|
]
|
|
|
|
}
|
|
|
|
transform_move_selection_only={
|
|
|
|
"deadzone": 0.5,
|
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777240,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
|
|
]
|
|
|
|
}
|
|
|
|
transform_copy_selection_content={
|
|
|
|
"deadzone": 0.5,
|
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":16777240,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
|
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":true,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777238,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
|
|
]
|
|
|
|
}
|
|
|
|
draw_color_picker={
|
|
|
|
"deadzone": 0.5,
|
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777240,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
|
|
]
|
|
|
|
}
|
|
|
|
camera_left={
|
|
|
|
"deadzone": 0.5,
|
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777231,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
|
|
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":2,"axis_value":-1.0,"script":null)
|
|
|
|
]
|
|
|
|
}
|
|
|
|
camera_right={
|
|
|
|
"deadzone": 0.5,
|
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777233,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
|
|
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":2,"axis_value":1.0,"script":null)
|
|
|
|
]
|
|
|
|
}
|
|
|
|
camera_up={
|
|
|
|
"deadzone": 0.5,
|
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777232,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
|
|
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":3,"axis_value":-1.0,"script":null)
|
|
|
|
]
|
|
|
|
}
|
|
|
|
camera_down={
|
|
|
|
"deadzone": 0.5,
|
|
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777234,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
|
|
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":3,"axis_value":1.0,"script":null)
|
|
|
|
]
|
|
|
|
}
|
2019-08-18 09:28:38 +00:00
|
|
|
|
2019-12-07 15:45:48 +00:00
|
|
|
[locale]
|
|
|
|
|
2022-01-27 18:45:26 +00:00
|
|
|
translations=PoolStringArray( "res://Translations/zh_TW.po", "res://Translations/pt_BR.po", "res://Translations/de_DE.po", "res://Translations/el_GR.po", "res://Translations/en_US.po", "res://Translations/fr_FR.po", "res://Translations/it_IT.po", "res://Translations/pl_PL.po", "res://Translations/ru_RU.po", "res://Translations/es_ES.po", "res://Translations/zh_CN.po", "res://Translations/lv_LV.po", "res://Translations/eo_UY.po", "res://Translations/cs_CZ.po", "res://Translations/id_ID.po", "res://Translations/hu_HU.po", "res://Translations/ro_RO.po", "res://Translations/ko_KR.po", "res://Translations/tr_TR.po", "res://Translations/ja_JP.po", "res://Translations/nb_NO.po", "res://Translations/uk_UA.po", "res://Translations/pt_PT.po" )
|
2019-12-07 15:45:48 +00:00
|
|
|
locale_filter=[ 0, [ ] ]
|
|
|
|
|
2020-07-27 17:05:15 +00:00
|
|
|
[logging]
|
|
|
|
|
|
|
|
file_logging/enable_file_logging=true
|
|
|
|
|
2019-08-18 09:28:38 +00:00
|
|
|
[rendering]
|
|
|
|
|
|
|
|
quality/driver/driver_name="GLES2"
|
2020-01-05 23:34:53 +00:00
|
|
|
quality/intended_usage/framebuffer_allocation=0
|
|
|
|
quality/intended_usage/framebuffer_allocation.mobile=0
|
2020-08-07 05:10:14 +00:00
|
|
|
threads/thread_model=2
|
2019-08-18 09:28:38 +00:00
|
|
|
vram_compression/import_etc=true
|
|
|
|
vram_compression/import_etc2=false
|