[gd_scene format=3 uid="uid://xfd48ep5qi1k"] [ext_resource type="Script" uid="uid://dk578xnlxjwrr" path="res://Game/LevelServiceSource.cs" id="1_5saw1"] [ext_resource type="PackedScene" uid="uid://3v8kq1rfwhmr" path="res://Game/target.tscn" id="1_y7rhs"] [ext_resource type="Script" uid="uid://cxfrtglku2gfa" path="res://Game/TargetSpawner.cs" id="2_5saw1"] [ext_resource type="Script" uid="uid://bgrjeadxhgmvi" path="res://Game/Score.cs" id="3_spj1u"] [ext_resource type="Texture2D" uid="uid://y1ros3y7hag2" path="res://icon.svg" id="4_esqs7"] [ext_resource type="Script" uid="uid://ce7gnp1lcrrdv" path="res://Game/Turret.cs" id="5_himod"] [ext_resource type="PackedScene" uid="uid://brbufibn7hi3o" path="res://Game/projectile.tscn" id="6_sin03"] [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") _serviceScope = "GodotHostTest.Game.LevelScope, godot-host-test, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" InjectedNodes = [NodePath("../Target"), NodePath("../Target2"), NodePath("../Target3"), NodePath("../Target4"), NodePath("../Target5"), NodePath("../Target6"), NodePath("../Score"), NodePath("../Turret")] [node name="Target" parent="." unique_id=2101558052 instance=ExtResource("1_y7rhs")] position = Vector2(198, 143) TimeOutDurationInSeconds = 2.0 [node name="Target2" parent="." unique_id=1009901052 instance=ExtResource("1_y7rhs")] position = Vector2(669, 64) TimeOutDurationInSeconds = 2.0 [node name="Target3" parent="." unique_id=1433382188 instance=ExtResource("1_y7rhs")] position = Vector2(1060, 263) TimeOutDurationInSeconds = 2.0 [node name="Target4" parent="." unique_id=1553596281 instance=ExtResource("1_y7rhs")] position = Vector2(961, 620) TimeOutDurationInSeconds = 2.0 [node name="Target5" parent="." unique_id=46923989 instance=ExtResource("1_y7rhs")] position = Vector2(469, 591) TimeOutDurationInSeconds = 2.0 [node name="Target6" parent="." unique_id=2092179937 instance=ExtResource("1_y7rhs")] position = Vector2(53, 417) TimeOutDurationInSeconds = 2.0 [node name="Spawner" type="Node2D" parent="." unique_id=251404460 node_paths=PackedStringArray("Timer")] script = ExtResource("2_5saw1") TimeBetweenSpawns = 1.5 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" type="Sprite2D" parent="." unique_id=152356196] modulate = Color(1.92523e-07, 0.88004553, 0.8802661, 1) position = Vector2(539, 307) texture = ExtResource("4_esqs7") script = ExtResource("5_himod") _projectilePackedScene = ExtResource("6_sin03") [connection signal="timeout" from="Spawner/Timer" to="Spawner" method="OnTimer"]