[gd_scene load_steps=12 format=2]

[ext_resource path="res://HUD.gd" type="Script" id=1]
[ext_resource path="res://dodge_assets/art/map_set.png" type="Texture" id=2]

[sub_resource type="DynamicFontData" id=1]
font_path = "res://dodge_assets/fonts/Xolonium-Regular.ttf"

[sub_resource type="DynamicFont" id=2]
size = 64
outline_size = 1
outline_color = Color( 0, 0, 0, 1 )
font_data = SubResource( 1 )

[sub_resource type="DynamicFontData" id=3]
font_path = "res://dodge_assets/fonts/Xolonium-Regular.ttf"

[sub_resource type="DynamicFont" id=4]
size = 80
font_data = SubResource( 3 )

[sub_resource type="InputEventAction" id=12]
action = "ui_select"

[sub_resource type="ShortCut" id=13]
shortcut = SubResource( 12 )

[sub_resource type="AtlasTexture" id=9]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 16, 1865, 914, 471 )

[sub_resource type="AtlasTexture" id=10]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( -1, 1275, 915, 471 )

[sub_resource type="AtlasTexture" id=11]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 1073, 1283, 914, 472 )

[node name="HUD" type="CanvasLayer"]
script = ExtResource( 1 )

[node name="ScoreLabel" type="Label" parent="."]
anchor_right = 1.0
margin_bottom = 78.0
custom_fonts/font = SubResource( 2 )
text = "0"
align = 1

[node name="MessageLabel" type="Label" parent="."]
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
margin_top = -148.5
margin_bottom = 148.5
custom_fonts/font = SubResource( 4 )
text = "Dodge the creeps!"
align = 1
autowrap = true

[node name="MessageTimer" type="Timer" parent="."]
wait_time = 2.15
one_shot = true

[node name="ColorButton" type="TextureButton" parent="."]
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -200.0
margin_bottom = -50.0
shortcut = SubResource( 13 )
texture_normal = SubResource( 9 )
texture_pressed = SubResource( 10 )
texture_hover = SubResource( 11 )
expand = true
stretch_mode = 5

[node name="Start" type="Label" parent="ColorButton"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = 19.0
custom_fonts/font = SubResource( 2 )
text = "Start"
align = 1
[connection signal="timeout" from="MessageTimer" to="." method="_on_MessageTimer_timeout"]
[connection signal="pressed" from="ColorButton" to="." method="_on_StartButton_pressed"]
