[gd_scene load_steps=12 format=3 uid="uid://c50u1lwpif73i"] [ext_resource type="Script" path="res://autoload/scene_manager/script/scene_manager.gd" id="1_q8xsu"] [ext_resource type="Shader" path="res://res/shader/change_scene.gdshader" id="2_dbqpg"] [sub_resource type="Gradient" id="Gradient_mo3jy"] [sub_resource type="GradientTexture2D" id="GradientTexture2D_keqt8"] gradient = SubResource("Gradient_mo3jy") width = 1920 height = 1080 fill_from = Vector2(0, 0.5) fill_to = Vector2(1, 0.5) [sub_resource type="ShaderMaterial" id="ShaderMaterial_8n216"] shader = ExtResource("2_dbqpg") shader_parameter/cutoff = 1.0 shader_parameter/smooth_size = null shader_parameter/mask = SubResource("GradientTexture2D_keqt8") [sub_resource type="Animation" id="Animation_xlhdq"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("ColorRect:material:shader_parameter/cutoff") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [1.0] } [sub_resource type="Animation" id="Animation_ftmeh"] resource_name = "open" length = 0.3 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("ColorRect:material:shader_parameter/cutoff") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.3), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [1.0, 0.0] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_pcb11"] _data = { "RESET": SubResource("Animation_xlhdq"), "open": SubResource("Animation_ftmeh") } [sub_resource type="Animation" id="Animation_nhee0"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("ColorRect/HBoxContainer:modulate") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Color(1, 1, 1, 1)] } [sub_resource type="Animation" id="Animation_m3y4q"] resource_name = "breath" length = 0.5 loop_mode = 1 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("ColorRect/HBoxContainer:modulate") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.25), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Color(1, 1, 1, 1), Color(0.54099, 0.54099, 0.54099, 1)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_8ttym"] _data = { "RESET": SubResource("Animation_nhee0"), "breath": SubResource("Animation_m3y4q") } [node name="SceneManager" type="CanvasLayer"] process_mode = 3 layer = 100 script = ExtResource("1_q8xsu") [node name="ColorRect" type="ColorRect" parent="."] visible = false material = SubResource("ShaderMaterial_8n216") 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="HBoxContainer" type="HBoxContainer" parent="ColorRect"] visible = false layout_mode = 1 anchors_preset = 3 anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -122.0 offset_top = -85.0 offset_right = -18.0 offset_bottom = -16.0 grow_horizontal = 0 grow_vertical = 0 [node name="percent" type="Label" parent="ColorRect/HBoxContainer"] layout_mode = 2 theme_override_font_sizes/font_size = 50 text = "99" [node name="Label2" type="Label" parent="ColorRect/HBoxContainer"] layout_mode = 2 theme_override_font_sizes/font_size = 50 text = "%" [node name="AnimationPlayer" type="AnimationPlayer" parent="."] libraries = { "": SubResource("AnimationLibrary_pcb11") } [node name="breath" type="AnimationPlayer" parent="."] libraries = { "": SubResource("AnimationLibrary_8ttym") }