[gd_scene load_steps=17 format=3 uid="uid://gjweqc0stfqh"]

[ext_resource type="Script" path="res://guide_examples/remapping/remapping.gd" id="1_3d1tp"]
[ext_resource type="Texture2D" uid="uid://byjxtsekdl8t2" path="res://guide_examples/shared/godot_logo.svg" id="1_gkmxq"]
[ext_resource type="Resource" uid="uid://qikyr1rgxw2l" path="res://guide_examples/remapping/mapping_contexts/controller_actions/player_movement_stick_invert.tres" id="2_3dav4"]
[ext_resource type="Resource" uid="uid://cu0dhstc00cj5" path="res://guide_examples/remapping/mapping_contexts/keyboard.tres" id="2_issuo"]
[ext_resource type="Script" path="res://guide_examples/remapping/player.gd" id="2_n3drv"]
[ext_resource type="Resource" uid="uid://bexjevffjsh3i" path="res://guide_examples/remapping/mapping_contexts/controller.tres" id="3_apwxt"]
[ext_resource type="Resource" uid="uid://c65tsmp268vdq" path="res://guide_examples/remapping/mapping_contexts/shared_actions/open_menu.tres" id="3_g1dlj"]
[ext_resource type="Resource" uid="uid://chhw5umkd1j2p" path="res://guide_examples/remapping/mapping_contexts/shared_actions/player_movement_2d.tres" id="4_07jn1"]
[ext_resource type="Resource" uid="uid://ce3ytxn2tcxxe" path="res://guide_examples/remapping/mapping_contexts/controller_actions/switch_to_keyboard.tres" id="5_aqwgr"]
[ext_resource type="PackedScene" uid="uid://dkr80d2pi0d41" path="res://addons/guide/debugger/guide_debugger.tscn" id="5_kdgir"]
[ext_resource type="Resource" uid="uid://b1iaet1m2gi2e" path="res://guide_examples/remapping/mapping_contexts/shared_actions/fire.tres" id="6_esnhm"]
[ext_resource type="Resource" uid="uid://3vqfs786vcsa" path="res://guide_examples/remapping/mapping_contexts/keyboard_actions/switch_to_controller.tres" id="6_jncg0"]
[ext_resource type="Theme" uid="uid://dot0gi1yoqmrl" path="res://guide_examples/shared/ui_theme.tres" id="7_8t2l7"]
[ext_resource type="PackedScene" uid="uid://bq0w7uaotgfct" path="res://guide_examples/remapping/ui/remapping_dialog.tscn" id="7_g0vxv"]
[ext_resource type="PackedScene" uid="uid://c36cnvgv2ur60" path="res://guide_examples/shared/fireball/fireball.tscn" id="7_w2y2e"]
[ext_resource type="Script" path="res://guide_examples/shared/instructions_label.gd" id="14_e0a18"]

[node name="Remapping" type="Node"]
script = ExtResource("1_3d1tp")
keyboard = ExtResource("2_issuo")
controller = ExtResource("3_apwxt")
controller_axis_invert_modifier = ExtResource("2_3dav4")
switch_to_keyboard = ExtResource("5_aqwgr")
switch_to_controller = ExtResource("6_jncg0")
open_menu = ExtResource("3_g1dlj")

[node name="Player" type="Sprite2D" parent="."]
position = Vector2(546, 317)
texture = ExtResource("1_gkmxq")
script = ExtResource("2_n3drv")
move_action = ExtResource("4_07jn1")
fire_action = ExtResource("6_esnhm")
fireball_scene = ExtResource("7_w2y2e")

[node name="HUD Layer" type="CanvasLayer" parent="."]

[node name="Label" type="RichTextLabel" parent="HUD Layer"]
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -16.0
offset_top = 12.0
offset_right = -15.0
offset_bottom = 12.0
grow_horizontal = 0
theme = ExtResource("7_8t2l7")
bbcode_enabled = true
fit_content = true
autowrap_mode = 0
script = ExtResource("14_e0a18")
instructions_text = "Use %s to move.
Press %s to fire a fireball.
Press %s to change input mappings."
actions = Array[Resource("res://addons/guide/guide_action.gd")]([ExtResource("4_07jn1"), ExtResource("6_esnhm"), ExtResource("3_g1dlj")])

[node name="UI Layer" type="CanvasLayer" parent="."]

[node name="RemappingDialog" parent="UI Layer" instance=ExtResource("7_g0vxv")]
unique_name_in_owner = true
visible = false

[node name="DebugLayer" type="CanvasLayer" parent="."]

[node name="GuideDebugger" parent="DebugLayer" instance=ExtResource("5_kdgir")]
theme = ExtResource("7_8t2l7")
