mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-07 16:30:06 +01:00
349 lines
7.2 KiB
Plaintext
349 lines
7.2 KiB
Plaintext
[gd_scene load_steps=2 format=2]
|
|
|
|
[ext_resource path="res://controls.gd" type="Script" id=1]
|
|
|
|
[node name="controls_ui" type="Control"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_right = 40.0
|
|
margin_bottom = 40.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 0
|
|
size_flags_horizontal = 2
|
|
size_flags_vertical = 2
|
|
script = ExtResource( 1 )
|
|
__meta__ = {
|
|
"__editor_plugin_screen__": "2D"
|
|
}
|
|
|
|
[node name="contextual_help" type="Label" parent="."]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 100.0
|
|
margin_top = 50.0
|
|
margin_right = 465.0
|
|
margin_bottom = 89.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 2
|
|
size_flags_horizontal = 2
|
|
size_flags_vertical = 0
|
|
text = "Click on a key binding to reassign it, or press the Cancel action."
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
|
|
[node name="bindings" type="Control" parent="."]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 50.0
|
|
margin_top = 50.0
|
|
margin_right = 90.0
|
|
margin_bottom = 90.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 0
|
|
size_flags_horizontal = 2
|
|
size_flags_vertical = 2
|
|
|
|
[node name="move_up" type="Control" parent="bindings"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 50.0
|
|
margin_top = 50.0
|
|
margin_right = 90.0
|
|
margin_bottom = 90.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 0
|
|
size_flags_horizontal = 2
|
|
size_flags_vertical = 2
|
|
|
|
[node name="Label" type="Label" parent="bindings/move_up"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 5.0
|
|
margin_top = 8.0
|
|
margin_right = 45.0
|
|
margin_bottom = 21.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 2
|
|
size_flags_horizontal = 2
|
|
size_flags_vertical = 0
|
|
text = "Up"
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
|
|
[node name="Button" type="Button" parent="bindings/move_up"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 84.0
|
|
margin_top = -1.0
|
|
margin_right = 144.0
|
|
margin_bottom = 29.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 0
|
|
size_flags_horizontal = 2
|
|
size_flags_vertical = 2
|
|
toggle_mode = false
|
|
enabled_focus_mode = 2
|
|
shortcut = null
|
|
group = null
|
|
flat = false
|
|
|
|
[node name="move_down" type="Control" parent="bindings"]
|
|
|
|
editor/display_folded = true
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 50.0
|
|
margin_top = 100.0
|
|
margin_right = 90.0
|
|
margin_bottom = 140.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 0
|
|
size_flags_horizontal = 2
|
|
size_flags_vertical = 2
|
|
|
|
[node name="Label" type="Label" parent="bindings/move_down"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 5.0
|
|
margin_top = 8.0
|
|
margin_right = 45.0
|
|
margin_bottom = 21.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 2
|
|
size_flags_horizontal = 2
|
|
size_flags_vertical = 0
|
|
text = "Down"
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
|
|
[node name="Button" type="Button" parent="bindings/move_down"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 84.0
|
|
margin_top = -1.0
|
|
margin_right = 144.0
|
|
margin_bottom = 29.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 0
|
|
size_flags_horizontal = 2
|
|
size_flags_vertical = 2
|
|
toggle_mode = false
|
|
enabled_focus_mode = 2
|
|
shortcut = null
|
|
group = null
|
|
flat = false
|
|
|
|
[node name="move_left" type="Control" parent="bindings"]
|
|
|
|
editor/display_folded = true
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 50.0
|
|
margin_top = 150.0
|
|
margin_right = 90.0
|
|
margin_bottom = 190.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 0
|
|
size_flags_horizontal = 2
|
|
size_flags_vertical = 2
|
|
|
|
[node name="Label" type="Label" parent="bindings/move_left"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 5.0
|
|
margin_top = 8.0
|
|
margin_right = 45.0
|
|
margin_bottom = 21.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 2
|
|
size_flags_horizontal = 2
|
|
size_flags_vertical = 0
|
|
text = "Left"
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
|
|
[node name="Button" type="Button" parent="bindings/move_left"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 84.0
|
|
margin_top = -1.0
|
|
margin_right = 144.0
|
|
margin_bottom = 29.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 0
|
|
size_flags_horizontal = 2
|
|
size_flags_vertical = 2
|
|
toggle_mode = false
|
|
enabled_focus_mode = 2
|
|
shortcut = null
|
|
group = null
|
|
flat = false
|
|
|
|
[node name="move_right" type="Control" parent="bindings"]
|
|
|
|
editor/display_folded = true
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 50.0
|
|
margin_top = 200.0
|
|
margin_right = 90.0
|
|
margin_bottom = 240.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 0
|
|
size_flags_horizontal = 2
|
|
size_flags_vertical = 2
|
|
|
|
[node name="Label" type="Label" parent="bindings/move_right"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 5.0
|
|
margin_top = 8.0
|
|
margin_right = 45.0
|
|
margin_bottom = 21.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 2
|
|
size_flags_horizontal = 2
|
|
size_flags_vertical = 0
|
|
text = "Right"
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
|
|
[node name="Button" type="Button" parent="bindings/move_right"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 84.0
|
|
margin_top = -1.0
|
|
margin_right = 144.0
|
|
margin_bottom = 29.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 0
|
|
size_flags_horizontal = 2
|
|
size_flags_vertical = 2
|
|
toggle_mode = false
|
|
enabled_focus_mode = 2
|
|
shortcut = null
|
|
group = null
|
|
flat = false
|
|
|
|
[node name="jump" type="Control" parent="bindings"]
|
|
|
|
editor/display_folded = true
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 50.0
|
|
margin_top = 250.0
|
|
margin_right = 90.0
|
|
margin_bottom = 290.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 0
|
|
size_flags_horizontal = 2
|
|
size_flags_vertical = 2
|
|
|
|
[node name="Label" type="Label" parent="bindings/jump"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 5.0
|
|
margin_top = 8.0
|
|
margin_right = 45.0
|
|
margin_bottom = 21.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 2
|
|
size_flags_horizontal = 2
|
|
size_flags_vertical = 0
|
|
text = "Jump"
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
|
|
[node name="Button" type="Button" parent="bindings/jump"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 84.0
|
|
margin_top = -1.0
|
|
margin_right = 144.0
|
|
margin_bottom = 29.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 0
|
|
size_flags_horizontal = 2
|
|
size_flags_vertical = 2
|
|
toggle_mode = false
|
|
enabled_focus_mode = 2
|
|
shortcut = null
|
|
group = null
|
|
flat = false
|
|
|
|
|