1
Fork 0
mirror of https://github.com/Steffo99/swear-jar.git synced 2024-11-25 17:14:20 +00:00
swear-jar/interface/game_ui.tscn

48 lines
1.4 KiB
Text
Raw Normal View History

2023-10-01 23:36:23 +00:00
[gd_scene load_steps=4 format=3 uid="uid://bo5unrhqpoyim"]
2023-10-01 12:39:16 +00:00
[ext_resource type="Theme" uid="uid://ba5utvfhnxa5i" path="res://interface/interface_theme.tres" id="1_ppf8y"]
2023-10-01 13:15:16 +00:00
[ext_resource type="Script" path="res://interface/game_ui.gd" id="2_33nqa"]
2023-10-01 23:36:23 +00:00
[ext_resource type="PackedScene" uid="uid://bey5lilvteg32" path="res://interface/score_button.tscn" id="3_vobar"]
2023-10-01 12:39:16 +00:00
2023-10-02 17:49:55 +00:00
[node name="GameUI" type="Control"]
2023-10-02 13:12:08 +00:00
custom_minimum_size = Vector2(0, 54)
2023-10-01 21:40:48 +00:00
layout_mode = 3
2023-10-02 13:12:08 +00:00
anchors_preset = 10
2023-10-01 12:39:16 +00:00
anchor_right = 1.0
grow_horizontal = 2
theme = ExtResource("1_ppf8y")
2023-10-01 13:15:16 +00:00
script = ExtResource("2_33nqa")
2023-10-01 12:39:16 +00:00
2023-10-01 23:36:23 +00:00
[node name="ScoreButton" parent="." instance=ExtResource("3_vobar")]
custom_minimum_size = Vector2(88, 0)
layout_mode = 0
2023-10-01 12:39:16 +00:00
2023-10-01 21:40:48 +00:00
[node name="SpawnButton" type="Button" parent="."]
2023-10-01 23:36:23 +00:00
custom_minimum_size = Vector2(88, 0)
2023-10-01 21:40:48 +00:00
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -36.0
offset_right = 36.0
offset_bottom = 54.0
grow_horizontal = 2
2023-10-01 12:39:16 +00:00
size_flags_horizontal = 4
2023-10-02 17:49:55 +00:00
text = "Put"
2023-10-01 12:39:16 +00:00
2023-10-01 21:40:48 +00:00
[node name="ShopButton" type="Button" parent="."]
2023-10-01 23:36:23 +00:00
custom_minimum_size = Vector2(88, 0)
2023-10-01 21:40:48 +00:00
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -72.0
offset_bottom = 54.0
grow_horizontal = 0
2023-10-01 12:39:16 +00:00
size_flags_horizontal = 8
text = "Shop"
2023-10-02 17:19:13 +00:00
alignment = 2
2023-10-01 21:40:48 +00:00
[connection signal="pressed" from="SpawnButton" to="." method="_on_spawn_button_pressed"]
[connection signal="pressed" from="ShopButton" to="." method="_on_shop_button_pressed"]