Files
MovementTests/guide_examples/simple_input/simple_input.tscn
Minimata af1f6da98d
Some checks failed
Create tag and build when new code gets to main / BumpTag (push) Successful in 31s
Create tag and build when new code gets to main / Test (push) Has been cancelled
Create tag and build when new code gets to main / Export (push) Has been cancelled
updating project files
2026-01-28 09:50:10 +01:00

55 lines
2.9 KiB
Plaintext

[gd_scene format=3 uid="uid://cchyatnt0wl5x"]
[ext_resource type="Script" uid="uid://dej0g6ye7nfxi" path="res://guide_examples/simple_input/simple_input.gd" id="1_cgpw0"]
[ext_resource type="Texture2D" uid="uid://byjxtsekdl8t2" path="res://guide_examples/shared/godot_logo.svg" id="1_t8vwd"]
[ext_resource type="Script" uid="uid://dhpub7a1ixyxj" path="res://guide_examples/simple_input/player.gd" id="2_o6vg3"]
[ext_resource type="Resource" uid="uid://c161ru5ubsvm5" path="res://guide_examples/simple_input/mapping_contexts/simple_input.tres" id="3_2b24x"]
[ext_resource type="Resource" uid="uid://b7rcj2usvx7iu" path="res://guide_examples/simple_input/mapping_contexts/move_left.tres" id="4_50on6"]
[ext_resource type="Resource" uid="uid://cn4nypfrnusrn" path="res://guide_examples/simple_input/mapping_contexts/move_right.tres" id="5_47yin"]
[ext_resource type="Resource" uid="uid://cjohgt5cdoxvd" path="res://guide_examples/simple_input/mapping_contexts/move_up.tres" id="6_b7h5t"]
[ext_resource type="Resource" uid="uid://cjfdsja54wtus" path="res://guide_examples/simple_input/mapping_contexts/move_down.tres" id="7_4pdc5"]
[ext_resource type="Theme" uid="uid://dot0gi1yoqmrl" path="res://guide_examples/shared/ui_theme.tres" id="8_tko8y"]
[ext_resource type="Script" uid="uid://w8q1xlqw60qh" path="res://guide_examples/shared/instructions_label.gd" id="9_hqrkx"]
[ext_resource type="PackedScene" uid="uid://dkr80d2pi0d41" path="res://addons/guide/debugger/guide_debugger.tscn" id="10_3ap6u"]
[ext_resource type="Script" uid="uid://cluhc11vixkf1" path="res://addons/guide/guide_action.gd" id="11_5ljcy"]
[node name="SimpleInput" type="Node" unique_id=1662381528]
script = ExtResource("1_cgpw0")
mapping_context = ExtResource("3_2b24x")
[node name="Player" type="Sprite2D" parent="." unique_id=224895441]
position = Vector2(546, 317)
texture = ExtResource("1_t8vwd")
script = ExtResource("2_o6vg3")
speed = 300.0
left_action = ExtResource("4_50on6")
right_action = ExtResource("5_47yin")
up_action = ExtResource("6_b7h5t")
down_action = ExtResource("7_4pdc5")
[node name="UI Layer" type="CanvasLayer" parent="." unique_id=1612195091]
[node name="Instructions Label" type="RichTextLabel" parent="UI Layer" unique_id=971619038]
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_tko8y")
script = ExtResource("9_hqrkx")
instructions_text = "%s to move left.
%s to move right.
%s to move up.
%s to move down."
actions = Array[ExtResource("11_5ljcy")]([ExtResource("4_50on6"), ExtResource("5_47yin"), ExtResource("6_b7h5t"), ExtResource("7_4pdc5")])
metadata/_edit_use_anchors_ = true
[node name="Debug Layer" type="CanvasLayer" parent="." unique_id=920151117]
[node name="GuideDebugger" parent="Debug Layer" unique_id=1584015720 instance=ExtResource("10_3ap6u")]
theme = ExtResource("8_tko8y")
metadata/_edit_lock_ = true