-
Notifications
You must be signed in to change notification settings - Fork 9
/
GameScene.tscn
147 lines (120 loc) · 4.47 KB
/
GameScene.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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
[gd_scene load_steps=12 format=2]
[ext_resource path="res://assets/graphics/bg/farground_mountains.png" type="Texture" id=1]
[ext_resource path="res://assets/graphics/bg/midground_mountains.png" type="Texture" id=2]
[ext_resource path="res://assets/graphics/bg/foreground_mountains.png" type="Texture" id=3]
[ext_resource path="res://assets/graphics/bg/mid_ground_cloud_1.png" type="Texture" id=4]
[ext_resource path="res://assets/graphics/bg/mid_ground_cloud_2.png" type="Texture" id=5]
[ext_resource path="res://GameScene.gdns" type="Script" id=6]
[ext_resource path="res://assets/fonts/animeace.ttf" type="DynamicFontData" id=7]
[sub_resource type="DynamicFont" id=1]
size = 60
outline_size = 1
font_data = ExtResource( 7 )
[sub_resource type="Animation" id=2]
resource_name = "Stage Display"
length = 4.0
tracks/0/type = "value"
tracks/0/path = NodePath("Label:percent_visible")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 3.5 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ 0.0, 1.0 ]
}
tracks/1/type = "method"
tracks/1/path = NodePath(".")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 4 ),
"transitions": PoolRealArray( 1 ),
"values": [ {
"args": [ ],
"method": "start_animation_done"
} ]
}
[sub_resource type="DynamicFont" id=3]
size = 60
outline_size = 1
outline_color = Color( 0, 0, 0, 1 )
font_data = ExtResource( 7 )
[sub_resource type="RectangleShape2D" id=4]
extents = Vector2( 30, 360 )
[node name="GameSceneRoot" type="Node2D"]
script = ExtResource( 6 )
[node name="Mountains" type="Node" parent="."]
[node name="farground_mountains" type="Sprite" parent="Mountains"]
position = Vector2( 1023.25, 553.192 )
texture = ExtResource( 1 )
[node name="midground_mountains" type="Sprite" parent="Mountains"]
position = Vector2( 1025.07, 660.971 )
texture = ExtResource( 2 )
[node name="foreground_mountains" type="Sprite" parent="Mountains"]
position = Vector2( 1024.63, 661.754 )
texture = ExtResource( 3 )
[node name="farground_mountains2" type="Sprite" parent="Mountains"]
position = Vector2( 3065.72, 554.583 )
texture = ExtResource( 1 )
[node name="midground_mountains2" type="Sprite" parent="Mountains"]
position = Vector2( 3067.53, 662.363 )
texture = ExtResource( 2 )
[node name="foreground_mountains2" type="Sprite" parent="Mountains"]
position = Vector2( 3067.1, 663.145 )
texture = ExtResource( 3 )
[node name="Clouds" type="Node" parent="."]
[node name="ParallaxBackground" type="ParallaxBackground" parent="Clouds"]
[node name="ParallaxLayer" type="ParallaxLayer" parent="Clouds/ParallaxBackground"]
motion_scale = Vector2( 0.5, 1 )
motion_mirroring = Vector2( 2048, 0 )
[node name="mid_ground_cloud_1" type="Sprite" parent="Clouds/ParallaxBackground/ParallaxLayer"]
position = Vector2( 1024, 245.73 )
texture = ExtResource( 4 )
[node name="ParallaxBackground" type="ParallaxBackground" parent="Clouds/ParallaxBackground/ParallaxLayer"]
[node name="ParallaxLayer" type="ParallaxLayer" parent="Clouds/ParallaxBackground/ParallaxLayer/ParallaxBackground"]
motion_scale = Vector2( 0.75, 1 )
motion_mirroring = Vector2( 2048, 0 )
[node name="mid_ground_cloud_2" type="Sprite" parent="Clouds/ParallaxBackground/ParallaxLayer/ParallaxBackground/ParallaxLayer"]
position = Vector2( 1024, 483.499 )
texture = ExtResource( 5 )
[node name="Label" type="Label" parent="."]
margin_left = 600.0
margin_top = 320.0
margin_right = 839.0
margin_bottom = 387.0
custom_fonts/font = SubResource( 1 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "STAGE"
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
"anims/Stage Display" = SubResource( 2 )
[node name="HUD" type="CanvasLayer" parent="."]
[node name="Kills" type="Label" parent="HUD"]
anchor_left = 0.758
anchor_right = 0.769
margin_top = 10.0
margin_right = 40.0
margin_bottom = 14.0
custom_fonts/font = SubResource( 3 )
text = "Kills: 0"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Triggers" type="Node" parent="."]
[node name="Area2D" type="Area2D" parent="Triggers"]
position = Vector2( 3283, 362.591 )
collision_layer = 17
collision_mask = 16
[node name="CollisionShape2D" type="CollisionShape2D" parent="Triggers/Area2D"]
position = Vector2( -185.067, -7.21045 )
shape = SubResource( 4 )
[connection signal="area_entered" from="Triggers/Area2D" to="." method="_on_area2d_area_entered"]