ile-de-test/scenes/interface/loading_screen.tscn

54 lines
1.5 KiB
Text

[gd_scene load_steps=5 format=3 uid="uid://bcgyiblimtc1f"]
[ext_resource type="Script" path="res://script/interface/loading_screen.gd" id="1_hs5ji"]
[ext_resource type="Texture2D" uid="uid://dp4wmmkbfc6fk" path="res://assets/background/khanat_sound_cover_bg.png" id="1_wv5f3"]
[sub_resource type="Animation" id="Animation_je5hb"]
resource_name = "fade_out"
tracks/0/type = "method"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(1),
"transitions": PackedFloat32Array(1),
"values": [{
"args": [&"safe_to_load"],
"method": &"emit_signal"
}]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_sp1ii"]
_data = {
"fade_out": SubResource("Animation_je5hb")
}
[node name="loading_screen" type="CanvasGroup"]
script = ExtResource("1_hs5ji")
[node name="animation_progressBar" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_sp1ii")
}
autoplay = "fade_out"
[node name="control_background" type="Control" parent="."]
layout_mode = 3
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="texture_background" type="TextureRect" parent="control_background"]
layout_mode = 0
offset_right = 1280.0
offset_bottom = 720.0
texture = ExtResource("1_wv5f3")
[node name="progressBar" type="ProgressBar" parent="control_background"]
layout_mode = 0
offset_left = 143.0
offset_top = 465.0
offset_right = 493.0
offset_bottom = 492.0