Sidebar and lives
This commit is contained in:
63
Game/sidepanel.tscn
Normal file
63
Game/sidepanel.tscn
Normal file
@ -0,0 +1,63 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://ddn64i6logtw0"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://c6sh5em844tx2" path="res://Game/sidepanel.gd" id="1_klyhg"]
|
||||
|
||||
[node name="SidePanel" type="Panel"]
|
||||
custom_minimum_size = Vector2(0, 60)
|
||||
anchors_preset = 12
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 8
|
||||
script = ExtResource("1_klyhg")
|
||||
|
||||
[node name="HBoxContainer4" type="HBoxContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/separation = 120
|
||||
alignment = 1
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer4"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 120
|
||||
alignment = 1
|
||||
|
||||
[node name="Label" type="Label" parent="HBoxContainer4/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Coins: "
|
||||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="HBoxContainer4"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 120
|
||||
alignment = 1
|
||||
|
||||
[node name="Button2" type="Button" parent="HBoxContainer4/HBoxContainer2"]
|
||||
custom_minimum_size = Vector2(120, 0)
|
||||
layout_mode = 2
|
||||
text = "Archer"
|
||||
|
||||
[node name="Button3" type="Button" parent="HBoxContainer4/HBoxContainer2"]
|
||||
custom_minimum_size = Vector2(120, 0)
|
||||
layout_mode = 2
|
||||
text = "Wizard"
|
||||
|
||||
[node name="Button4" type="Button" parent="HBoxContainer4/HBoxContainer2"]
|
||||
custom_minimum_size = Vector2(120, 0)
|
||||
layout_mode = 2
|
||||
text = "Mortar"
|
||||
|
||||
[node name="HBoxContainer3" type="HBoxContainer" parent="HBoxContainer4"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 120
|
||||
alignment = 1
|
||||
|
||||
[node name="Label" type="Label" parent="HBoxContainer4/HBoxContainer3"]
|
||||
layout_mode = 2
|
||||
text = "Lives: "
|
Reference in New Issue
Block a user