updating project files
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
[gd_scene load_steps=14 format=3 uid="uid://bq1y86drsbsgc"]
|
||||
[gd_scene format=3 uid="uid://bq1y86drsbsgc"]
|
||||
|
||||
[ext_resource type="Script" path="res://guide_examples/tap_and_hold/tap_and_hold.gd" id="1_ek3h7"]
|
||||
[ext_resource type="Script" uid="uid://dpkjsi6bk64ly" path="res://guide_examples/tap_and_hold/tap_and_hold.gd" id="1_ek3h7"]
|
||||
[ext_resource type="Texture2D" uid="uid://byjxtsekdl8t2" path="res://guide_examples/shared/godot_logo.svg" id="1_segxn"]
|
||||
[ext_resource type="Script" path="res://guide_examples/tap_and_hold/player.gd" id="2_gpfh8"]
|
||||
[ext_resource type="Script" uid="uid://brd1oa6q1qsl3" path="res://guide_examples/tap_and_hold/player.gd" id="2_gpfh8"]
|
||||
[ext_resource type="Resource" uid="uid://dkorp45s6fjqk" path="res://guide_examples/tap_and_hold/mapping_contexts/tap_and_hold.tres" id="3_u8e88"]
|
||||
[ext_resource type="Resource" uid="uid://djow080f02fos" path="res://guide_examples/tap_and_hold/mapping_contexts/jump.tres" id="4_8qeav"]
|
||||
[ext_resource type="Resource" uid="uid://dcdlaiw50k4t3" path="res://guide_examples/tap_and_hold/mapping_contexts/somersault.tres" id="5_wp1cr"]
|
||||
[ext_resource type="Theme" uid="uid://dot0gi1yoqmrl" path="res://guide_examples/shared/ui_theme.tres" id="6_r6oud"]
|
||||
[ext_resource type="PackedScene" uid="uid://dkr80d2pi0d41" path="res://addons/guide/debugger/guide_debugger.tscn" id="6_vjlt4"]
|
||||
[ext_resource type="Script" path="res://guide_examples/shared/instructions_label.gd" id="7_304xo"]
|
||||
[ext_resource type="Script" uid="uid://w8q1xlqw60qh" path="res://guide_examples/shared/instructions_label.gd" id="7_304xo"]
|
||||
[ext_resource type="Script" uid="uid://cluhc11vixkf1" path="res://addons/guide/guide_action.gd" id="9_0l4v7"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_j3lvc"]
|
||||
length = 0.001
|
||||
@@ -82,23 +83,23 @@ tracks/1/keys = {
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_8sm1c"]
|
||||
_data = {
|
||||
"RESET": SubResource("Animation_j3lvc"),
|
||||
"jump": SubResource("Animation_a86xu"),
|
||||
"somersault": SubResource("Animation_fir1a")
|
||||
&"RESET": SubResource("Animation_j3lvc"),
|
||||
&"jump": SubResource("Animation_a86xu"),
|
||||
&"somersault": SubResource("Animation_fir1a")
|
||||
}
|
||||
|
||||
[node name="TapAndHold" type="Node"]
|
||||
[node name="TapAndHold" type="Node" unique_id=1608935345]
|
||||
script = ExtResource("1_ek3h7")
|
||||
mapping_context = ExtResource("3_u8e88")
|
||||
|
||||
[node name="Player" type="Sprite2D" parent="."]
|
||||
[node name="Player" type="Sprite2D" parent="." unique_id=1253288718]
|
||||
position = Vector2(546, 317)
|
||||
texture = ExtResource("1_segxn")
|
||||
script = ExtResource("2_gpfh8")
|
||||
jump_action = ExtResource("4_8qeav")
|
||||
somersault_action = ExtResource("5_wp1cr")
|
||||
|
||||
[node name="ProgressBar" type="ProgressBar" parent="Player"]
|
||||
[node name="ProgressBar" type="ProgressBar" parent="Player" unique_id=1816544363]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
offset_left = -58.0
|
||||
@@ -108,15 +109,13 @@ offset_bottom = 91.0
|
||||
max_value = 1.0
|
||||
show_percentage = false
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=892588406]
|
||||
unique_name_in_owner = true
|
||||
libraries = {
|
||||
"": SubResource("AnimationLibrary_8sm1c")
|
||||
}
|
||||
libraries/ = SubResource("AnimationLibrary_8sm1c")
|
||||
|
||||
[node name="UI Layer" type="CanvasLayer" parent="."]
|
||||
[node name="UI Layer" type="CanvasLayer" parent="." unique_id=655016290]
|
||||
|
||||
[node name="Instructions Label" type="RichTextLabel" parent="UI Layer"]
|
||||
[node name="Instructions Label" type="RichTextLabel" parent="UI Layer" unique_id=129158202]
|
||||
anchors_preset = 1
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
@@ -129,10 +128,10 @@ theme = ExtResource("6_r6oud")
|
||||
script = ExtResource("7_304xo")
|
||||
instructions_text = "Tap %s to jump.
|
||||
Hold %s to somersault."
|
||||
actions = Array[Resource("res://addons/guide/guide_action.gd")]([ExtResource("4_8qeav"), ExtResource("5_wp1cr")])
|
||||
actions = Array[ExtResource("9_0l4v7")]([ExtResource("4_8qeav"), ExtResource("5_wp1cr")])
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="Label" type="Label" parent="UI Layer"]
|
||||
[node name="Label" type="Label" parent="UI Layer" unique_id=1122310941]
|
||||
visible = false
|
||||
anchors_preset = 1
|
||||
anchor_left = 1.0
|
||||
@@ -146,9 +145,9 @@ theme = ExtResource("6_r6oud")
|
||||
text = "This demonstrates using the hold and tap triggers to bind multiple actions to the same key. This also uses the hold action's elapsed_ratio property to drive a hold progress bar to indicate how long the key needs to be held."
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="Debug Layer" type="CanvasLayer" parent="."]
|
||||
[node name="Debug Layer" type="CanvasLayer" parent="." unique_id=1231344392]
|
||||
visible = false
|
||||
|
||||
[node name="GuideDebugger" parent="Debug Layer" instance=ExtResource("6_vjlt4")]
|
||||
[node name="GuideDebugger" parent="Debug Layer" unique_id=550806122 instance=ExtResource("6_vjlt4")]
|
||||
theme = ExtResource("6_r6oud")
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
Reference in New Issue
Block a user