Files
godot-demo-projects/gui/input_mapping/InputRemapMenu.tscn
Hugo Locurcio 31d1c0c112 Remove old and unused project settings, update various demos for 4.2 (#1024)
- Move all demo projects that don't require Forward+/Mobile-only features
  to the Compatibility rendering method. This improves performance significantly
  on low-end devices and ensures visuals are identical to a web export
  of the demo.
- Set deadzone on all inputs to 0.2 for better gamepad usability.
- Remove reliance on `default_env.tres` to use built-in Environment
  resources in the main scene instead (which follows the preview environment
  workflow).
- Remove notices pointing to GDNative or VisualScript, since both were
  removed in 4.0.
- Various bug fixes and usability tweaks to 10+ demos.
2024-03-26 18:01:58 +01:00

138 lines
3.8 KiB
Plaintext

[gd_scene load_steps=2 format=3 uid="uid://bjdgwg23lm1d4"]
[ext_resource type="PackedScene" uid="uid://cy6kmby6mupvv" path="res://ActionRemapButton.tscn" id="1"]
[node name="InputRemapMenu" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Instructions" type="Label" parent="."]
layout_mode = 0
anchor_right = 1.0
offset_top = 24.0
offset_bottom = 55.0
text = "Click on a button to reassign its action key."
horizontal_alignment = 1
vertical_alignment = 1
[node name="RemapButtonGroup" type="Control" parent="."]
anchors_preset = 0
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -160.0
offset_top = -144.0
offset_right = 160.0
offset_bottom = 144.0
[node name="ActionsList" type="VBoxContainer" parent="RemapButtonGroup"]
layout_mode = 0
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -160.0
offset_top = -140.0
offset_right = 160.0
offset_bottom = 140.0
[node name="ActionRemapRow" type="HBoxContainer" parent="RemapButtonGroup/ActionsList"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="ActionName" type="Label" parent="RemapButtonGroup/ActionsList/ActionRemapRow"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Move Left"
horizontal_alignment = 1
vertical_alignment = 1
[node name="RemapButton" parent="RemapButtonGroup/ActionsList/ActionRemapRow" instance=ExtResource("1")]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
action = "move_left"
[node name="ActionRemapRow2" type="HBoxContainer" parent="RemapButtonGroup/ActionsList"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="ActionName" type="Label" parent="RemapButtonGroup/ActionsList/ActionRemapRow2"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Move Right"
horizontal_alignment = 1
vertical_alignment = 1
[node name="RemapButton" parent="RemapButtonGroup/ActionsList/ActionRemapRow2" instance=ExtResource("1")]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
action = "move_right"
[node name="ActionRemapRow3" type="HBoxContainer" parent="RemapButtonGroup/ActionsList"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="ActionName" type="Label" parent="RemapButtonGroup/ActionsList/ActionRemapRow3"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Look Up"
horizontal_alignment = 1
vertical_alignment = 1
[node name="RemapButton" parent="RemapButtonGroup/ActionsList/ActionRemapRow3" instance=ExtResource("1")]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
action = "look_up"
[node name="ActionRemapRow4" type="HBoxContainer" parent="RemapButtonGroup/ActionsList"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="ActionName" type="Label" parent="RemapButtonGroup/ActionsList/ActionRemapRow4"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Crouch"
horizontal_alignment = 1
vertical_alignment = 1
[node name="RemapButton" parent="RemapButtonGroup/ActionsList/ActionRemapRow4" instance=ExtResource("1")]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
action = "crouch"
[node name="ActionRemapRow5" type="HBoxContainer" parent="RemapButtonGroup/ActionsList"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="ActionName" type="Label" parent="RemapButtonGroup/ActionsList/ActionRemapRow5"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Dash"
horizontal_alignment = 1
vertical_alignment = 1
[node name="RemapButton" parent="RemapButtonGroup/ActionsList/ActionRemapRow5" instance=ExtResource("1")]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
action = "dash"