2024-10-06 20:14:51 +00:00
|
|
|
[gd_scene load_steps=12 format=3 uid="uid://decsef3jj3lt5"]
|
2024-10-05 10:39:19 +00:00
|
|
|
|
2024-10-05 15:57:40 +00:00
|
|
|
[ext_resource type="Script" path="res://game.gd" id="1_bhcvq"]
|
2024-10-06 13:57:47 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://bhvihrt8dipll" path="res://Scenes/Button/button.tscn" id="1_j4pve"]
|
2024-10-06 19:08:32 +00:00
|
|
|
[ext_resource type="Shader" path="res://game.gdshader" id="2_k6uao"]
|
2024-10-06 20:14:51 +00:00
|
|
|
[ext_resource type="Texture2D" uid="uid://b4d0kcmvv4qcx" path="res://Scenes/background.png" id="3_hovne"]
|
2024-10-06 17:38:16 +00:00
|
|
|
[ext_resource type="Script" path="res://camera_2d.gd" id="4_u8t00"]
|
2024-10-06 20:14:51 +00:00
|
|
|
[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"]
|
2024-10-05 10:39:19 +00:00
|
|
|
|
2024-10-05 15:57:40 +00:00
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_sesmb"]
|
2024-10-06 12:18:16 +00:00
|
|
|
size = Vector2(995, 433.534)
|
2024-10-05 15:57:40 +00:00
|
|
|
|
2024-10-06 19:08:32 +00:00
|
|
|
[sub_resource type="FastNoiseLite" id="FastNoiseLite_rpvun"]
|
|
|
|
|
|
|
|
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_0s1i7"]
|
|
|
|
seamless = true
|
|
|
|
seamless_blend_skirt = 0.279
|
|
|
|
noise = SubResource("FastNoiseLite_rpvun")
|
|
|
|
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ob5l5"]
|
|
|
|
shader = ExtResource("2_k6uao")
|
|
|
|
shader_parameter/Transparency = 3.0
|
|
|
|
shader_parameter/Slow = 25.0
|
|
|
|
shader_parameter/Noise = SubResource("NoiseTexture2D_0s1i7")
|
|
|
|
|
2024-10-05 10:39:19 +00:00
|
|
|
[node name="Game" type="Node2D"]
|
2024-10-05 20:09:04 +00:00
|
|
|
process_mode = 3
|
2024-10-05 15:57:40 +00:00
|
|
|
script = ExtResource("1_bhcvq")
|
|
|
|
|
|
|
|
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
|
|
|
layer = -1
|
|
|
|
follow_viewport_enabled = true
|
|
|
|
|
|
|
|
[node name="BackgroundColor" type="ColorRect" parent="CanvasLayer"]
|
|
|
|
z_index = -2
|
|
|
|
offset_right = 1150.0
|
|
|
|
offset_bottom = 650.0
|
|
|
|
|
|
|
|
[node name="DamageColorOverlay" type="ColorRect" parent="CanvasLayer"]
|
|
|
|
unique_name_in_owner = 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)
|
2024-10-05 10:39:19 +00:00
|
|
|
|
2024-10-06 17:38:16 +00:00
|
|
|
[node name="Label" type="Label" parent="CanvasLayer"]
|
2024-10-06 20:14:51 +00:00
|
|
|
z_index = 10
|
2024-10-06 17:38:16 +00:00
|
|
|
anchors_preset = 5
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_right = 0.5
|
2024-10-06 20:14:51 +00:00
|
|
|
offset_left = -133.0
|
|
|
|
offset_top = 510.0
|
|
|
|
offset_right = 39.0
|
|
|
|
offset_bottom = 609.0
|
2024-10-06 17:38:16 +00:00
|
|
|
grow_horizontal = 2
|
2024-10-06 20:14:51 +00:00
|
|
|
scale = Vector2(1.44085, 0.87726)
|
2024-10-06 17:38:16 +00:00
|
|
|
size_flags_horizontal = 8
|
2024-10-06 20:14:51 +00:00
|
|
|
theme_override_colors/font_color = Color(0, 1, 0, 1)
|
|
|
|
theme_override_fonts/font = ExtResource("7_ydsit")
|
|
|
|
theme_override_font_sizes/font_size = 65
|
2024-10-06 17:38:16 +00:00
|
|
|
text = "0"
|
|
|
|
horizontal_alignment = 1
|
|
|
|
|
2024-10-06 20:14:51 +00:00
|
|
|
[node name="TextureRect" type="TextureRect" parent="CanvasLayer"]
|
|
|
|
offset_left = -13.0
|
|
|
|
offset_top = -288.0
|
|
|
|
offset_right = 2987.0
|
|
|
|
offset_bottom = 2712.0
|
|
|
|
scale = Vector2(0.397971, 0.397971)
|
|
|
|
texture = ExtResource("3_hovne")
|
2024-10-06 19:08:32 +00:00
|
|
|
|
2024-10-05 10:39:19 +00:00
|
|
|
[node name="A" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
|
2024-10-06 20:14:51 +00:00
|
|
|
position = Vector2(861, 566)
|
2024-10-05 10:39:19 +00:00
|
|
|
input_name = "A"
|
|
|
|
|
2024-10-06 12:18:16 +00:00
|
|
|
[node name="DOWN" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
|
2024-10-06 20:14:51 +00:00
|
|
|
position = Vector2(222, 577)
|
2024-10-06 12:18:16 +00:00
|
|
|
input_name = "DOWN"
|
|
|
|
|
|
|
|
[node name="UP" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
|
2024-10-06 20:14:51 +00:00
|
|
|
position = Vector2(223, 381)
|
2024-10-06 12:18:16 +00:00
|
|
|
input_name = "UP"
|
|
|
|
|
|
|
|
[node name="RIGHT" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
|
2024-10-06 20:14:51 +00:00
|
|
|
position = Vector2(350, 476)
|
2024-10-06 12:18:16 +00:00
|
|
|
input_name = "RIGHT"
|
|
|
|
|
|
|
|
[node name="LEFT" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
|
2024-10-06 20:14:51 +00:00
|
|
|
position = Vector2(104, 471)
|
2024-10-06 12:18:16 +00:00
|
|
|
input_name = "LEFT"
|
|
|
|
|
2024-10-05 15:57:40 +00:00
|
|
|
[node name="Y" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
|
2024-10-06 20:14:51 +00:00
|
|
|
position = Vector2(861, 381)
|
2024-10-05 15:57:40 +00:00
|
|
|
input_name = "Y"
|
|
|
|
|
|
|
|
[node name="X" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
|
2024-10-06 20:14:51 +00:00
|
|
|
position = Vector2(766, 473)
|
2024-10-05 15:57:40 +00:00
|
|
|
input_name = "X"
|
|
|
|
|
2024-10-05 20:09:04 +00:00
|
|
|
[node name="B" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
|
2024-10-06 20:14:51 +00:00
|
|
|
position = Vector2(973, 476)
|
2024-10-05 10:39:19 +00:00
|
|
|
input_name = "B"
|
2024-10-05 15:57:40 +00:00
|
|
|
|
|
|
|
[node name="SpawnArea" type="Area2D" parent="."]
|
2024-10-06 19:08:32 +00:00
|
|
|
visible = false
|
2024-10-05 20:09:04 +00:00
|
|
|
scale = Vector2(1, 1.02189)
|
2024-10-05 15:57:40 +00:00
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="SpawnArea"]
|
2024-10-06 12:18:16 +00:00
|
|
|
position = Vector2(569.5, 378.233)
|
2024-10-05 15:57:40 +00:00
|
|
|
shape = SubResource("RectangleShape2D_sesmb")
|
|
|
|
debug_color = Color(0, 0.6, 0.701961, 0.14902)
|
2024-10-05 20:09:04 +00:00
|
|
|
|
|
|
|
[node name="SpawnTimer" type="Timer" parent="."]
|
|
|
|
wait_time = 0.5
|
2024-10-06 13:57:47 +00:00
|
|
|
|
2024-10-06 17:38:16 +00:00
|
|
|
[node name="Camera2D" type="Camera2D" parent="."]
|
|
|
|
position = Vector2(574, 326)
|
|
|
|
script = ExtResource("4_u8t00")
|
|
|
|
randomStrength = 10.0
|
|
|
|
|
2024-10-06 19:08:32 +00:00
|
|
|
[node name="shader" type="ColorRect" parent="."]
|
|
|
|
visible = false
|
|
|
|
top_level = true
|
|
|
|
material = SubResource("ShaderMaterial_ob5l5")
|
|
|
|
offset_right = 1177.0
|
|
|
|
offset_bottom = 668.0
|
|
|
|
|
2024-10-06 20:14:51 +00:00
|
|
|
[node name="Dialog" type="CanvasLayer" parent="."]
|
|
|
|
script = ExtResource("7_64bvv")
|
|
|
|
d_file = "res://Assets/dialogs.json"
|
|
|
|
|
|
|
|
[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]
|
|
|
|
|
2024-10-06 19:08:32 +00:00
|
|
|
[connection signal="timeout" from="SpawnTimer" to="." method="_on_spawn_timer_timeout"]
|
2024-10-06 20:14:51 +00:00
|
|
|
[connection signal="dialogue_over" from="Dialog" to="." method="_on_dialog_dialogue_over"]
|