Релиз

This commit is contained in:
Евгений Титаренко 2024-08-25 23:12:57 +03:00
parent 920f05b3a3
commit 4df78a4ccf
8 changed files with 204 additions and 5 deletions

View file

@ -55,7 +55,7 @@ stream_0 = ExtResource("10_bwdem")
[node name="Test" type="Node2D"]
script = ExtResource("1_ii8yu")
NextScene = "Menu"
NextScene = "End"
IsEngineDisabled = false
[node name="Sprite2D" type="Sprite2D" parent="."]

View file

@ -39,9 +39,10 @@ offset_left = -160.0
offset_top = -120.0
offset_right = 160.0
offset_bottom = 120.0
color = Color(0, 0, 0, 0)
color = Color(0, 0, 0, 1)
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = SubResource("AudioStreamPlaylist_5mfcs")
volume_db = -40.0
autoplay = true
bus = &"Music"

69
scenes/TheEnd.tscn Normal file
View file

@ -0,0 +1,69 @@
[gd_scene load_steps=6 format=3 uid="uid://1cbr4hkp06gi"]
[ext_resource type="Script" path="res://scripts/TheEnd.cs" id="1_e2ali"]
[ext_resource type="Texture2D" uid="uid://df3sxyo0xp880" path="res://resources/sprites/ui/theend.png" id="2_io7t6"]
[ext_resource type="FontFile" uid="uid://dwn20pw40jpxm" path="res://fonts/ZxSpectrum7-nROZ0.ttf" id="3_m0xo0"]
[ext_resource type="AudioStream" uid="uid://be35iuapayv0u" path="res://resources/music/Day1.wav" id="4_4fjbh"]
[sub_resource type="AudioStreamPlaylist" id="AudioStreamPlaylist_5mfcs"]
stream_count = 1
stream_0 = ExtResource("4_4fjbh")
[node name="TheEnd" type="Node2D"]
script = ExtResource("1_e2ali")
[node name="Camera2D" type="Camera2D" parent="."]
zoom = Vector2(2, 2)
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("2_io7t6")
[node name="Label" type="Label" parent="."]
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -56.0
offset_top = 24.0
offset_right = 56.0
offset_bottom = 44.0
grow_horizontal = 2
theme_override_fonts/font = ExtResource("3_m0xo0")
theme_override_font_sizes/font_size = 25
text = "THE END"
[node name="Label2" type="Label" parent="."]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -136.0
offset_top = -101.5
offset_right = 136.0
offset_bottom = -26.5
grow_horizontal = 2
grow_vertical = 2
theme_override_fonts/font = ExtResource("3_m0xo0")
theme_override_font_sizes/font_size = 10
text = "The submarine went radio
silent for six days. The last
signal received by HQ contained nothing
but the mumblings of the captain.
Operation \"The Unnameable\"
was canned until better times."
horizontal_alignment = 1
[node name="ColorRect" type="ColorRect" parent="."]
visible = false
offset_left = -160.0
offset_top = -120.0
offset_right = 160.0
offset_bottom = 120.0
color = Color(0, 0, 0, 1)
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = SubResource("AudioStreamPlaylist_5mfcs")
volume_db = -40.0
autoplay = true
bus = &"Music"