neighbor-game/scenes/UI.tscn
2022-08-04 19:56:18 -06:00

48 lines
1.4 KiB
Plaintext

[gd_scene load_steps=6 format=2]
[ext_resource path="res://assets/fonts/8-BIT WONDER.TTF" type="DynamicFontData" id=1]
[ext_resource path="res://scripts/UI.gd" type="Script" id=2]
[ext_resource path="res://assets/ui/music-enabled.png" type="Texture" id=3]
[sub_resource type="DynamicFont" id=1]
font_data = ExtResource( 1 )
[sub_resource type="Theme" id=2]
default_font = SubResource( 1 )
[node name="GUI" type="Node2D"]
script = ExtResource( 2 )
[node name="MarginContainer" type="MarginContainer" parent="."]
margin_left = 20.0
margin_top = 20.0
margin_right = 1279.0
margin_bottom = 257.0
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
margin_right = 1259.0
margin_bottom = 237.0
[node name="TimeLabel" type="RichTextLabel" parent="MarginContainer/HBoxContainer"]
margin_right = 1227.0
margin_bottom = 237.0
size_flags_horizontal = 3
size_flags_vertical = 3
theme = SubResource( 2 )
text = "Time fdsafdsafdsa"
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer"]
margin_left = 1231.0
margin_right = 1259.0
margin_bottom = 237.0
[node name="ToolButton" type="ToolButton" parent="MarginContainer/HBoxContainer/VBoxContainer"]
margin_right = 28.0
margin_bottom = 24.0
toggle_mode = true
icon = ExtResource( 3 )
[node name="GameTimer" type="Timer" parent="."]
[connection signal="toggled" from="MarginContainer/HBoxContainer/VBoxContainer/ToolButton" to="." method="_on_ToolButton_toggled"]