100 lines
2.8 KiB
Text
100 lines
2.8 KiB
Text
[gd_scene load_steps=7 format=3 uid="uid://c1imokv4f3shm"]
|
|
|
|
[ext_resource type="Shader" uid="uid://bk7q00br1ms30" path="res://scripts/retro.gdshader" id="1_ir5ef"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_yc7uc"]
|
|
bg_color = Color(0, 0, 0, 1)
|
|
border_width_left = 8
|
|
border_width_top = 8
|
|
border_width_right = 8
|
|
border_width_bottom = 8
|
|
border_color = Color(1, 1, 1, 1)
|
|
corner_detail = 1
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_dhqfv"]
|
|
font_size = 64
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_ir5ef"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_dhqfv"]
|
|
bg_color = Color(1, 1, 1, 1)
|
|
corner_detail = 1
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_101rs"]
|
|
shader = ExtResource("1_ir5ef")
|
|
shader_parameter/shake = 0.002000000095
|
|
shader_parameter/noiseQuality = 250.0
|
|
shader_parameter/noiseIntensity = 0.0010000000475
|
|
shader_parameter/offsetIntensity = 0.0045
|
|
shader_parameter/colorOffsetIntensity = 0.10000000149012
|
|
shader_parameter/pixelSize = 1024.0
|
|
shader_parameter/grainIntensity = 0.04
|
|
shader_parameter/use_overlay = true
|
|
shader_parameter/use_lens_distortion = true
|
|
shader_parameter/overlay_color = Color(1, 1, 1, 10)
|
|
shader_parameter/lens_distortion_strength = 0.0
|
|
|
|
[node name="Loading" type="Node2D"]
|
|
|
|
[node name="UI" type="CanvasLayer" parent="."]
|
|
|
|
[node name="Control" type="Control" parent="UI"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="Panel" type="Panel" parent="UI/Control"]
|
|
custom_minimum_size = Vector2(640, 240)
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -20.0
|
|
offset_top = -20.0
|
|
offset_right = 20.0
|
|
offset_bottom = 20.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_yc7uc")
|
|
|
|
[node name="Label" type="Label" parent="UI/Control/Panel"]
|
|
custom_minimum_size = Vector2(0, 128)
|
|
layout_mode = 1
|
|
anchors_preset = 10
|
|
anchor_right = 1.0
|
|
offset_bottom = 24.0
|
|
grow_horizontal = 2
|
|
text = "LOAD"
|
|
label_settings = SubResource("LabelSettings_dhqfv")
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="ProgressBar" type="ProgressBar" parent="UI/Control/Panel"]
|
|
layout_mode = 1
|
|
anchors_preset = -1
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 32.0
|
|
offset_top = 128.0
|
|
offset_right = -32.0
|
|
offset_bottom = -32.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
theme_override_styles/background = SubResource("StyleBoxEmpty_ir5ef")
|
|
theme_override_styles/fill = SubResource("StyleBoxFlat_dhqfv")
|
|
value = 50.0
|
|
show_percentage = false
|
|
|
|
[node name="Shader" type="ColorRect" parent="UI"]
|
|
material = SubResource("ShaderMaterial_101rs")
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
color = Color(1, 1, 1, 0)
|