-
Notifications
You must be signed in to change notification settings - Fork 6
/
Main.tscn
105 lines (96 loc) · 3.22 KB
/
Main.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[gd_scene load_steps=8 format=3 uid="uid://cftjpyo1jqxfa"]
[ext_resource type="Script" path="res://Global/Camera.gd" id="1_5jlkv"]
[ext_resource type="Script" path="res://Main.gd" id="1_os57m"]
[ext_resource type="PackedScene" uid="uid://dk13nxba6ktn5" path="res://GameScreen/GameScreen.tscn" id="3_w0hn2"]
[ext_resource type="PackedScene" uid="uid://bgdux7kjr61q1" path="res://MenuScreen/MenuScreen.tscn" id="5_r8sk6"]
[sub_resource type="Animation" id="Animation_v032t"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:offset_wrapper")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(0, -2408)]
}
tracks/1/type = "bezier"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath(".:zoom_wrapper:x")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"handle_modes": PackedInt32Array(0),
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0),
"times": PackedFloat32Array(0)
}
[sub_resource type="Animation" id="Animation_sjx1b"]
resource_name = "menu_to_game"
step = 0.05
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:offset_wrapper")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0.35, 0.65),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector2(0, -2408), Vector2(0, 0)]
}
tracks/1/type = "bezier"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath(".:zoom_wrapper:x")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"handle_modes": PackedInt32Array(0, 0, 0, 0),
"points": PackedFloat32Array(1, -0.25, 0, 0.1, -0.089019, 0.802229, -0.1, 0.0215544, 0.233333, 0, 0.8, -0.25, 0, 0.1, 0.0972646, 1, -0.143552, -0.0282748, 0.25, 0),
"times": PackedFloat32Array(0, 0.15, 0.85, 0.993552)
}
tracks/2/type = "bezier"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath(".:zoom_wrapper:y")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"handle_modes": PackedInt32Array(0, 0, 0, 0),
"points": PackedFloat32Array(1, -0.25, 0, 0.1, -0.089019, 0.802229, -0.1, 0.0215544, 0.233333, 0, 0.8, -0.25, 0, 0.1, 0.0972646, 1, -0.143552, -0.0282748, 0.25, 0),
"times": PackedFloat32Array(0, 0.15, 0.85, 0.993552)
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_cv8xt"]
_data = {
"RESET": SubResource("Animation_v032t"),
"menu_to_game": SubResource("Animation_sjx1b")
}
[node name="Main" type="Control"]
layout_mode = 3
anchors_preset = 0
offset_right = 1080.0
offset_bottom = 2408.0
grow_horizontal = 0
grow_vertical = 2
size_flags_horizontal = 4
size_flags_vertical = 0
script = ExtResource("1_os57m")
[node name="Camera" type="Camera2D" parent="."]
position = Vector2(547, 1228)
offset = Vector2(0, -2408)
script = ExtResource("1_5jlkv")
[node name="AnimationPlayer" type="AnimationPlayer" parent="Camera"]
libraries = {
"": SubResource("AnimationLibrary_cv8xt")
}
[node name="MenuScreen" parent="." instance=ExtResource("5_r8sk6")]
layout_mode = 1
offset_top = -2408.0
offset_bottom = -2408.0
[node name="GameScreen" parent="." instance=ExtResource("3_w0hn2")]
layout_mode = 1