123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- [gd_scene load_steps=6 format=2]
- [ext_resource path="res://HUD.cs" type="Script" id=1]
- [ext_resource path="res://fonts/Xolonium-Regular.ttf" type="FontData" id=2]
- [sub_resource type="Font" id=1]
- size = 64
- use_mipmaps = true
- font_data = ExtResource( 2 )
- [sub_resource type="Font" id=2]
- size = 64
- use_mipmaps = true
- font_data = ExtResource( 2 )
- [sub_resource type="Font" id=3]
- size = 64
- use_mipmaps = true
- font_data = ExtResource( 2 )
- [node name="HUD" type="CanvasLayer"]
- script = ExtResource( 1 )
- [node name="ScoreLabel" type="Label" parent="."]
- anchor_left = 0.5
- anchor_right = 0.5
- offset_left = -25.0
- offset_right = 25.0
- offset_bottom = 100.0
- custom_fonts/font = SubResource( 1 )
- text = "0
- "
- align = 1
- [node name="MessageLabel" type="Label" parent="."]
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- offset_left = -200.0
- offset_top = -150.0
- offset_right = 200.0
- custom_fonts/font = SubResource( 2 )
- text = "Dodge the
- Creeps!"
- align = 1
- valign = 1
- [node name="StartButton" type="Button" parent="."]
- anchor_left = 0.5
- anchor_top = 1.0
- anchor_right = 0.5
- anchor_bottom = 1.0
- offset_left = -100.0
- offset_top = -200.0
- offset_right = 100.0
- offset_bottom = -100.0
- custom_fonts/font = SubResource( 3 )
- text = "Start"
- [node name="MessageTimer" type="Timer" parent="."]
- wait_time = 2.0
- one_shot = true
- [connection signal="pressed" from="StartButton" to="." method="OnStartButtonPressed"]
- [connection signal="timeout" from="MessageTimer" to="." method="OnMessageTimerTimeout"]
|