-
Notifications
You must be signed in to change notification settings - Fork 1
/
end.tscn
195 lines (166 loc) · 5.2 KB
/
end.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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
[gd_scene load_steps=23 format=2]
[ext_resource path="res://pixel-line-platformer/dead.png" type="Texture" id=1]
[ext_resource path="res://pixel-line-platformer/Tilemap/tilemap_packed.png" type="Texture" id=2]
[ext_resource path="res://hue.gdshader" type="Shader" id=3]
[ext_resource path="res://end.gd" type="Script" id=4]
[ext_resource path="res://fonts/button_font.tres" type="DynamicFont" id=5]
[ext_resource path="res://sfx/win/Ta Da-SoundBible.com-1884170640.wav" type="AudioStream" id=6]
[ext_resource path="res://fonts/Tomorrow-Regular.ttf" type="DynamicFontData" id=7]
[ext_resource path="res://space_background_pack/layers/parallax-space-backgound.png" type="Texture" id=9]
[ext_resource path="res://space_background_pack/layers/parallax-space-far-planets.png" type="Texture" id=10]
[ext_resource path="res://space_background_pack/layers/parallax-space-stars.png" type="Texture" id=11]
[sub_resource type="InputEventAction" id=9]
action = "ui_accept"
[sub_resource type="ShortCut" id=10]
shortcut = SubResource( 9 )
[sub_resource type="DynamicFont" id=11]
size = 89
outline_size = 5
outline_color = Color( 0.796078, 0, 0.486275, 1 )
font_data = ExtResource( 7 )
[sub_resource type="DynamicFont" id=12]
size = 89
outline_size = 5
outline_color = Color( 0.937255, 0.72549, 0.0941176, 1 )
font_data = ExtResource( 7 )
[sub_resource type="DynamicFont" id=13]
size = 89
outline_size = 5
outline_color = Color( 0.0941176, 0.937255, 0.384314, 1 )
font_data = ExtResource( 7 )
[sub_resource type="ShaderMaterial" id=1]
shader = ExtResource( 3 )
shader_param/Shift_Hue = -0.514
shader_param/Shift_Sat = 0.265
shader_param/Shift_Val = -0.038
[sub_resource type="ShaderMaterial" id=2]
shader = ExtResource( 3 )
shader_param/Shift_Hue = 0.616
shader_param/Shift_Sat = 0.223
shader_param/Shift_Val = 0.257
[sub_resource type="ShaderMaterial" id=3]
shader = ExtResource( 3 )
shader_param/Shift_Hue = -0.602
shader_param/Shift_Sat = null
shader_param/Shift_Val = null
[sub_resource type="AtlasTexture" id=4]
atlas = ExtResource( 2 )
region = Rect2( 0, 64, 16, 16 )
[sub_resource type="AtlasTexture" id=5]
atlas = ExtResource( 2 )
region = Rect2( 16, 64, 16, 16 )
[sub_resource type="SpriteFrames" id=6]
animations = [ {
"frames": [ SubResource( 4 ), SubResource( 5 ) ],
"loop": true,
"name": "alive",
"speed": 5.0
}, {
"frames": [ ExtResource( 1 ) ],
"loop": true,
"name": "dead",
"speed": 5.0
} ]
[sub_resource type="ShaderMaterial" id=7]
shader = ExtResource( 3 )
shader_param/Shift_Hue = -0.428
shader_param/Shift_Sat = null
shader_param/Shift_Val = null
[node name="end" type="Node2D"]
script = ExtResource( 4 )
[node name="GUI" type="CanvasLayer" parent="."]
[node name="play_button" type="Button" parent="GUI"]
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 30.0
margin_top = -153.0
margin_right = -30.0
margin_bottom = -75.0
custom_colors/font_color = Color( 0, 0, 0, 1 )
custom_colors/font_color_hover = Color( 0.32549, 0.623529, 0.701961, 1 )
custom_colors/font_color_pressed = Color( 0.756863, 0, 0, 1 )
custom_fonts/font = ExtResource( 5 )
shortcut = SubResource( 10 )
text = "PRESS ENTER"
flat = true
__meta__ = {
"_edit_use_anchors_": false,
"_editor_description_": ""
}
[node name="purple_wins" type="Label" parent="GUI"]
visible = false
anchor_right = 1.0
margin_top = 69.0
margin_bottom = 176.0
custom_fonts/font = SubResource( 11 )
text = "PURPLE WINS!"
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="yellow_wins" type="Label" parent="GUI"]
visible = false
anchor_right = 1.0
margin_top = 69.0
margin_bottom = 176.0
custom_fonts/font = SubResource( 12 )
text = "YELLOW WINS!"
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="scores" type="Label" parent="GUI"]
anchor_right = 1.0
margin_top = 69.0
margin_bottom = 176.0
custom_fonts/font = SubResource( 13 )
text = "0 - 0"
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="background" type="Node2D" parent="."]
scale = Vector2( 5, 5 )
[node name="background2" type="Sprite" parent="background"]
material = SubResource( 1 )
position = Vector2( 0, -4.194 )
scale = Vector2( 1.13665, 0.940339 )
texture = ExtResource( 9 )
[node name="background3" type="Sprite" parent="background"]
material = SubResource( 2 )
position = Vector2( 0.84332, 0.978562 )
scale = Vector2( 0.751, 0.751 )
texture = ExtResource( 11 )
__meta__ = {
"_editor_description_": ""
}
[node name="background4" type="Sprite" parent="background"]
position = Vector2( 0, -3.17024 )
scale = Vector2( 0.831059, 0.870687 )
texture = ExtResource( 10 )
[node name="players" type="Node2D" parent="."]
scale = Vector2( 5, 5 )
[node name="p0" type="AnimatedSprite" parent="players"]
material = SubResource( 3 )
position = Vector2( -55, 0 )
scale = Vector2( 3, 3 )
frames = SubResource( 6 )
animation = "dead"
[node name="p1" type="AnimatedSprite" parent="players"]
material = SubResource( 7 )
position = Vector2( 55, 0 )
scale = Vector2( 3, 3 )
frames = SubResource( 6 )
animation = "alive"
playing = true
flip_h = true
[node name="camera" type="Camera2D" parent="."]
current = true
[node name="sfx" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 6 )
autoplay = true
[connection signal="pressed" from="GUI/play_button" to="." method="_on_play_button_pressed"]