Files
2026-07-21 21:53:18 +02:00

132 lines
4.9 KiB
Plaintext

[gd_scene format=3 uid="uid://xfd48ep5qi1k"]
[ext_resource type="Script" uid="uid://dk578xnlxjwrr" path="res://Game/Level/LevelServiceSource.cs" id="1_5saw1"]
[ext_resource type="PackedScene" uid="uid://3v8kq1rfwhmr" path="res://Game/Target/target.tscn" id="1_y7rhs"]
[ext_resource type="Script" uid="uid://cxfrtglku2gfa" path="res://Game/Target/TargetSpawner.cs" id="2_5saw1"]
[ext_resource type="Script" uid="uid://bgrjeadxhgmvi" path="res://Game/Score/Score.cs" id="3_spj1u"]
[ext_resource type="PackedScene" uid="uid://cgixjjrc2kdui" path="res://Game/Turret/turret.tscn" id="5_m3hgq"]
[sub_resource type="Animation" id="Animation_bbjqm"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Level/Score:offset_transform_position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(0, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Level/Score:offset_transform_rotation")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [0.0]
}
[sub_resource type="Animation" id="Animation_4ty2a"]
resource_name = "wiggle"
length = 0.3
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Level/Score:offset_transform_position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.049999997, 0.099999994, 0.15, 0.2, 0.24999999),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
"update": 0,
"values": [Vector2(0, 0), Vector2(10, -10), Vector2(-10, -10), Vector2(10, 10), Vector2(-10, 10), Vector2(0, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Level/Score:offset_transform_rotation")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.049999997, 0.099999994, 0.15, 0.2, 0.24999999),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
"update": 0,
"values": [0.0, 0.08726646, -0.08726646, 0.08726646, -0.08726646, 0.0]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_rckqj"]
_data = {
&"RESET": SubResource("Animation_bbjqm"),
&"wiggle": SubResource("Animation_4ty2a")
}
[node name="Level" type="Node2D" unique_id=1331632726]
[node name="LevelScope" type="Node" parent="." unique_id=1267156771 node_paths=PackedStringArray("_targetSpawner", "InjectedNodes")]
script = ExtResource("1_5saw1")
_targetSpawner = NodePath("../Spawner")
InjectedNodes = [NodePath("../Target"), NodePath("../Target2"), NodePath("../Target3"), NodePath("../Target4"), NodePath("../Target5"), NodePath("../Target6"), NodePath("../Score"), NodePath("../Turret"), NodePath("../Spawner")]
_serviceScope = "GodotHostTest.Game.Level.LevelScope, godot-host-test, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
[node name="Target" parent="." unique_id=2101558052 instance=ExtResource("1_y7rhs")]
position = Vector2(198, 143)
[node name="Target2" parent="." unique_id=1009901052 instance=ExtResource("1_y7rhs")]
position = Vector2(669, 64)
[node name="Target3" parent="." unique_id=1433382188 instance=ExtResource("1_y7rhs")]
position = Vector2(1060, 263)
[node name="Target4" parent="." unique_id=1553596281 instance=ExtResource("1_y7rhs")]
position = Vector2(961, 620)
[node name="Target5" parent="." unique_id=46923989 instance=ExtResource("1_y7rhs")]
position = Vector2(469, 591)
[node name="Target6" parent="." unique_id=2092179937 instance=ExtResource("1_y7rhs")]
position = Vector2(53, 417)
[node name="Spawner" type="Node2D" parent="." unique_id=251404460 node_paths=PackedStringArray("Timer")]
script = ExtResource("2_5saw1")
Timer = NodePath("Timer")
[node name="Timer" type="Timer" parent="Spawner" unique_id=1066078427]
[node name="Score" type="ColorRect" parent="." unique_id=1267746809 node_paths=PackedStringArray("_animationPlayer", "_label")]
offset_right = 200.0
offset_bottom = 40.0
offset_transform_enabled = true
color = Color(1, 1, 1, 0.2784314)
script = ExtResource("3_spj1u")
_animationPlayer = NodePath("../AnimationPlayer")
_label = NodePath("Label")
[node name="Label" type="Label" parent="Score" unique_id=558063655]
layout_mode = 1
anchors_preset = -1
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 10.0
offset_right = -10.0
grow_horizontal = 2
grow_vertical = 2
theme_override_colors/font_color = Color(0, 0, 0, 1)
text = "Score: 0"
vertical_alignment = 1
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1215951318]
root_node = NodePath("../..")
libraries/ = SubResource("AnimationLibrary_rckqj")
[node name="Turret" parent="." unique_id=682995021 instance=ExtResource("5_m3hgq")]
position = Vector2(539, 307)
[connection signal="timeout" from="Spawner/Timer" to="Spawner" method="OnTimer"]