-
Notifications
You must be signed in to change notification settings - Fork 0
/
end.tscn
160 lines (137 loc) · 3.98 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
[gd_scene load_steps=6 format=1]
[ext_resource path="res://assets/end.png" type="Texture" id=1]
[ext_resource path="res://assets/ka16.fnt" type="Font" id=2]
[ext_resource path="res://replay.gd" type="Script" id=3]
[ext_resource path="res://ase/marcador.png" type="Texture" id=4]
[sub_resource type="Animation" id=1]
resource/name = "CTA"
length = 1.0
loop = true
step = 0.1
tracks/0/type = "value"
tracks/0/path = NodePath(".:visibility/opacity")
tracks/0/interp = 1
tracks/0/keys = { "cont":true, "times":FloatArray( 0, 0.5, 1 ), "transitions":FloatArray( 1, 1, 1 ), "values":[ 0.0, 1.0, 0.0 ] }
[node name="Sprite" type="Sprite"]
texture = ExtResource( 1 )
centered = false
[node name="press play" type="Label" parent="."]
visibility/opacity = 0.44591
focus/ignore_mouse = true
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 0
margin/left = 197.0
margin/top = 280.0
margin/right = 456.0
margin/bottom = 312.0
custom_fonts/font = ExtResource( 2 )
text = "PRESS A TO PLAY AGAIN"
align = 1
valign = 1
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
__meta__ = { "_editor_collapsed":true }
[node name="AnimationPlayer" type="AnimationPlayer" parent="press play"]
playback/process_mode = 1
playback/default_blend_time = 0.0
root/root = NodePath("..")
anims/CTA = SubResource( 1 )
playback/active = true
playback/speed = 1.0
blend_times = [ ]
autoplay = "CTA"
[node name="KinematicBody2D" type="KinematicBody2D" parent="."]
transform/pos = Vector2( 343.288, 166.131 )
input/pickable = false
collision/layers = 1
collision/mask = 1
collision/margin = 0.08
script/script = ExtResource( 3 )
[node name="Sprite" type="Sprite" parent="."]
transform/pos = Vector2( 326.211, 174.25 )
texture = ExtResource( 4 )
[node name="winner" type="Label" parent="."]
rect/scale = Vector2( 1.5, 1.5 )
focus/ignore_mouse = true
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 0
margin/left = 169.0
margin/top = 142.0
margin/right = 387.0
margin/bottom = 160.0
custom_fonts/font = ExtResource( 2 )
custom_colors/font_color = Color( 0.992188, 1, 0, 1 )
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
custom_constants/shadow_offset_x = -1
custom_constants/shadow_offset_y = -1
custom_constants/shadow_as_outline = 1
text = "winner player 1"
align = 1
valign = 1
uppercase = true
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[node name="points" type="Label" parent="."]
focus/ignore_mouse = true
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 0
margin/left = 237.0
margin/top = 177.0
margin/right = 413.0
margin/bottom = 206.0
custom_fonts/font = ExtResource( 2 )
custom_colors/font_color = Color( 0.988281, 0.953537, 0.953537, 1 )
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
text = "0 points"
align = 1
valign = 1
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[node name="game over" type="Label" parent="."]
rect/scale = Vector2( 4, 4 )
focus/ignore_mouse = true
focus/stop_mouse = true
size_flags/horizontal = 0
size_flags/vertical = 0
margin/left = 90.0
margin/top = 27.0
margin/right = 209.0
margin/bottom = 48.0
custom_fonts/font = ExtResource( 2 )
custom_colors/font_color = Color( 0.304688, 0.625183, 1, 1 )
custom_colors/font_color_shadow = Color( 0.96875, 0.957397, 0.957397, 1 )
custom_constants/shadow_offset_x = 1
custom_constants/shadow_offset_y = 1
custom_constants/shadow_as_outline = 0
text = "GAME OVER"
align = 1
valign = 1
autowrap = true
uppercase = true
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = 2
[node name="looser" type="Label" parent="."]
focus/ignore_mouse = true
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 0
margin/left = 164.0
margin/top = 243.0
margin/right = 491.0
margin/bottom = 272.0
custom_fonts/font = ExtResource( 2 )
custom_colors/font_color = Color( 0.78125, 0.805176, 1, 1 )
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
text = "PLAYER 1 LOOSE - 0 points"
align = 1
valign = 1
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1