shirogamis-maze/src/Main/HUD.tscn
2021-05-27 01:44:39 -04:00

122 lines
3.1 KiB
Plaintext

[gd_scene load_steps=4 format=2]
[ext_resource path="res://assets/art/key_yellow.png" type="Texture" id=1]
[ext_resource path="res://assets/theme/fonts/NormalFont.tres" type="DynamicFont" id=2]
[ext_resource path="res://src/Main/HUD.gd" type="Script" id=3]
[node name="HUD" type="CanvasLayer"]
pause_mode = 1
script = ExtResource( 3 )
[node name="UpPanel" type="ColorRect" parent="."]
visible = false
anchor_right = 1.0
margin_bottom = 16.0
color = Color( 0, 0, 0, 0 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CenterContainer" type="CenterContainer" parent="UpPanel"]
margin_left = 2.0
margin_right = 318.0
margin_bottom = 16.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Timer" type="Label" parent="UpPanel/CenterContainer"]
margin_left = 138.0
margin_top = 4.0
margin_right = 178.0
margin_bottom = 12.0
size_flags_horizontal = 7
custom_fonts/font = ExtResource( 2 )
text = "00:00"
align = 2
[node name="Margin" type="MarginContainer" parent="UpPanel"]
anchor_right = 1.0
margin_left = 2.0
margin_right = -2.0
margin_bottom = 16.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="DownPanel" type="ColorRect" parent="."]
visible = false
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -16.0
color = Color( 0, 0, 0, 0 )
[node name="Message" type="RichTextLabel" parent="DownPanel"]
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.63
anchor_bottom = 1.0
margin_left = -156.0
margin_top = -12.0
margin_right = 114.4
margin_bottom = -3.0
rect_clip_content = false
custom_fonts/normal_font = ExtResource( 2 )
bbcode_enabled = true
visible_characters = 0
scroll_active = false
[node name="Inventory" type="GridContainer" parent="."]
margin_left = 318.0
margin_top = -2.0
margin_right = 374.0
margin_bottom = 14.0
rect_scale = Vector2( -1, 1 )
columns = 3
__meta__ = {
"_edit_use_anchors_": false
}
[node name="KeyYellow" type="TextureRect" parent="Inventory"]
visible = false
margin_right = 16.0
margin_bottom = 16.0
texture = ExtResource( 1 )
[node name="KeyBlue" type="TextureRect" parent="Inventory"]
visible = false
margin_left = 20.0
margin_right = 36.0
margin_bottom = 16.0
texture = ExtResource( 1 )
[node name="KeyRed" type="TextureRect" parent="Inventory"]
visible = false
margin_left = 40.0
margin_right = 56.0
margin_bottom = 16.0
texture = ExtResource( 1 )
[node name="TypeTimer" type="Timer" parent="."]
wait_time = 0.05
one_shot = true
[node name="ScrollTimer" type="Timer" parent="."]
wait_time = 0.1
[node name="ScrollWaitTimer" type="Timer" parent="."]
wait_time = 2.0
one_shot = true
[node name="ClearTimer" type="Timer" parent="."]
wait_time = 4.0
one_shot = true
[node name="ClockTick" type="Timer" parent="."]
[connection signal="timeout" from="TypeTimer" to="." method="_on_TypeTimer_timeout"]
[connection signal="timeout" from="ScrollTimer" to="." method="_on_ScrollTimer_timeout"]
[connection signal="timeout" from="ScrollWaitTimer" to="." method="_on_ScrollWaitTimer_timeout"]
[connection signal="timeout" from="ClearTimer" to="." method="_on_ClearTimer_timeout"]
[connection signal="timeout" from="ClockTick" to="." method="update_clock"]