Atrocities
This commit is contained in:
parent
8e0f90ae3d
commit
9680b21792
90 changed files with 324 additions and 69 deletions
3
scenes/debug_location.tscn
Normal file
3
scenes/debug_location.tscn
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[gd_scene format=3 uid="uid://bu5ryqtgqwjp6"]
|
||||
|
||||
[node name="DebugLocation" type="Node2D"]
|
||||
|
|
@ -1,14 +1,14 @@
|
|||
[gd_scene load_steps=10 format=3 uid="uid://crxsvv7drckpw"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/components/level/RuntimeLevelData.cs" id="1_i3bf5"]
|
||||
[ext_resource type="Texture2D" uid="uid://b0tb2hjum40aw" path="res://assets/sprites/summertime_saga.png" id="2_vmxhy"]
|
||||
[ext_resource type="PackedScene" uid="uid://cg8713v6c5w15" path="res://scenes/pools.tscn" id="3_jv7x4"]
|
||||
[ext_resource type="Texture2D" uid="uid://b0tb2hjum40aw" path="res://assets/sprites/background_summer.png" id="2_vmxhy"]
|
||||
[ext_resource type="PackedScene" uid="uid://cg8713v6c5w15" path="res://scenes/level components/pools.tscn" id="3_jv7x4"]
|
||||
[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" path="res://scripts/components/level/SunSpawner.cs" id="6_lkguy"]
|
||||
[ext_resource type="PackedScene" uid="uid://co11v3w8hbwgf" path="res://scenes/entities/Zombies/zombie.tscn" id="9_vwrdf"]
|
||||
[ext_resource type="PackedScene" uid="uid://xu4i6tmkv00a" path="res://scenes/entities/Zombies/bucket_zombie.tscn" id="9_u7o5c"]
|
||||
|
||||
[node name="debug_lvl" type="Node2D"]
|
||||
|
||||
|
|
@ -49,44 +49,7 @@ SunScene = ExtResource("6_ay12k")
|
|||
wait_time = 5.0
|
||||
autostart = true
|
||||
|
||||
[node name="Zombie" parent="." instance=ExtResource("9_vwrdf")]
|
||||
position = Vector2(806, 134)
|
||||
_line = 3
|
||||
|
||||
[node name="Zombie2" parent="." instance=ExtResource("9_vwrdf")]
|
||||
position = Vector2(824, 134)
|
||||
_line = 3
|
||||
|
||||
[node name="Zombie3" parent="." instance=ExtResource("9_vwrdf")]
|
||||
position = Vector2(779, 134)
|
||||
_line = 3
|
||||
|
||||
[node name="Zombie4" parent="." instance=ExtResource("9_vwrdf")]
|
||||
position = Vector2(848, 134)
|
||||
_line = 3
|
||||
|
||||
[node name="Zombie5" parent="." instance=ExtResource("9_vwrdf")]
|
||||
position = Vector2(801, 376)
|
||||
_line = 5
|
||||
|
||||
[node name="Zombie6" parent="." instance=ExtResource("9_vwrdf")]
|
||||
position = Vector2(819, 376)
|
||||
_line = 5
|
||||
|
||||
[node name="Zombie7" parent="." instance=ExtResource("9_vwrdf")]
|
||||
position = Vector2(774, 376)
|
||||
_line = 5
|
||||
|
||||
[node name="Zombie8" parent="." instance=ExtResource("9_vwrdf")]
|
||||
position = Vector2(843, 376)
|
||||
_line = 5
|
||||
[node name="BucketZombie" parent="." instance=ExtResource("9_u7o5c")]
|
||||
position = Vector2(729, 257)
|
||||
|
||||
[connection signal="timeout" from="SunSpawner/Timer" to="SunSpawner" method="Spawn"]
|
||||
[connection signal="OnHPChanged" from="Zombie" to="Zombie/AudioStreamPlayer2D" method="OnHPChanged"]
|
||||
[connection signal="OnHPChanged" from="Zombie2" to="Zombie2/AudioStreamPlayer2D" method="OnHPChanged"]
|
||||
[connection signal="OnHPChanged" from="Zombie3" to="Zombie3/AudioStreamPlayer2D" method="OnHPChanged"]
|
||||
[connection signal="OnHPChanged" from="Zombie4" to="Zombie4/AudioStreamPlayer2D" method="OnHPChanged"]
|
||||
[connection signal="OnHPChanged" from="Zombie5" to="Zombie5/AudioStreamPlayer2D" method="OnHPChanged"]
|
||||
[connection signal="OnHPChanged" from="Zombie6" to="Zombie6/AudioStreamPlayer2D" method="OnHPChanged"]
|
||||
[connection signal="OnHPChanged" from="Zombie7" to="Zombie7/AudioStreamPlayer2D" method="OnHPChanged"]
|
||||
[connection signal="OnHPChanged" from="Zombie8" to="Zombie8/AudioStreamPlayer2D" method="OnHPChanged"]
|
||||
|
|
|
|||
22
scenes/entities/Zombies/bucket_zombie.tscn
Normal file
22
scenes/entities/Zombies/bucket_zombie.tscn
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://xu4i6tmkv00a"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://hhjbqkjqpt7x" path="res://scenes/entities/Zombies/cone_zombie.tscn" id="1_mwqpo"]
|
||||
[ext_resource type="Shader" path="res://assets/shaders/CG_color_blender.gdshader" id="2_3mrqj"]
|
||||
[ext_resource type="Texture2D" uid="uid://ce04l60l6mhfk" path="res://assets/sprites/bucket.tres" id="3_0nlp0"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_wdi07"]
|
||||
resource_local_to_scene = true
|
||||
shader = ExtResource("2_3mrqj")
|
||||
shader_parameter/blend_color = Color(1, 1, 1, 1)
|
||||
shader_parameter/amount = null
|
||||
|
||||
[node name="BucketZombie" instance=ExtResource("1_mwqpo")]
|
||||
|
||||
[node name="CanvasGroup" parent="." index="0"]
|
||||
material = SubResource("ShaderMaterial_wdi07")
|
||||
|
||||
[node name="Hat" parent="CanvasGroup" index="1"]
|
||||
texture = ExtResource("3_0nlp0")
|
||||
|
||||
[node name="Armor" parent="." index="8"]
|
||||
_maxHP = 180
|
||||
28
scenes/entities/Zombies/cone_zombie.tscn
Normal file
28
scenes/entities/Zombies/cone_zombie.tscn
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://hhjbqkjqpt7x"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://co11v3w8hbwgf" path="res://scenes/entities/Zombies/zombie.tscn" id="1_3dq4c"]
|
||||
[ext_resource type="Shader" path="res://assets/shaders/CG_color_blender.gdshader" id="2_2dq8e"]
|
||||
[ext_resource type="Script" path="res://scripts/components/Armor.cs" id="3_5s7in"]
|
||||
[ext_resource type="Texture2D" uid="uid://ceqvdmude7cgg" path="res://assets/sprites/cone.tres" id="4_qdhik"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_sat5k"]
|
||||
resource_local_to_scene = true
|
||||
shader = ExtResource("2_2dq8e")
|
||||
shader_parameter/blend_color = Color(1, 1, 1, 1)
|
||||
shader_parameter/amount = null
|
||||
|
||||
[node name="ConeZombie" node_paths=PackedStringArray("_armor") instance=ExtResource("1_3dq4c")]
|
||||
_armor = NodePath("Armor")
|
||||
|
||||
[node name="CanvasGroup" parent="." index="0"]
|
||||
material = SubResource("ShaderMaterial_sat5k")
|
||||
|
||||
[node name="Hat" type="Sprite2D" parent="CanvasGroup" index="1"]
|
||||
position = Vector2(-6, -88)
|
||||
texture = ExtResource("4_qdhik")
|
||||
|
||||
[node name="Armor" type="Node" parent="." index="8"]
|
||||
script = ExtResource("3_5s7in")
|
||||
_maxHP = 60
|
||||
|
||||
[connection signal="ArmorLost" from="Armor" to="CanvasGroup/Hat" method="queue_free"]
|
||||
|
|
@ -3,9 +3,9 @@
|
|||
[ext_resource type="Theme" uid="uid://e8n88g31w7x7" path="res://resources/themes/ChooseYourSeeds.tres" id="1_bfo8i"]
|
||||
[ext_resource type="Texture2D" uid="uid://dr8a0rx42o3qy" path="res://assets/sprites/gui/ChooseYourSeeds/PlantFrame.tres" id="2_so2bw"]
|
||||
[ext_resource type="Texture2D" uid="uid://dycdvvgmgmfu6" path="res://assets/sprites/gui/ChooseYourSeeds/FrameField.tres" id="3_rn5vx"]
|
||||
[ext_resource type="Script" path="res://scripts/components/gui/choose_your_seeds/GridLoader.cs" id="4_i7sou"]
|
||||
[ext_resource type="Script" uid="uid://eq3ecja30mlj" path="res://scripts/components/gui/choose_your_seeds/GridLoader.cs" id="4_i7sou"]
|
||||
[ext_resource type="PackedScene" uid="uid://10b1egek6upx" path="res://scenes/gui/level_run_button.tscn" id="5_n80ic"]
|
||||
[ext_resource type="Script" path="res://scripts/components/gui/choose_your_seeds/LevelRunButton.cs" id="7_k6b6g"]
|
||||
[ext_resource type="Script" uid="uid://d26waisd3v488" path="res://scripts/components/gui/choose_your_seeds/LevelRunButton.cs" id="7_k6b6g"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_0rps3"]
|
||||
resource_name = "Hide"
|
||||
|
|
@ -91,9 +91,9 @@ tracks/1/keys = {
|
|||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_tguwa"]
|
||||
_data = {
|
||||
"Hide": SubResource("Animation_0rps3"),
|
||||
"RESET": SubResource("Animation_8he0w"),
|
||||
"Show": SubResource("Animation_omiwq")
|
||||
&"Hide": SubResource("Animation_0rps3"),
|
||||
&"RESET": SubResource("Animation_8he0w"),
|
||||
&"Show": SubResource("Animation_omiwq")
|
||||
}
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_rmoaa"]
|
||||
|
|
@ -113,7 +113,7 @@ theme = ExtResource("1_bfo8i")
|
|||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
root_node = NodePath("../Panel/LevelRunButton")
|
||||
libraries = {
|
||||
"": SubResource("AnimationLibrary_tguwa")
|
||||
&"": SubResource("AnimationLibrary_tguwa")
|
||||
}
|
||||
autoplay = "Show"
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
[ext_resource type="Script" path="res://scripts/components/level/PoolContainer.cs" id="1_31ggc"]
|
||||
|
||||
[node name="Pools" type="Node" node_paths=PackedStringArray("Zombies", "Plants", "Projectiles", "Structures")]
|
||||
[node name="Pools" type="Node2D" node_paths=PackedStringArray("Zombies", "Plants", "Projectiles", "Structures")]
|
||||
script = ExtResource("1_31ggc")
|
||||
Zombies = NodePath("Zombies")
|
||||
Plants = NodePath("Plants")
|
||||
8
scenes/level_button.tscn
Normal file
8
scenes/level_button.tscn
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://dylfqmo3d26ce"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/LevelButton.cs" id="1_qey5e"]
|
||||
|
||||
[node name="LevelButton" type="TextureRect"]
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
script = ExtResource("1_qey5e")
|
||||
9
scenes/summer.tscn
Normal file
9
scenes/summer.tscn
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://ccrr8drx0a7gy"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dd3yegl1xo44m" path="res://scenes/templates/level_template.tscn" id="1_53h7t"]
|
||||
[ext_resource type="Texture2D" uid="uid://b0tb2hjum40aw" path="res://assets/sprites/background_summer.png" id="2_8hj2g"]
|
||||
|
||||
[node name="Summer" instance=ExtResource("1_53h7t")]
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." index="1"]
|
||||
texture = ExtResource("2_8hj2g")
|
||||
|
|
@ -1,3 +1,31 @@
|
|||
[gd_scene format=3 uid="uid://dd3yegl1xo44m"]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://dd3yegl1xo44m"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/components/level/RuntimeLevelData.cs" id="1_31ltw"]
|
||||
[ext_resource type="PackedScene" uid="uid://devn21c7luf45" path="res://scenes/level components/field_controller.tscn" id="2_w4oj7"]
|
||||
[ext_resource type="PackedScene" uid="uid://cg8713v6c5w15" path="res://scenes/level components/pools.tscn" id="3_r1g7l"]
|
||||
[ext_resource type="PackedScene" uid="uid://dpxxjfd5lv5sv" path="res://scenes/gui/choose_your_seeds.tscn" id="3_xy2c6"]
|
||||
[ext_resource type="PackedScene" uid="uid://cfnmspei3k4p7" path="res://scenes/gui/runtime_gui.tscn" id="4_okro4"]
|
||||
|
||||
[node name="level_template" type="Node2D"]
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
|
||||
[node name="RuntimeLevelData" type="Node" parent="."]
|
||||
script = ExtResource("1_31ltw")
|
||||
|
||||
[node name="Pools" parent="." instance=ExtResource("3_r1g7l")]
|
||||
|
||||
[node name="GameUserInterface" type="CanvasLayer" parent="."]
|
||||
layer = 10
|
||||
|
||||
[node name="ChooseYourSeeds" parent="GameUserInterface" instance=ExtResource("3_xy2c6")]
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="RuntimeGUI" parent="GameUserInterface" instance=ExtResource("4_okro4")]
|
||||
|
||||
[node name="OverlayGameobjects" type="CanvasLayer" parent="."]
|
||||
layer = 6
|
||||
|
||||
[node name="FieldController" parent="OverlayGameobjects" instance=ExtResource("2_w4oj7")]
|
||||
|
||||
[node name="MainAnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue