298 lines
7.0 KiB
Plaintext
298 lines
7.0 KiB
Plaintext
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://Stats.gd" type="Script" id=1]
|
|
[ext_resource path="res://fonts/Gamer.ttf" type="DynamicFontData" id=2]
|
|
|
|
[sub_resource type="DynamicFont" id=1]
|
|
|
|
size = 22
|
|
use_mipmaps = false
|
|
use_filter = false
|
|
font_data = ExtResource( 2 )
|
|
_sections_unfolded = [ "Font", "Settings" ]
|
|
|
|
[sub_resource type="DynamicFont" id=2]
|
|
|
|
size = 20
|
|
use_mipmaps = false
|
|
use_filter = false
|
|
font_data = ExtResource( 2 )
|
|
_sections_unfolded = [ "Font", "Settings" ]
|
|
|
|
[node name="Stats" type="MarginContainer" index="0"]
|
|
|
|
anchor_left = 0.4
|
|
anchor_top = 0.6
|
|
anchor_right = 0.6
|
|
anchor_bottom = 0.6
|
|
margin_left = -170.0
|
|
margin_top = -70.0
|
|
margin_right = -160.0
|
|
margin_bottom = 140.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 0
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 0
|
|
size_flags_vertical = 0
|
|
script = ExtResource( 1 )
|
|
_sections_unfolded = [ "Anchor", "Margin", "Size Flags" ]
|
|
|
|
[node name="Clock" type="Timer" parent="." index="0"]
|
|
|
|
process_mode = 1
|
|
wait_time = 1.0
|
|
one_shot = false
|
|
autostart = false
|
|
|
|
[node name="VBC" type="VBoxContainer" parent="." index="1"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 16.0
|
|
margin_right = 94.0
|
|
margin_bottom = 172.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 1
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 0
|
|
size_flags_vertical = 0
|
|
custom_constants/separation = 0
|
|
alignment = 0
|
|
_sections_unfolded = [ "Anchor", "Margin", "Size Flags", "custom_constants" ]
|
|
|
|
[node name="Label" type="Label" parent="VBC" index="0"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_right = 78.0
|
|
margin_bottom = 18.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 2
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 4
|
|
custom_fonts/font = SubResource( 1 )
|
|
custom_colors/font_color = Color( 0.756214, 0.921978, 0.990234, 1 )
|
|
text = "Score:"
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
_sections_unfolded = [ "custom_fonts" ]
|
|
|
|
[node name="Score" type="Label" parent="VBC" index="1"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_top = 18.0
|
|
margin_right = 78.0
|
|
margin_bottom = 36.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 2
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 4
|
|
custom_fonts/font = SubResource( 1 )
|
|
custom_colors/font_color = Color( 0.756214, 0.921978, 0.990234, 1 )
|
|
text = "0"
|
|
align = 2
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
_sections_unfolded = [ "custom_fonts" ]
|
|
|
|
[node name="Label2" type="Label" parent="VBC" index="2"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_top = 36.0
|
|
margin_right = 78.0
|
|
margin_bottom = 53.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 2
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 4
|
|
custom_fonts/font = SubResource( 2 )
|
|
custom_colors/font_color = Color( 0.756214, 0.921978, 0.990234, 1 )
|
|
text = "High score:"
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
_sections_unfolded = [ "Anchor", "custom_fonts" ]
|
|
|
|
[node name="HighScore" type="Label" parent="VBC" index="3"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_top = 53.0
|
|
margin_right = 78.0
|
|
margin_bottom = 70.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 2
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 4
|
|
custom_fonts/font = SubResource( 2 )
|
|
custom_colors/font_color = Color( 0.756214, 0.921978, 0.990234, 1 )
|
|
text = "0"
|
|
align = 2
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
|
|
[node name="Label3" type="Label" parent="VBC" index="4"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_top = 70.0
|
|
margin_right = 78.0
|
|
margin_bottom = 87.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 2
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 4
|
|
custom_fonts/font = SubResource( 2 )
|
|
custom_colors/font_color = Color( 0.756214, 0.921978, 0.990234, 1 )
|
|
text = "Time"
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
|
|
[node name="Time" type="Label" parent="VBC" index="5"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_top = 87.0
|
|
margin_right = 78.0
|
|
margin_bottom = 104.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 2
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 4
|
|
custom_fonts/font = SubResource( 2 )
|
|
custom_colors/font_color = Color( 0.756214, 0.921978, 0.990234, 1 )
|
|
text = "0:00:00"
|
|
align = 2
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
|
|
[node name="Label4" type="Label" parent="VBC" index="6"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_top = 104.0
|
|
margin_right = 78.0
|
|
margin_bottom = 121.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 2
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 4
|
|
custom_fonts/font = SubResource( 2 )
|
|
custom_colors/font_color = Color( 0.756214, 0.921978, 0.990234, 1 )
|
|
text = "Level:"
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
|
|
[node name="Level" type="Label" parent="VBC" index="7"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_top = 121.0
|
|
margin_right = 78.0
|
|
margin_bottom = 138.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 2
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 4
|
|
custom_fonts/font = SubResource( 2 )
|
|
custom_colors/font_color = Color( 0.756214, 0.921978, 0.990234, 1 )
|
|
text = "0"
|
|
align = 2
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
|
|
[node name="Label5" type="Label" parent="VBC" index="8"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_top = 138.0
|
|
margin_right = 78.0
|
|
margin_bottom = 155.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 2
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 4
|
|
custom_fonts/font = SubResource( 2 )
|
|
custom_colors/font_color = Color( 0.756214, 0.921978, 0.990234, 1 )
|
|
text = "Goal:"
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
|
|
[node name="Goal" type="Label" parent="VBC" index="9"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_top = 155.0
|
|
margin_right = 78.0
|
|
margin_bottom = 172.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 2
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 4
|
|
custom_fonts/font = SubResource( 2 )
|
|
custom_colors/font_color = Color( 0.756214, 0.921978, 0.990234, 1 )
|
|
text = "0"
|
|
align = 2
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
_sections_unfolded = [ "custom_fonts" ]
|
|
|
|
[connection signal="timeout" from="Clock" to="." method="_on_Clock_timeout"]
|
|
|
|
|