[gd_scene load_steps=12 format=3 uid="uid://8ps5533ot84q"] [ext_resource type="PackedScene" uid="uid://c2g45v321qddb" path="res://player.tscn" id="1_3q46r"] [ext_resource type="Script" path="res://game.gd" id="1_7jh2q"] [ext_resource type="Script" path="res://ColorRect.gd" id="1_kv47q"] [ext_resource type="Texture2D" uid="uid://hqxnw5bd6q2c" path="res://genshinlogo.png" id="1_tfg20"] [ext_resource type="PackedScene" uid="uid://4oytwe0gnp18" path="res://ui.tscn" id="2_3layq"] [ext_resource type="Script" path="res://Genshinlogo.gd" id="2_8h31p"] [ext_resource type="PackedScene" uid="uid://cns884oaxgoof" path="res://dicaprio.tscn" id="8_llto6"] [ext_resource type="AudioStream" uid="uid://dqtjjgshbqn5j" path="res://bowhit.wav" id="9_3iyfb"] [ext_resource type="AudioStream" uid="uid://c7pa506xccdyq" path="res://ost.ogg" id="9_bhhfh"] [ext_resource type="AudioStream" uid="uid://ih2l1ninh8u4" path="res://slap.wav" id="10_qb0vj"] [sub_resource type="Curve2D" id="Curve2D_txqas"] _data = { "points": PackedVector2Array(0, 0, 0, 0, -1024, -1024, 0, 0, 0, 0, 1024, -1024, 0, 0, 0, 0, 1024, 1024, 0, 0, 0, 0, -1024, 1024, 0, 0, 0, 0, -1024, -1024) } point_count = 5 [node name="Game" type="Node" node_paths=PackedStringArray("mob_spawn_location")] script = ExtResource("1_7jh2q") mob = ExtResource("8_llto6") mob_spawn_location = NodePath("SpawnPath/SpawnLocation") [node name="RestrBackground" type="ColorRect" parent="."] z_index = -80 custom_minimum_size = Vector2(2048, 2048) anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -1664.0 offset_top = -1504.0 offset_right = 384.0 offset_bottom = 544.0 grow_horizontal = 2 grow_vertical = 2 color = Color(0, 0, 0, 1) script = ExtResource("1_kv47q") [node name="CanvasUI" parent="." instance=ExtResource("2_3layq")] [node name="Genshinlogo" type="Sprite2D" parent="."] texture = ExtResource("1_tfg20") script = ExtResource("2_8h31p") [node name="Player" parent="." instance=ExtResource("1_3q46r")] z_index = 1 [node name="Camera2D" type="Camera2D" parent="Player"] editor_draw_screen = false [node name="LargeBackground" type="ColorRect" parent="Player/Camera2D"] z_index = -100 custom_minimum_size = Vector2(1600, 1200) anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -800.0 offset_top = -600.0 offset_right = 800.0 offset_bottom = 600.0 grow_horizontal = 2 grow_vertical = 2 color = Color(0, 0, 0, 1) script = ExtResource("1_kv47q") [node name="Soundtrack" type="AudioStreamPlayer2D" parent="Player"] stream = ExtResource("9_bhhfh") autoplay = true [node name="Coins" type="Node" parent="."] [node name="ScorePoints" type="Node" parent="."] [node name="SpawnPath" type="Path2D" parent="."] curve = SubResource("Curve2D_txqas") [node name="SpawnLocation" type="PathFollow2D" parent="SpawnPath"] position = Vector2(-1024, -1024) [node name="SpawnTimer" type="Timer" parent="."] process_callback = 0 wait_time = 2.5 autostart = true [node name="BowHit" type="AudioStreamPlayer" parent="."] stream = ExtResource("9_3iyfb") [node name="FireballHit" type="AudioStreamPlayer" parent="."] stream = ExtResource("10_qb0vj") [connection signal="timeout" from="SpawnTimer" to="." method="_on_spawn_timer_timeout"]