Files
MovementTests/guide_examples/input_scheme_switching/input_scheme_switching.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

62 lines
3.4 KiB
Plaintext

[gd_scene format=3 uid="uid://dvbxt8jyo8okp"]
[ext_resource type="Script" uid="uid://fhw2j8umfqty" path="res://guide_examples/input_scheme_switching/input_scheme_switching.gd" id="1_7l2n1"]
[ext_resource type="Texture2D" uid="uid://byjxtsekdl8t2" path="res://guide_examples/shared/godot_logo.svg" id="1_t4jeg"]
[ext_resource type="Resource" uid="uid://x33fk5wo7l2r" path="res://guide_examples/input_scheme_switching/mapping_contexts/joystick_scheme.tres" id="2_fx1v6"]
[ext_resource type="Resource" uid="uid://2hl7iqpondhi" path="res://guide_examples/input_scheme_switching/mapping_contexts/keyboard_scheme.tres" id="3_pvyn2"]
[ext_resource type="Resource" uid="uid://cxn2ibe1mn3sb" path="res://guide_examples/input_scheme_switching/mapping_contexts/actions/move.tres" id="4_3bnea"]
[ext_resource type="Resource" uid="uid://b11rcmd3hse58" path="res://guide_examples/input_scheme_switching/mapping_contexts/actions/switch_to_keyboard.tres" id="4_tts5j"]
[ext_resource type="Resource" uid="uid://c7htf8h44vbwi" path="res://guide_examples/input_scheme_switching/mapping_contexts/actions/shoot.tres" id="5_4yg1b"]
[ext_resource type="Resource" uid="uid://vctiwgvnl0ba" path="res://guide_examples/input_scheme_switching/mapping_contexts/actions/switch_to_joystick.tres" id="6_b05vw"]
[ext_resource type="Script" uid="uid://csjgtlek7infj" path="res://guide_examples/input_scheme_switching/player.gd" id="7_2r4ev"]
[ext_resource type="PackedScene" uid="uid://dkr80d2pi0d41" path="res://addons/guide/debugger/guide_debugger.tscn" id="8_nv6u5"]
[ext_resource type="PackedScene" uid="uid://c36cnvgv2ur60" path="res://guide_examples/shared/fireball/fireball.tscn" id="8_t3npb"]
[ext_resource type="Theme" uid="uid://dot0gi1yoqmrl" path="res://guide_examples/shared/ui_theme.tres" id="10_vp4t3"]
[ext_resource type="Script" uid="uid://w8q1xlqw60qh" path="res://guide_examples/shared/instructions_label.gd" id="11_qdni4"]
[ext_resource type="Script" uid="uid://cluhc11vixkf1" path="res://addons/guide/guide_action.gd" id="13_53l67"]
[node name="InputSchemeSwitching" type="Node2D" unique_id=603168869]
script = ExtResource("1_7l2n1")
joystick_scheme = ExtResource("2_fx1v6")
keyboard_scheme = ExtResource("3_pvyn2")
switch_to_keyboard = ExtResource("4_tts5j")
switch_to_joystick = ExtResource("6_b05vw")
[node name="Player" type="Node2D" parent="." unique_id=1897518551]
position = Vector2(929, 695)
script = ExtResource("7_2r4ev")
speed = 300.0
move_action = ExtResource("4_3bnea")
shoot_action = ExtResource("5_4yg1b")
fireball_scene = ExtResource("8_t3npb")
[node name="GodotLogo" type="Sprite2D" parent="Player" unique_id=2087107538]
texture = ExtResource("1_t4jeg")
[node name="UI" type="CanvasLayer" parent="." unique_id=1692281114]
[node name="InstructionsLabel" type="RichTextLabel" parent="UI" unique_id=1820561078]
unique_name_in_owner = true
custom_minimum_size = Vector2(500, 0)
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -552.0
offset_top = 85.0
offset_right = -52.0
offset_bottom = 125.0
grow_horizontal = 0
theme = ExtResource("10_vp4t3")
bbcode_enabled = true
text = "Lorem Ipsum Dolor"
fit_content = true
script = ExtResource("11_qdni4")
instructions_text = "%s to move.
%s to shoot a fireball."
actions = Array[ExtResource("13_53l67")]([ExtResource("4_3bnea"), ExtResource("5_4yg1b")])
[node name="Debugger" type="CanvasLayer" parent="." unique_id=298116936]
[node name="GuideDebugger" parent="Debugger" unique_id=1693912531 instance=ExtResource("8_nv6u5")]
theme = ExtResource("10_vp4t3")