[gd_scene load_steps=8 format=3 uid="uid://d3q1yu3n7cqfj"] [ext_resource type="Shader" path="res://Shaders/WipeTransition.gdshader" id="1_1rft7"] [ext_resource type="Script" path="res://UI/SceneTransition.cs" id="1_mx0ay"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_vfeh4"] shader = ExtResource("1_1rft7") shader_parameter/a = 0.0 shader_parameter/b = 0.0 [sub_resource type="Animation" id="Animation_4e8tt"] resource_name = "enter" length = 0.5 step = 0.05 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("ColorRect:material:shader_parameter/a") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.25), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [0.0, 1.0] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("ColorRect:material:shader_parameter/b") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [0.0] } [sub_resource type="Animation" id="Animation_c026w"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("ColorRect:material:shader_parameter/a") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [0.0] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("ColorRect:material:shader_parameter/b") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [0.0] } [sub_resource type="Animation" id="Animation_uvf4a"] resource_name = "exit" length = 0.25 step = 0.05 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("ColorRect:material:shader_parameter/a") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [1.0] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("ColorRect:material:shader_parameter/b") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0, 0.25), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [0.0, 1.0] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_51tf5"] _data = { "RESET": SubResource("Animation_c026w"), "enter": SubResource("Animation_4e8tt"), "exit": SubResource("Animation_uvf4a") } [node name="SceneTransition" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_mx0ay") [node name="ColorRect" type="ColorRect" parent="."] material = SubResource("ShaderMaterial_vfeh4") layout_mode = 1 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="AnimationPlayer" type="AnimationPlayer" parent="."] libraries = { "": SubResource("AnimationLibrary_51tf5") }