Code reorganizing

This commit is contained in:
Maurane
2026-02-24 18:01:23 +01:00
parent 450d372775
commit a9698155fa
52 changed files with 1458 additions and 679 deletions
+15
View File
@@ -0,0 +1,15 @@
extends CanvasLayer
@onready var intro_text_container = $MarginContainer/IntroBoxContainer/TextContainer
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
#Hiding everything
self.hide()
for node in intro_text_container.get_children():
node.hide()
$MarginContainer/IntroBoxContainer/Header.hide()
$Day.hide()
+1
View File
@@ -0,0 +1 @@
uid://t5hihricayvb
+190
View File
@@ -0,0 +1,190 @@
[gd_scene load_steps=3 format=3 uid="uid://igkl2384rxt1"]
[ext_resource type="Script" uid="uid://t5hihricayvb" path="res://Scenes/text_screen/text_screens.gd" id="1_16laq"]
[ext_resource type="FontFile" uid="uid://dv8ppra5tgn1t" path="res://Art/Fonts/PixelatedEleganceRegular-ovyAA.ttf" id="4_fhc1y"]
[node name="TextScreens" type="CanvasLayer"]
layer = 0
script = ExtResource("1_16laq")
[node name="Background" type="ColorRect" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0, 0, 0, 1)
[node name="MarginContainer" type="MarginContainer" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 100
theme_override_constants/margin_top = 100
theme_override_constants/margin_right = 100
theme_override_constants/margin_bottom = 100
[node name="IntroBoxContainer" type="BoxContainer" parent="MarginContainer"]
layout_mode = 2
vertical = true
[node name="Header" type="RichTextLabel" parent="MarginContainer/IntroBoxContainer"]
clip_contents = false
custom_minimum_size = Vector2(10, 0)
layout_mode = 2
size_flags_vertical = 3
size_flags_stretch_ratio = 0.2
theme_override_font_sizes/normal_font_size = 30
theme_override_font_sizes/bold_font_size = 30
theme_override_font_sizes/bold_italics_font_size = 30
theme_override_font_sizes/italics_font_size = 30
theme_override_font_sizes/mono_font_size = 30
text = "French Republic, Paris, October 12th 2053
78 days since the Abnormality"
tab_size = 8
[node name="Separator" type="RichTextLabel" parent="MarginContainer/IntroBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
size_flags_stretch_ratio = 0.2
[node name="TextContainer" type="MarginContainer" parent="MarginContainer/IntroBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
[node name="TextIntro1" type="RichTextLabel" parent="MarginContainer/IntroBoxContainer/TextContainer"]
clip_contents = false
custom_minimum_size = Vector2(10, 0)
layout_mode = 2
theme_override_font_sizes/normal_font_size = 30
theme_override_font_sizes/bold_font_size = 30
theme_override_font_sizes/bold_italics_font_size = 30
theme_override_font_sizes/italics_font_size = 30
theme_override_font_sizes/mono_font_size = 30
text = "It's been almost 3 months already since it all began.
We thought it as a mere pandemic, yet another crisis amongst the dozens we had to bear for the past decade.
A few hundred thousand deaths, twice the governmental lies, thrice the social media memes.
Add in a pinch of conspiracy, season abundantly with senseless blaming, and the media would eventually move on to the next money-grabbing controversy.
How i wish we still lived in those times."
tab_size = 8
[node name="TextIntro2" type="RichTextLabel" parent="MarginContainer/IntroBoxContainer/TextContainer"]
clip_contents = false
custom_minimum_size = Vector2(10, 0)
layout_mode = 2
theme_override_font_sizes/normal_font_size = 30
theme_override_font_sizes/bold_font_size = 30
theme_override_font_sizes/bold_italics_font_size = 30
theme_override_font_sizes/italics_font_size = 30
theme_override_font_sizes/mono_font_size = 30
bbcode_enabled = true
text = "The nightmares came first. Whispers from afar, soft, humming, comforting even. Slowly seeping into one's mind.
And then, the unexplainable. Things that the mind cannot comprehend, cannot write nor speak.
The [i]Abnormal[/i].
Those with severe mental illnesses were the most vulnerable to It.
Every trained psychiatrist from Saigon to Paris swiftly waltzed to the afterlife last month, murdered by the very patients they were trying to help.
Deaths unbearable to witness, corpses disfigured beyond any rationality.
10 days ago, it started happening to the sane.
"
tab_size = 8
[node name="TextIntro3" type="RichTextLabel" parent="MarginContainer/IntroBoxContainer/TextContainer"]
clip_contents = false
custom_minimum_size = Vector2(10, 0)
layout_mode = 2
theme_override_font_sizes/normal_font_size = 30
theme_override_font_sizes/bold_font_size = 30
theme_override_font_sizes/bold_italics_font_size = 30
theme_override_font_sizes/italics_font_size = 30
theme_override_font_sizes/mono_font_size = 30
bbcode_enabled = true
text = "Military curfew all around the globe.
Containment attempts by the governments, even though It seems to propagate regardless of any safety measure.
Mass executions.
I don't watch the news anymore.
Disinformation was a delicacy in times of boredom, now it tastes somewhere between bitter resentment and sour resignation.
Maybe science can save us. Probably not, but we have to believe. I have to believe. What other choice is there ?
"
tab_size = 8
[node name="TextIntro4" type="RichTextLabel" parent="MarginContainer/IntroBoxContainer/TextContainer"]
clip_contents = false
custom_minimum_size = Vector2(10, 0)
layout_mode = 2
theme_override_font_sizes/normal_font_size = 30
theme_override_font_sizes/bold_font_size = 30
theme_override_font_sizes/bold_italics_font_size = 30
theme_override_font_sizes/italics_font_size = 30
theme_override_font_sizes/mono_font_size = 30
bbcode_enabled = true
text = "I applied to help with psychiatric research, in a perhaps futile attempt to help.
Since every senior psychiatrist teleported to the afterlife, all we were given was a 2-weeks crash course before getting hurled to the frontlines.
I am to screen the patients. Separate the Abnormals from the normally insane.
Filter the acceptably unhinged from the anomalously disturbed.
So we may dissect the ones for research, and execute the others for safety."
tab_size = 8
[node name="TextIntro5" type="RichTextLabel" parent="MarginContainer/IntroBoxContainer/TextContainer"]
clip_contents = false
custom_minimum_size = Vector2(10, 0)
layout_mode = 2
theme_override_font_sizes/normal_font_size = 30
theme_override_font_sizes/bold_font_size = 30
theme_override_font_sizes/bold_italics_font_size = 30
theme_override_font_sizes/italics_font_size = 30
theme_override_font_sizes/mono_font_size = 30
bbcode_enabled = true
text = "I am not qualified.
I do not belong.
And yet I have to try.
For in these times of strife, I finally get to [i]matter[/i]."
tab_size = 8
[node name="Day" type="RichTextLabel" parent="."]
visible = false
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -240.0
offset_top = -105.5
offset_right = 240.0
offset_bottom = 105.5
grow_horizontal = 2
grow_vertical = 2
theme_override_fonts/normal_font = ExtResource("4_fhc1y")
theme_override_font_sizes/normal_font_size = 100
bbcode_enabled = true