44 lines
2.2 KiB
Plaintext
44 lines
2.2 KiB
Plaintext
[gd_scene format=3 uid="uid://dvbxt8jyo8okq"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://byjxtsekdl8t2" path="res://guide_examples/shared/godot_logo.svg" id="1_4tef3"]
|
|
[ext_resource type="Script" uid="uid://cl57fk6xess4f" path="res://guide_examples/2d_axis_mapping/2d_axis_mapping.gd" id="1_vdstu"]
|
|
[ext_resource type="Script" uid="uid://b3l3w1askqxgo" path="res://guide_examples/2d_axis_mapping/player.gd" id="2_54pxx"]
|
|
[ext_resource type="Resource" uid="uid://2hl7iqpondhi" path="res://guide_examples/input_scheme_switching/mapping_contexts/keyboard_scheme.tres" id="2_jtcd0"]
|
|
[ext_resource type="PackedScene" uid="uid://dkr80d2pi0d41" path="res://addons/guide/debugger/guide_debugger.tscn" id="5_ewox0"]
|
|
[ext_resource type="Script" uid="uid://w8q1xlqw60qh" path="res://guide_examples/shared/instructions_label.gd" id="5_h0lne"]
|
|
[ext_resource type="Resource" uid="uid://cxn2ibe1mn3sb" path="res://guide_examples/input_scheme_switching/mapping_contexts/actions/move.tres" id="8_581qd"]
|
|
[ext_resource type="Script" uid="uid://cluhc11vixkf1" path="res://addons/guide/guide_action.gd" id="8_fs3mw"]
|
|
[ext_resource type="Theme" uid="uid://dot0gi1yoqmrl" path="res://guide_examples/shared/ui_theme.tres" id="8_p4vbo"]
|
|
|
|
[node name="2DAxisMapping" type="Node" unique_id=1652180406]
|
|
script = ExtResource("1_vdstu")
|
|
mapping_context = ExtResource("2_jtcd0")
|
|
|
|
[node name="Player" type="Sprite2D" parent="." unique_id=1811327124]
|
|
position = Vector2(546, 317)
|
|
texture = ExtResource("1_4tef3")
|
|
script = ExtResource("2_54pxx")
|
|
move_action = ExtResource("8_581qd")
|
|
|
|
[node name="UI Layer" type="CanvasLayer" parent="." unique_id=1407183970]
|
|
|
|
[node name="Instructions Label" type="RichTextLabel" parent="UI Layer" unique_id=708526288]
|
|
anchors_preset = 1
|
|
anchor_left = 1.0
|
|
anchor_right = 1.0
|
|
offset_left = -286.0
|
|
offset_top = 24.0
|
|
offset_right = -39.0
|
|
offset_bottom = 47.0
|
|
grow_horizontal = 0
|
|
theme = ExtResource("8_p4vbo")
|
|
script = ExtResource("5_h0lne")
|
|
instructions_text = "Use %s to move the player."
|
|
actions = Array[ExtResource("8_fs3mw")]([ExtResource("8_581qd")])
|
|
|
|
[node name="Debug Layer" type="CanvasLayer" parent="." unique_id=223575854]
|
|
|
|
[node name="GuideDebugger" parent="Debug Layer" unique_id=1034258291 instance=ExtResource("5_ewox0")]
|
|
theme = ExtResource("8_p4vbo")
|
|
metadata/_edit_lock_ = true
|