Adds some polishing and bg music

This commit is contained in:
2024-10-07 00:33:18 +02:00
parent 7288d0e658
commit 4f1cd8ffab
31 changed files with 578 additions and 48 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=12 format=3 uid="uid://decsef3jj3lt5"]
[gd_scene load_steps=15 format=3 uid="uid://decsef3jj3lt5"]
[ext_resource type="Script" path="res://game.gd" id="1_bhcvq"]
[ext_resource type="PackedScene" uid="uid://bhvihrt8dipll" path="res://Scenes/Button/button.tscn" id="1_j4pve"]
@@ -7,6 +7,9 @@
[ext_resource type="Script" path="res://camera_2d.gd" id="4_u8t00"]
[ext_resource type="Script" path="res://Scenes/dialog.gd" id="7_64bvv"]
[ext_resource type="FontFile" uid="uid://dr1wo1inm6yfw" path="res://Assets/Seven Segment.ttf" id="7_ydsit"]
[ext_resource type="AudioStream" uid="uid://gl8rjilyleca" path="res://Assets/Music/8bar1.wav" id="8_837jh"]
[ext_resource type="AudioStream" uid="uid://ceu18tf3l4bio" path="res://Assets/Music/4bar.wav" id="9_iourf"]
[ext_resource type="AudioStream" uid="uid://d25p5e1skh15i" path="res://Assets/Music/8bar2.wav" id="10_05o5g"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_sesmb"]
size = Vector2(995, 433.534)
@@ -27,6 +30,7 @@ shader_parameter/Noise = SubResource("NoiseTexture2D_0s1i7")
[node name="Game" type="Node2D"]
process_mode = 3
script = ExtResource("1_bhcvq")
INIT_COLOR = Color(0.623529, 0.14902, 0.184314, 0.313726)
[node name="CanvasLayer" type="CanvasLayer" parent="."]
layer = -1
@@ -36,13 +40,15 @@ follow_viewport_enabled = true
z_index = -2
offset_right = 1150.0
offset_bottom = 650.0
color = Color(0.0885599, 0.0885599, 0.0885599, 1)
[node name="DamageColorOverlay" type="ColorRect" parent="CanvasLayer"]
unique_name_in_owner = true
top_level = true
offset_right = 1152.0
offset_bottom = 654.0
scale = Vector2(1.00712, 1.00483)
color = Color(0.623529, 0.14902, 0.184314, 0.592157)
color = Color(0.623529, 0.14902, 0.184314, 0.313726)
[node name="Label" type="Label" parent="CanvasLayer"]
z_index = 10
@@ -71,35 +77,35 @@ scale = Vector2(0.397971, 0.397971)
texture = ExtResource("3_hovne")
[node name="A" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
position = Vector2(861, 566)
position = Vector2(903, 577)
input_name = "A"
[node name="DOWN" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
position = Vector2(222, 577)
position = Vector2(232, 573)
input_name = "DOWN"
[node name="UP" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
position = Vector2(223, 381)
position = Vector2(246, 343)
input_name = "UP"
[node name="RIGHT" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
position = Vector2(350, 476)
position = Vector2(337, 453)
input_name = "RIGHT"
[node name="LEFT" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
position = Vector2(104, 471)
position = Vector2(118, 458)
input_name = "LEFT"
[node name="Y" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
position = Vector2(861, 381)
position = Vector2(905, 343)
input_name = "Y"
[node name="X" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
position = Vector2(766, 473)
position = Vector2(798, 453)
input_name = "X"
[node name="B" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
position = Vector2(973, 476)
position = Vector2(1031, 453)
input_name = "B"
[node name="SpawnArea" type="Area2D" parent="."]
@@ -120,6 +126,24 @@ position = Vector2(574, 326)
script = ExtResource("4_u8t00")
randomStrength = 10.0
[node name="Dialog" type="CanvasLayer" parent="Camera2D"]
unique_name_in_owner = true
follow_viewport_enabled = true
script = ExtResource("7_64bvv")
d_file = "res://Assets/dialogs.json"
[node name="Text" type="RichTextLabel" parent="Camera2D/Dialog"]
offset_left = 362.0
offset_top = 103.0
offset_right = 1089.0
offset_bottom = 328.0
scale = Vector2(0.624223, 0.607973)
theme_override_colors/default_color = Color(0.299668, 0.801919, 0.469303, 1)
theme_override_fonts/normal_font = ExtResource("7_ydsit")
theme_override_font_sizes/normal_font_size = 49
text = "Text"
custom_effects = [null]
[node name="shader" type="ColorRect" parent="."]
visible = false
top_level = true
@@ -127,21 +151,17 @@ material = SubResource("ShaderMaterial_ob5l5")
offset_right = 1177.0
offset_bottom = 668.0
[node name="Dialog" type="CanvasLayer" parent="."]
script = ExtResource("7_64bvv")
d_file = "res://Assets/dialogs.json"
[node name="8bart1" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("8_837jh")
[node name="Text" type="RichTextLabel" parent="Dialog"]
offset_left = 362.0
offset_top = 103.0
offset_right = 1089.0
offset_bottom = 269.0
scale = Vector2(0.624223, 0.607973)
theme_override_colors/default_color = Color(0.299668, 0.801919, 0.469303, 1)
theme_override_fonts/normal_font = ExtResource("7_ydsit")
theme_override_font_sizes/normal_font_size = 81
text = "Text"
custom_effects = [null]
[node name="Intro4Bar" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("9_iourf")
autoplay = true
[node name="Intense" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("10_05o5g")
[connection signal="timeout" from="SpawnTimer" to="." method="_on_spawn_timer_timeout"]
[connection signal="dialogue_over" from="Dialog" to="." method="_on_dialog_dialogue_over"]
[connection signal="dialogue_over" from="Camera2D/Dialog" to="." method="_on_dialog_dialogue_over"]
[connection signal="finished" from="8bart1" to="." method="_on_bart_1_finished"]
[connection signal="finished" from="Intro4Bar" to="." method="_on_intro_4_bar_finished"]