-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgame.tscn
60 lines (52 loc) · 1.61 KB
/
game.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[gd_scene load_steps=6 format=3 uid="uid://f2fhwt020b55"]
[ext_resource type="Script" path="res://Scripts/game.gd" id="1_7oewn"]
[ext_resource type="Script" path="res://Scripts/UI.gd" id="2_rop0i"]
[sub_resource type="Animation" id="Animation_8choc"]
resource_name = "fade_black"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("UI/Fader:color")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(0, 0, 0, 0), Color(0, 0, 0, 1)]
}
[sub_resource type="Animation" id="Animation_50pul"]
resource_name = "fade_clear"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("UI/Fader:color")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(0, 0, 0, 1), Color(0, 0, 0, 0)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_artno"]
_data = {
"fade_black": SubResource("Animation_8choc"),
"fade_clear": SubResource("Animation_50pul")
}
[node name="Game" type="Node3D"]
script = ExtResource("1_7oewn")
[node name="UI" type="CanvasLayer" parent="."]
script = ExtResource("2_rop0i")
[node name="UiAnimation" type="AnimationPlayer" parent="UI"]
root_node = NodePath("../..")
libraries = {
"": SubResource("AnimationLibrary_artno")
}
[node name="Fader" type="ColorRect" parent="UI"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0, 0, 0, 0)