72 lines
1.9 KiB
Plaintext
72 lines
1.9 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://buvxxumxib37r"]
|
|
|
|
[ext_resource type="Script" uid="uid://cwacioaul2ifk" path="res://transisi_universal.gd" id="1_7s3ru"]
|
|
|
|
[sub_resource type="Animation" id="Animation_tl2tp"]
|
|
resource_name = "buka_layar"
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("KotakHitam:modulate")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.3),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_7s3ru"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("KotakHitam: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_ttcy3"]
|
|
resource_name = "tutup_layar"
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("KotakHitam:modulate")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.5),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_r8u6x"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_7s3ru"),
|
|
&"buka_layar": SubResource("Animation_tl2tp"),
|
|
&"tutup_layar": SubResource("Animation_ttcy3")
|
|
}
|
|
|
|
[node name="TransisiUniversal" type="CanvasLayer"]
|
|
script = ExtResource("1_7s3ru")
|
|
|
|
[node name="KotakHitam" type="ColorRect" parent="."]
|
|
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_r8u6x")
|
|
}
|