* Changement de l'UI, ajouts de l'inspecteur par carte et changement de police * Ajout d'un semblant d'exploration * Ajout de la sauvegarde des entités * Restructuration mineure de l'arborescence * Fix divers et réécriture des textes
175 lines
5.2 KiB
Plaintext
175 lines
5.2 KiB
Plaintext
[gd_scene load_steps=13 format=3 uid="uid://fnv0qhkh40mv"]
|
|
|
|
[ext_resource type="Theme" uid="uid://bgcmd213j6gk1" path="res://gui/ressources/default_theme.tres" id="1_0ssee"]
|
|
[ext_resource type="Script" uid="uid://bvb4v66bqteuc" path="res://gui/game/announce/scripts/announce.gd" id="1_4evne"]
|
|
[ext_resource type="FontFile" uid="uid://cpnsnrqhfkj3k" path="res://gui/ressources/fonts/spincycle_ot.otf" id="2_yrhd4"]
|
|
[ext_resource type="LabelSettings" uid="uid://dqwayi8yjwau2" path="res://gui/ressources/title_label_settings.tres" id="3_7nrno"]
|
|
[ext_resource type="AudioStream" uid="uid://ccq04ahrwr3bv" path="res://gui/game/announce/assets/sfx/alarm.wav" id="5_iwcrn"]
|
|
[ext_resource type="AudioStream" uid="uid://d1cpi438ep0ys" path="res://gui/game/announce/assets/sfx/quota_announcement.wav" id="6_oh30d"]
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_vbart"]
|
|
font = ExtResource("2_yrhd4")
|
|
font_size = 50
|
|
|
|
[sub_resource type="Gradient" id="Gradient_id0t5"]
|
|
interpolation_mode = 1
|
|
offsets = PackedFloat32Array(0, 0.115169, 0.41573, 0.620786, 0.924157)
|
|
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1)
|
|
|
|
[sub_resource type="GradientTexture2D" id="GradientTexture2D_mnweq"]
|
|
gradient = SubResource("Gradient_id0t5")
|
|
fill_to = Vector2(1, 1)
|
|
repeat = 1
|
|
|
|
[sub_resource type="Animation" id="Animation_ok3ge"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:visible")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [false]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("VBoxContainer/AnnounceTexture:custom_minimum_size")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector2(0, 0)]
|
|
}
|
|
tracks/2/type = "value"
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/path = NodePath("VBoxContainer:modulate")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Color(1, 1, 1, 0)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_871vo"]
|
|
resource_name = "pass"
|
|
length = 4.0
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:visible")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.0333333, 3.96667, 4),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
|
"update": 1,
|
|
"values": [false, true, true, false]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("VBoxContainer/AnnounceTexture:custom_minimum_size")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0.0666667, 0.433333, 3.5, 3.96667),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
|
"update": 0,
|
|
"values": [Vector2(0, 0), Vector2(0, 65), Vector2(0, 65), Vector2(0, 0)]
|
|
}
|
|
tracks/2/type = "value"
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/path = NodePath("VBoxContainer:modulate")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/keys = {
|
|
"times": PackedFloat32Array(0.0666667, 0.133333, 3.86667, 3.96667),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
|
"update": 0,
|
|
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1), Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_dvva5"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_ok3ge"),
|
|
&"pass": SubResource("Animation_871vo")
|
|
}
|
|
|
|
[node name="Announce" type="Control"]
|
|
visible = false
|
|
clip_contents = true
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
script = ExtResource("1_4evne")
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
modulate = Color(1, 1, 1, 0)
|
|
clip_contents = true
|
|
layout_mode = 1
|
|
anchors_preset = 14
|
|
anchor_top = 0.5
|
|
anchor_right = 1.0
|
|
anchor_bottom = 0.5
|
|
offset_top = -73.5
|
|
offset_bottom = 73.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
theme = ExtResource("1_0ssee")
|
|
alignment = 1
|
|
|
|
[node name="AnnounceTitle" type="Label" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
text = "New Quota"
|
|
label_settings = SubResource("LabelSettings_vbart")
|
|
horizontal_alignment = 1
|
|
|
|
[node name="AnnounceTexture" type="TextureRect" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
modulate = Color(0.886275, 0.623529, 0.196078, 1)
|
|
layout_mode = 2
|
|
mouse_filter = 2
|
|
texture = SubResource("GradientTexture2D_mnweq")
|
|
expand_mode = 1
|
|
stretch_mode = 1
|
|
|
|
[node name="AnnounceText" type="Label" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
text = "Decontaminate 50 unit in 10 days"
|
|
label_settings = ExtResource("3_7nrno")
|
|
horizontal_alignment = 1
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
unique_name_in_owner = true
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_dvva5")
|
|
}
|
|
|
|
[node name="Alarm" type="AudioStreamPlayer" parent="."]
|
|
unique_name_in_owner = true
|
|
stream = ExtResource("5_iwcrn")
|
|
volume_db = -7.668
|
|
|
|
[node name="Announce" type="AudioStreamPlayer" parent="."]
|
|
unique_name_in_owner = true
|
|
stream = ExtResource("6_oh30d")
|
|
volume_db = -7.668
|