128 lines
4.5 KiB
Text
128 lines
4.5 KiB
Text
[gd_scene load_steps=12 format=3 uid="uid://crxsvv7drckpw"]
|
|
|
|
[ext_resource type="Script" uid="uid://bndu1h5kgcde8" path="res://scripts/level/RuntimeLevelData.cs" id="1_i3bf5"]
|
|
[ext_resource type="Texture2D" uid="uid://b0tb2hjum40aw" path="res://assets/sprites/background_summer.png" id="2_vmxhy"]
|
|
[ext_resource type="Script" uid="uid://bso32xkw738sy" path="res://scripts/level/PoolContainer.cs" id="3_1y18w"]
|
|
[ext_resource type="PackedScene" uid="uid://dpxxjfd5lv5sv" path="res://scenes/gui/choose_your_seeds.tscn" id="5_5e78h"]
|
|
[ext_resource type="PackedScene" uid="uid://devn21c7luf45" path="res://scenes/level components/field_controller.tscn" id="5_lwpg6"]
|
|
[ext_resource type="PackedScene" uid="uid://cfnmspei3k4p7" path="res://scenes/gui/runtime_gui.tscn" id="6_0baou"]
|
|
[ext_resource type="PackedScene" uid="uid://bpekho7leatr5" path="res://scenes/sun.tscn" id="6_ay12k"]
|
|
[ext_resource type="Script" uid="uid://cslqjdd5wq4rc" path="res://scripts/level/SunSpawner.cs" id="6_lkguy"]
|
|
[ext_resource type="Script" uid="uid://blpu7t8tf6277" path="res://scripts/particles/FallFloor.cs" id="10_q4fsb"]
|
|
[ext_resource type="PackedScene" uid="uid://bgqmwsb6ynm81" path="res://scenes/entities/Zombies/hobo.tscn" id="10_tbxxq"]
|
|
|
|
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_tbxxq"]
|
|
|
|
[node name="debug_lvl" type="Node2D"]
|
|
y_sort_enabled = true
|
|
|
|
[node name="SummertimeSaga" type="Sprite2D" parent="."]
|
|
z_index = -4096
|
|
z_as_relative = false
|
|
position = Vector2(500, 200)
|
|
texture = ExtResource("2_vmxhy")
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="."]
|
|
position = Vector2(481, 200)
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="RuntimeLevelData" type="Node" parent="."]
|
|
script = ExtResource("1_i3bf5")
|
|
SunCount = 999999
|
|
|
|
[node name="Pools" type="Node2D" parent="." node_paths=PackedStringArray("Zombies", "Plants", "Projectiles", "Structures", "Particles")]
|
|
script = ExtResource("3_1y18w")
|
|
Zombies = NodePath("Zombies")
|
|
Plants = NodePath("Plants")
|
|
Projectiles = NodePath("Projectiles")
|
|
Structures = NodePath("Structures")
|
|
Particles = NodePath("Projectiles")
|
|
|
|
[node name="Zombies" type="Node2D" parent="Pools"]
|
|
z_index = 3
|
|
y_sort_enabled = true
|
|
|
|
[node name="Plants" type="Node2D" parent="Pools"]
|
|
z_index = 1
|
|
y_sort_enabled = true
|
|
|
|
[node name="Projectiles" type="Node2D" parent="Pools"]
|
|
z_index = 4
|
|
y_sort_enabled = true
|
|
|
|
[node name="Structures" type="Node2D" parent="Pools"]
|
|
z_index = 2
|
|
y_sort_enabled = true
|
|
|
|
[node name="GuiLayer" type="CanvasLayer" parent="."]
|
|
layer = 10
|
|
|
|
[node name="RuntimeGUI" parent="GuiLayer" instance=ExtResource("6_0baou")]
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="ChooseYourSeeds" parent="GuiLayer" instance=ExtResource("5_5e78h")]
|
|
|
|
[node name="Overlay" type="CanvasLayer" parent="."]
|
|
layer = 6
|
|
follow_viewport_enabled = true
|
|
|
|
[node name="FieldController" parent="Overlay" instance=ExtResource("5_lwpg6")]
|
|
|
|
[node name="SunSpawner" type="Node" parent="."]
|
|
script = ExtResource("6_lkguy")
|
|
SunScene = ExtResource("6_ay12k")
|
|
|
|
[node name="Timer" type="Timer" parent="SunSpawner"]
|
|
wait_time = 5.0
|
|
autostart = true
|
|
|
|
[node name="Lines" type="Node2D" parent="."]
|
|
script = ExtResource("10_q4fsb")
|
|
|
|
[node name="Floor" type="StaticBody2D" parent="Lines"]
|
|
position = Vector2(528, 247)
|
|
collision_layer = 64
|
|
collision_mask = 0
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Lines/Floor"]
|
|
shape = SubResource("WorldBoundaryShape2D_tbxxq")
|
|
|
|
[node name="Floor2" type="StaticBody2D" parent="Lines"]
|
|
position = Vector2(528, 306)
|
|
collision_layer = 64
|
|
collision_mask = 0
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Lines/Floor2"]
|
|
shape = SubResource("WorldBoundaryShape2D_tbxxq")
|
|
|
|
[node name="Floor3" type="StaticBody2D" parent="Lines"]
|
|
position = Vector2(528, 367)
|
|
collision_layer = 64
|
|
collision_mask = 0
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Lines/Floor3"]
|
|
shape = SubResource("WorldBoundaryShape2D_tbxxq")
|
|
|
|
[node name="Floor4" type="StaticBody2D" parent="Lines"]
|
|
position = Vector2(528, 183)
|
|
collision_layer = 64
|
|
collision_mask = 0
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Lines/Floor4"]
|
|
shape = SubResource("WorldBoundaryShape2D_tbxxq")
|
|
|
|
[node name="Floor5" type="StaticBody2D" parent="Lines"]
|
|
position = Vector2(528, 132)
|
|
collision_layer = 64
|
|
collision_mask = 0
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Lines/Floor5"]
|
|
shape = SubResource("WorldBoundaryShape2D_tbxxq")
|
|
|
|
[node name="Hobo" parent="." instance=ExtResource("10_tbxxq")]
|
|
position = Vector2(755, 256)
|
|
garlicSound = null
|
|
freezeSound = null
|
|
|
|
[connection signal="timeout" from="SunSpawner/Timer" to="SunSpawner" method="Spawn"]
|