FINAL JAM COMMIT
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://ddoe833kg11n5"]
|
||||
|
||||
[ext_resource type="AudioStream" uid="uid://dbsuw8omrcx1d" path="res://Assets/Sounds/Music/8bit-mysterious-kyouto_reverb_Loop.ogg" id="1_5ast2"]
|
||||
[ext_resource type="Script" uid="uid://bmdb22du7uvr1" path="res://Scripts/Common/SceneManager.cs" id="2_uy6xw"]
|
||||
[ext_resource type="PackedScene" uid="uid://csyk43kt3xbyx" path="res://Scenes/game.tscn" id="3_4cwpi"]
|
||||
[ext_resource type="PackedScene" uid="uid://cof1iapx258cw" path="res://Scenes/menu.tscn" id="4_a4hfx"]
|
||||
[ext_resource type="PackedScene" uid="uid://c1n63k05rq5g4" path="res://Scenes/endscreen.tscn" id="5_6st05"]
|
||||
|
||||
[node name="Root" type="Node2D"]
|
||||
|
||||
[node name="MusicPLayer" type="AudioStreamPlayer" parent="."]
|
||||
process_mode = 3
|
||||
stream = ExtResource("1_5ast2")
|
||||
volume_db = -30.0
|
||||
autoplay = true
|
||||
parameters/looping = true
|
||||
|
||||
[node name="SceneManager" type="Node" parent="." node_paths=PackedStringArray("_root")]
|
||||
process_mode = 3
|
||||
script = ExtResource("2_uy6xw")
|
||||
_root = NodePath("..")
|
||||
_gameScene = ExtResource("3_4cwpi")
|
||||
_menuScene = ExtResource("4_a4hfx")
|
||||
_endScene = ExtResource("5_6st05")
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
||||
process_mode = 3
|
||||
layer = 6767
|
||||
visible = false
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="CanvasLayer"]
|
||||
custom_minimum_size = Vector2(1, 1)
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -4999.5
|
||||
offset_top = -4999.5
|
||||
offset_right = 4999.5
|
||||
offset_bottom = 4999.5
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
color = Color(0, 0, 0, 1)
|
||||
File diff suppressed because one or more lines are too long
+233
-26
@@ -1,8 +1,9 @@
|
||||
[gd_scene load_steps=45 format=4 uid="uid://csyk43kt3xbyx"]
|
||||
[gd_scene load_steps=54 format=4 uid="uid://csyk43kt3xbyx"]
|
||||
|
||||
[ext_resource type="TileSet" uid="uid://b15j7vhkfu415" path="res://Resources/environmentTileMap.tres" id="1_ebmjs"]
|
||||
[ext_resource type="Script" uid="uid://djp8dmixf6sq2" path="res://Scripts/Common/GameController.cs" id="1_i6g32"]
|
||||
[ext_resource type="Script" uid="uid://b0uosq6r5dbqa" path="res://Scripts/Turrets/TurretController.cs" id="1_nb51f"]
|
||||
[ext_resource type="Script" uid="uid://ch2o7voah6o3o" path="res://Scripts/Common/PauseManager.cs" id="1_tgy6u"]
|
||||
[ext_resource type="Script" uid="uid://bhxyvnirfeipr" path="res://Scripts/Enemies/EnemyPool.cs" id="2_i6g32"]
|
||||
[ext_resource type="Script" uid="uid://cds2rrl4yjexf" path="res://Scripts/Enemies/EnemySpawner.cs" id="3_1l0tm"]
|
||||
[ext_resource type="PackedScene" uid="uid://8230dpmp7mic" path="res://Prefabs/Turrets/Placeholders/kitsune_ph.tscn" id="3_ewbju"]
|
||||
@@ -25,7 +26,11 @@
|
||||
[ext_resource type="Shader" uid="uid://8dk8mi2w1xl6" path="res://Scenes/game.tres" id="14_1phco"]
|
||||
[ext_resource type="Texture2D" uid="uid://2x62ipg12256" path="res://Assets/Sprites/Vfx/particle.png" id="16_22asu"]
|
||||
[ext_resource type="Script" uid="uid://dxcke7geb20dm" path="res://Scripts/Misc/Floating.gd" id="19_fkdbe"]
|
||||
[ext_resource type="AudioStream" uid="uid://dbsuw8omrcx1d" path="res://Assets/Sounds/Music/8bit-mysterious-kyouto_reverb_Loop.ogg" id="26_fkdbe"]
|
||||
[ext_resource type="Script" uid="uid://fxb27qlab5nb" path="res://Scripts/UI/PriceUpdater.cs" id="25_mucmn"]
|
||||
[ext_resource type="FontFile" uid="uid://2ojf62uk562d" path="res://Assets/Fonts/DotGothic16-Regular.ttf" id="26_81klo"]
|
||||
[ext_resource type="Texture2D" uid="uid://cdaoxfxcl87xq" path="res://Assets/Sprites/UI/Score.png" id="27_8m3t6"]
|
||||
[ext_resource type="Texture2D" uid="uid://dudgvn6o3ex" path="res://Assets/Sprites/UI/button.png" id="27_tgy6u"]
|
||||
[ext_resource type="Script" uid="uid://bsmpt1ig823du" path="res://Scripts/UI/SceneChangerBtn.cs" id="29_cwurv"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_1l0tm"]
|
||||
size = Vector2(19, 11)
|
||||
@@ -119,6 +124,9 @@ adjustment_contrast = 1.1
|
||||
atlas = ExtResource("11_o5yvi")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_ese38"]
|
||||
font = ExtResource("12_rfjv2")
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_nnt18"]
|
||||
atlas = ExtResource("11_o5yvi")
|
||||
region = Rect2(0, 16, 16, 15)
|
||||
@@ -137,9 +145,31 @@ shadow_size = 0
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_nb51f"]
|
||||
shader = ExtResource("14_1phco")
|
||||
|
||||
[node name="Root" type="Node2D"]
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_cwurv"]
|
||||
font = ExtResource("26_81klo")
|
||||
font_size = 128
|
||||
outline_size = 12
|
||||
outline_color = Color(0, 0, 0, 1)
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_mucmn"]
|
||||
font = ExtResource("12_rfjv2")
|
||||
font_size = 18
|
||||
outline_size = 2
|
||||
outline_color = Color(0, 0, 0, 1)
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_8m3t6"]
|
||||
font = ExtResource("26_81klo")
|
||||
font_size = 36
|
||||
|
||||
[node name="Game" type="Node2D"]
|
||||
texture_filter = 1
|
||||
|
||||
[node name="PauseManager" type="Node" parent="." node_paths=PackedStringArray("_hud", "_pauseMenu")]
|
||||
process_mode = 3
|
||||
script = ExtResource("1_tgy6u")
|
||||
_hud = NodePath("../Hud")
|
||||
_pauseMenu = NodePath("../PauseMenu")
|
||||
|
||||
[node name="TurretController" type="Node2D" parent="." node_paths=PackedStringArray("_turretParent")]
|
||||
script = ExtResource("1_nb51f")
|
||||
_typeToPrefab = Dictionary[int, PackedScene]({
|
||||
@@ -153,12 +183,14 @@ _typeToPlaceholder = Dictionary[int, PackedScene]({
|
||||
2: ExtResource("5_7nbq1")
|
||||
})
|
||||
_turretParent = NodePath("../Level/YSorted/Turrets")
|
||||
BasePrice = 125
|
||||
|
||||
[node name="GameController" type="Node" parent="." node_paths=PackedStringArray("_CurrencyLabel", "_ShrineHealthLabel")]
|
||||
[node name="GameController" type="Node" parent="." node_paths=PackedStringArray("_CurrencyLabel", "_ShrineHealthLabel", "_scoreLabel")]
|
||||
script = ExtResource("1_i6g32")
|
||||
_ShrineStartHP = 100.0
|
||||
_CurrencyLabel = NodePath("../CanvasLayer/UIRoot/CurrencyImg/CurrencyLabel")
|
||||
_ShrineHealthLabel = NodePath("../CanvasLayer/UIRoot/ShrineHealthImg/ShrineHealthLabel")
|
||||
_CurrencyLabel = NodePath("../Hud/UIRoot/CurrencyImg/CurrencyLabel")
|
||||
_ShrineHealthLabel = NodePath("../Hud/UIRoot/ShrineHealthImg/ShrineHealthLabel")
|
||||
_scoreLabel = NodePath("../Hud/UIRoot/Score/ScoreLabel")
|
||||
|
||||
[node name="EnemyController" type="Node" parent="."]
|
||||
|
||||
@@ -395,9 +427,9 @@ current = true
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||
environment = SubResource("Environment_h4fw4")
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
||||
[node name="Hud" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="UIRoot" type="Control" parent="CanvasLayer"]
|
||||
[node name="UIRoot" type="Control" parent="Hud"]
|
||||
texture_filter = 1
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
@@ -407,7 +439,7 @@ grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 1
|
||||
|
||||
[node name="GridContainer" type="GridContainer" parent="CanvasLayer/UIRoot"]
|
||||
[node name="GridContainer" type="GridContainer" parent="Hud/UIRoot"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 7
|
||||
anchor_left = 0.5
|
||||
@@ -423,28 +455,90 @@ grow_vertical = 0
|
||||
scale = Vector2(2, 2)
|
||||
columns = 3
|
||||
|
||||
[node name="Oni" type="Button" parent="CanvasLayer/UIRoot/GridContainer"]
|
||||
[node name="Oni" type="Button" parent="Hud/UIRoot/GridContainer"]
|
||||
custom_minimum_size = Vector2(42, 42)
|
||||
layout_mode = 2
|
||||
icon = SubResource("AtlasTexture_nb51f")
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
|
||||
[node name="Kitsune" type="Button" parent="CanvasLayer/UIRoot/GridContainer"]
|
||||
[node name="Price" type="Label" parent="Hud/UIRoot/GridContainer/Oni"]
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
offset_left = 20.0
|
||||
offset_top = -20.0
|
||||
offset_right = 60.0
|
||||
offset_bottom = 3.0
|
||||
text = "999"
|
||||
label_settings = SubResource("LabelSettings_ese38")
|
||||
vertical_alignment = 1
|
||||
script = ExtResource("25_mucmn")
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="Hud/UIRoot/GridContainer/Oni/Price"]
|
||||
layout_mode = 0
|
||||
offset_left = -20.0
|
||||
offset_right = 20.0
|
||||
offset_bottom = 40.0
|
||||
scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("13_1phco")
|
||||
|
||||
[node name="Kitsune" type="Button" parent="Hud/UIRoot/GridContainer"]
|
||||
custom_minimum_size = Vector2(42, 42)
|
||||
layout_mode = 2
|
||||
icon = SubResource("AtlasTexture_nnt18")
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
|
||||
[node name="Tengu" type="Button" parent="CanvasLayer/UIRoot/GridContainer"]
|
||||
[node name="Price" type="Label" parent="Hud/UIRoot/GridContainer/Kitsune"]
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
offset_left = 14.0
|
||||
offset_top = -20.0
|
||||
offset_right = 54.0
|
||||
offset_bottom = 3.0
|
||||
text = "125"
|
||||
label_settings = SubResource("LabelSettings_ese38")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
script = ExtResource("25_mucmn")
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="Hud/UIRoot/GridContainer/Kitsune/Price"]
|
||||
layout_mode = 0
|
||||
offset_left = -14.0
|
||||
offset_right = 26.0
|
||||
offset_bottom = 40.0
|
||||
scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("13_1phco")
|
||||
|
||||
[node name="Tengu" type="Button" parent="Hud/UIRoot/GridContainer"]
|
||||
custom_minimum_size = Vector2(42, 42)
|
||||
layout_mode = 2
|
||||
icon = SubResource("AtlasTexture_ewbju")
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
|
||||
[node name="CurrencyImg" type="TextureRect" parent="CanvasLayer/UIRoot"]
|
||||
[node name="Price" type="Label" parent="Hud/UIRoot/GridContainer/Tengu"]
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
offset_left = 12.0
|
||||
offset_top = -20.0
|
||||
offset_right = 52.0
|
||||
offset_bottom = 3.0
|
||||
text = "125"
|
||||
label_settings = SubResource("LabelSettings_ese38")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
script = ExtResource("25_mucmn")
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="Hud/UIRoot/GridContainer/Tengu/Price"]
|
||||
layout_mode = 0
|
||||
offset_left = -12.0
|
||||
offset_right = 28.0
|
||||
offset_bottom = 40.0
|
||||
scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("13_1phco")
|
||||
|
||||
[node name="CurrencyImg" type="TextureRect" parent="Hud/UIRoot"]
|
||||
layout_mode = 1
|
||||
offset_left = 8.0
|
||||
offset_top = 8.0
|
||||
@@ -453,7 +547,7 @@ offset_bottom = 48.0
|
||||
scale = Vector2(2, 2)
|
||||
texture = ExtResource("13_1phco")
|
||||
|
||||
[node name="CurrencyLabel" type="Label" parent="CanvasLayer/UIRoot/CurrencyImg"]
|
||||
[node name="CurrencyLabel" type="Label" parent="Hud/UIRoot/CurrencyImg"]
|
||||
layout_mode = 1
|
||||
offset_left = 40.0
|
||||
offset_top = 8.0
|
||||
@@ -462,7 +556,26 @@ offset_bottom = 36.0
|
||||
text = "99999999"
|
||||
label_settings = SubResource("LabelSettings_o5yvi")
|
||||
|
||||
[node name="ShrineHealthImg" type="TextureRect" parent="CanvasLayer/UIRoot"]
|
||||
[node name="Score" type="TextureRect" parent="Hud/UIRoot"]
|
||||
layout_mode = 1
|
||||
offset_left = 1096.0
|
||||
offset_top = 8.0
|
||||
offset_right = 1120.0
|
||||
offset_bottom = 32.0
|
||||
scale = Vector2(2, 2)
|
||||
texture = ExtResource("27_8m3t6")
|
||||
|
||||
[node name="ScoreLabel" type="Label" parent="Hud/UIRoot/Score"]
|
||||
layout_mode = 1
|
||||
offset_left = -228.0
|
||||
offset_top = -2.5
|
||||
offset_right = -2.0
|
||||
offset_bottom = 25.5
|
||||
text = "99999999"
|
||||
label_settings = SubResource("LabelSettings_o5yvi")
|
||||
horizontal_alignment = 2
|
||||
|
||||
[node name="ShrineHealthImg" type="TextureRect" parent="Hud/UIRoot"]
|
||||
self_modulate = Color(1, 0, 0, 1)
|
||||
material = SubResource("ShaderMaterial_nb51f")
|
||||
layout_mode = 1
|
||||
@@ -473,7 +586,7 @@ offset_bottom = 144.0
|
||||
scale = Vector2(2, 2)
|
||||
texture = ExtResource("13_1phco")
|
||||
|
||||
[node name="ShrineHealthLabel" type="Label" parent="CanvasLayer/UIRoot/ShrineHealthImg"]
|
||||
[node name="ShrineHealthLabel" type="Label" parent="Hud/UIRoot/ShrineHealthImg"]
|
||||
layout_mode = 1
|
||||
offset_left = 40.0
|
||||
offset_top = 8.0
|
||||
@@ -482,7 +595,7 @@ offset_bottom = 36.0
|
||||
text = "100%"
|
||||
label_settings = SubResource("LabelSettings_o5yvi")
|
||||
|
||||
[node name="StartWaveBtn" type="Button" parent="CanvasLayer/UIRoot"]
|
||||
[node name="StartWaveBtn" type="Button" parent="Hud/UIRoot"]
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
offset_left = 872.0
|
||||
@@ -492,13 +605,107 @@ offset_bottom = 599.0
|
||||
scale = Vector2(2, 2)
|
||||
text = "Start Next Wave"
|
||||
|
||||
[node name="MusicPLayer" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("26_fkdbe")
|
||||
volume_db = -30.0
|
||||
autoplay = true
|
||||
parameters/looping = true
|
||||
[node name="PauseMenu" type="CanvasLayer" parent="."]
|
||||
process_mode = 3
|
||||
visible = false
|
||||
|
||||
[connection signal="pressed" from="CanvasLayer/UIRoot/GridContainer/Oni" to="TurretController" method="StartPlaceingTurret" binds= [2]]
|
||||
[connection signal="pressed" from="CanvasLayer/UIRoot/GridContainer/Kitsune" to="TurretController" method="StartPlaceingTurret" binds= [0]]
|
||||
[connection signal="pressed" from="CanvasLayer/UIRoot/GridContainer/Tengu" to="TurretController" method="StartPlaceingTurret" binds= [1]]
|
||||
[connection signal="pressed" from="CanvasLayer/UIRoot/StartWaveBtn" to="GameController" method="StartWave"]
|
||||
[node name="Label" type="Label" parent="PauseMenu"]
|
||||
texture_filter = 1
|
||||
anchors_preset = 5
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
offset_left = -128.0
|
||||
offset_top = -22.0
|
||||
offset_right = 128.0
|
||||
offset_bottom = 164.0
|
||||
grow_horizontal = 2
|
||||
text = "一時停止"
|
||||
label_settings = SubResource("LabelSettings_cwurv")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Label2" type="Label" parent="PauseMenu"]
|
||||
texture_filter = 1
|
||||
anchors_preset = 5
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
offset_left = -106.0
|
||||
offset_top = 93.0
|
||||
offset_right = 106.0
|
||||
offset_bottom = 211.0
|
||||
grow_horizontal = 2
|
||||
text = "The game is paused"
|
||||
label_settings = SubResource("LabelSettings_mucmn")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="HFlowContainer" type="HFlowContainer" parent="PauseMenu"]
|
||||
anchors_preset = 7
|
||||
anchor_left = 0.5
|
||||
anchor_top = 1.0
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -147.0
|
||||
offset_top = -122.0
|
||||
offset_right = 147.0
|
||||
offset_bottom = -2.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
alignment = 1
|
||||
|
||||
[node name="Continue" type="TextureButton" parent="PauseMenu/HFlowContainer"]
|
||||
texture_filter = 1
|
||||
custom_minimum_size = Vector2(200, 50)
|
||||
layout_mode = 2
|
||||
texture_normal = ExtResource("27_tgy6u")
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="Label" type="Label" parent="PauseMenu/HFlowContainer/Continue"]
|
||||
texture_filter = 1
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_top = -2.0
|
||||
offset_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
text = "Continue"
|
||||
label_settings = SubResource("LabelSettings_8m3t6")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Menu" type="TextureButton" parent="PauseMenu/HFlowContainer"]
|
||||
texture_filter = 1
|
||||
custom_minimum_size = Vector2(200, 50)
|
||||
layout_mode = 2
|
||||
texture_normal = ExtResource("27_tgy6u")
|
||||
stretch_mode = 5
|
||||
script = ExtResource("29_cwurv")
|
||||
|
||||
[node name="Label" type="Label" parent="PauseMenu/HFlowContainer/Menu"]
|
||||
texture_filter = 1
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_top = -2.0
|
||||
offset_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
text = "Main Menu"
|
||||
label_settings = SubResource("LabelSettings_8m3t6")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[connection signal="mouse_entered" from="Hud/UIRoot/GridContainer/Oni" to="Hud/UIRoot/GridContainer/Oni/Price" method="set_visible" binds= [true]]
|
||||
[connection signal="mouse_exited" from="Hud/UIRoot/GridContainer/Oni" to="Hud/UIRoot/GridContainer/Oni/Price" method="set_visible" binds= [false]]
|
||||
[connection signal="pressed" from="Hud/UIRoot/GridContainer/Oni" to="TurretController" method="StartPlaceingTurret" binds= [2]]
|
||||
[connection signal="mouse_entered" from="Hud/UIRoot/GridContainer/Kitsune" to="Hud/UIRoot/GridContainer/Kitsune/Price" method="set_visible" binds= [true]]
|
||||
[connection signal="mouse_exited" from="Hud/UIRoot/GridContainer/Kitsune" to="Hud/UIRoot/GridContainer/Kitsune/Price" method="set_visible" binds= [false]]
|
||||
[connection signal="pressed" from="Hud/UIRoot/GridContainer/Kitsune" to="TurretController" method="StartPlaceingTurret" binds= [0]]
|
||||
[connection signal="mouse_entered" from="Hud/UIRoot/GridContainer/Tengu" to="Hud/UIRoot/GridContainer/Tengu/Price" method="set_visible" binds= [true]]
|
||||
[connection signal="mouse_exited" from="Hud/UIRoot/GridContainer/Tengu" to="Hud/UIRoot/GridContainer/Tengu/Price" method="set_visible" binds= [false]]
|
||||
[connection signal="pressed" from="Hud/UIRoot/GridContainer/Tengu" to="TurretController" method="StartPlaceingTurret" binds= [1]]
|
||||
[connection signal="pressed" from="Hud/UIRoot/StartWaveBtn" to="GameController" method="StartWave"]
|
||||
[connection signal="pressed" from="PauseMenu/HFlowContainer/Continue" to="PauseManager" method="ContinueGame"]
|
||||
|
||||
@@ -0,0 +1,267 @@
|
||||
[gd_scene load_steps=12 format=3 uid="uid://cof1iapx258cw"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bb6vffiwr24cs" path="res://Assets/Sprites/UI/logokg.png" id="1_1rerr"]
|
||||
[ext_resource type="Texture2D" uid="uid://dudgvn6o3ex" path="res://Assets/Sprites/UI/button.png" id="1_cayip"]
|
||||
[ext_resource type="FontFile" uid="uid://2ojf62uk562d" path="res://Assets/Fonts/DotGothic16-Regular.ttf" id="2_158mb"]
|
||||
[ext_resource type="Script" uid="uid://bsmpt1ig823du" path="res://Scripts/UI/SceneChangerBtn.cs" id="2_jsrd8"]
|
||||
[ext_resource type="Texture2D" uid="uid://2x62ipg12256" path="res://Assets/Sprites/Vfx/particle.png" id="4_158mb"]
|
||||
[ext_resource type="Script" uid="uid://dsjivlkkwvwqs" path="res://Scripts/UI/QuitBtn.gd" id="4_wbdvm"]
|
||||
[ext_resource type="FontFile" uid="uid://b8lsp07ucxq6p" path="res://Assets/Fonts/MintsodaLimeGreen13X16Regular-KVvzA.ttf" id="4_wwsa2"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_wwsa2"]
|
||||
font = ExtResource("2_158mb")
|
||||
font_size = 36
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_jsrd8"]
|
||||
font = ExtResource("4_wwsa2")
|
||||
font_size = 51
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_wbdvm"]
|
||||
font = ExtResource("4_wwsa2")
|
||||
font_size = 26
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_wwsa2"]
|
||||
offsets = PackedFloat32Array(0, 0.6683673, 1)
|
||||
colors = PackedColorArray(0, 0, 0, 0, 4.416, 2.127, 3.729, 1, 1, 1, 1, 0)
|
||||
|
||||
[node name="Menu" type="Node2D"]
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
zoom = Vector2(4, 4)
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="Control" type="Control" parent="CanvasLayer"]
|
||||
texture_filter = 1
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="HFlowContainer" type="VFlowContainer" parent="CanvasLayer/Control"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 7
|
||||
anchor_left = 0.5
|
||||
anchor_top = 1.0
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -100.0
|
||||
offset_top = -244.0
|
||||
offset_right = 100.0
|
||||
offset_bottom = -19.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
alignment = 1
|
||||
last_wrap_alignment = 2
|
||||
|
||||
[node name="Start" type="TextureButton" parent="CanvasLayer/Control/HFlowContainer"]
|
||||
texture_filter = 1
|
||||
custom_minimum_size = Vector2(200, 50)
|
||||
layout_mode = 2
|
||||
texture_normal = ExtResource("1_cayip")
|
||||
stretch_mode = 5
|
||||
script = ExtResource("2_jsrd8")
|
||||
_changeTo = 1
|
||||
|
||||
[node name="Label" type="Label" parent="CanvasLayer/Control/HFlowContainer/Start"]
|
||||
texture_filter = 1
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_top = -2.0
|
||||
offset_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
text = "Start"
|
||||
label_settings = SubResource("LabelSettings_wwsa2")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Settings" type="TextureButton" parent="CanvasLayer/Control/HFlowContainer"]
|
||||
visible = false
|
||||
texture_filter = 1
|
||||
custom_minimum_size = Vector2(200, 50)
|
||||
layout_mode = 2
|
||||
texture_normal = ExtResource("1_cayip")
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="Label" type="Label" parent="CanvasLayer/Control/HFlowContainer/Settings"]
|
||||
texture_filter = 1
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_top = -2.0
|
||||
offset_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
text = "Settings"
|
||||
label_settings = SubResource("LabelSettings_wwsa2")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Credits" type="TextureButton" parent="CanvasLayer/Control/HFlowContainer"]
|
||||
texture_filter = 1
|
||||
custom_minimum_size = Vector2(200, 50)
|
||||
layout_mode = 2
|
||||
texture_normal = ExtResource("1_cayip")
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="Label" type="Label" parent="CanvasLayer/Control/HFlowContainer/Credits"]
|
||||
texture_filter = 1
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_top = -2.0
|
||||
offset_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
text = "Credits"
|
||||
label_settings = SubResource("LabelSettings_wwsa2")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Quit" type="TextureButton" parent="CanvasLayer/Control/HFlowContainer"]
|
||||
texture_filter = 1
|
||||
custom_minimum_size = Vector2(200, 50)
|
||||
layout_mode = 2
|
||||
texture_normal = ExtResource("1_cayip")
|
||||
stretch_mode = 5
|
||||
script = ExtResource("4_wbdvm")
|
||||
|
||||
[node name="Label" type="Label" parent="CanvasLayer/Control/HFlowContainer/Quit"]
|
||||
texture_filter = 1
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_top = -2.0
|
||||
offset_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
text = "Quit"
|
||||
label_settings = SubResource("LabelSettings_wwsa2")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Logo" type="TextureRect" parent="CanvasLayer/Control"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 5
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
offset_left = -368.0
|
||||
offset_top = -38.0
|
||||
offset_right = 368.00006
|
||||
offset_bottom = 422.0
|
||||
grow_horizontal = 2
|
||||
texture = ExtResource("1_1rerr")
|
||||
|
||||
[node name="Credits" type="Control" parent="CanvasLayer/Control"]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Mainmenu" type="TextureButton" parent="CanvasLayer/Control/Credits"]
|
||||
texture_filter = 1
|
||||
custom_minimum_size = Vector2(200, 50)
|
||||
layout_mode = 1
|
||||
anchors_preset = 7
|
||||
anchor_left = 0.5
|
||||
anchor_top = 1.0
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -100.0
|
||||
offset_top = -82.0
|
||||
offset_right = 100.0
|
||||
offset_bottom = -32.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
texture_normal = ExtResource("1_cayip")
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="Label" type="Label" parent="CanvasLayer/Control/Credits/Mainmenu"]
|
||||
texture_filter = 1
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_top = -2.0
|
||||
offset_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
text = "Back"
|
||||
label_settings = SubResource("LabelSettings_wwsa2")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Label" type="Label" parent="CanvasLayer/Control/Credits"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -102.0
|
||||
offset_top = 45.0
|
||||
offset_right = 102.0
|
||||
offset_bottom = 166.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
text = "Credits
|
||||
"
|
||||
label_settings = SubResource("LabelSettings_jsrd8")
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="Label2" type="Label" parent="CanvasLayer/Control/Credits"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -244.0
|
||||
offset_top = 104.0
|
||||
offset_right = 244.0
|
||||
offset_bottom = 266.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
text = "Marumarsu - programming & SFX
|
||||
Sraapfft - art
|
||||
Belzebunny - art
|
||||
Music - music.storyinvention.com
|
||||
"
|
||||
label_settings = SubResource("LabelSettings_wbdvm")
|
||||
|
||||
[node name="CPUParticles2D" type="CPUParticles2D" parent="."]
|
||||
position = Vector2(-4, -84)
|
||||
amount = 32
|
||||
texture = ExtResource("4_158mb")
|
||||
lifetime = 10.0
|
||||
randomness = 1.0
|
||||
lifetime_randomness = 0.31
|
||||
emission_shape = 3
|
||||
emission_rect_extents = Vector2(152.29, 1)
|
||||
spread = 0.0
|
||||
gravity = Vector2(7, 15)
|
||||
angular_velocity_min = -50.0
|
||||
angular_velocity_max = 50.0
|
||||
radial_accel_min = -10.0
|
||||
radial_accel_max = 10.0
|
||||
scale_amount_min = 0.2
|
||||
scale_amount_max = 0.3
|
||||
color = Color(4.415934, 2.1274936, 3.7294016, 1)
|
||||
color_ramp = SubResource("Gradient_wwsa2")
|
||||
|
||||
[connection signal="pressed" from="CanvasLayer/Control/HFlowContainer/Credits" to="CanvasLayer/Control/HFlowContainer" method="set_visible" binds= [false]]
|
||||
[connection signal="pressed" from="CanvasLayer/Control/HFlowContainer/Credits" to="CanvasLayer/Control/Credits" method="set_visible" binds= [true]]
|
||||
[connection signal="pressed" from="CanvasLayer/Control/HFlowContainer/Quit" to="CanvasLayer/Control/HFlowContainer/Quit" method="_on_QuitButton_pressed"]
|
||||
[connection signal="pressed" from="CanvasLayer/Control/Credits/Mainmenu" to="CanvasLayer/Control/HFlowContainer" method="set_visible" binds= [true]]
|
||||
[connection signal="pressed" from="CanvasLayer/Control/Credits/Mainmenu" to="CanvasLayer/Control/Credits" method="set_visible" binds= [false]]
|
||||
Reference in New Issue
Block a user