balancing

This commit is contained in:
Victor Turgeon
2023-10-11 11:34:37 -04:00
parent 36844903ad
commit c442ccda6f
7 changed files with 29 additions and 18 deletions

View File

@@ -86,11 +86,13 @@ alignment = 1
[node name="StatPanel" type="HBoxContainer" parent="UIRoot/ControlPanel"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 0.65
mouse_filter = 2
[node name="Blud" type="Control" parent="UIRoot/ControlPanel/StatPanel"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 0.75
[node name="HBoxContainer" type="HBoxContainer" parent="UIRoot/ControlPanel/StatPanel/Blud"]
layout_mode = 1
@@ -143,7 +145,7 @@ vertical_alignment = 2
[node name="Middle" type="VBoxContainer" parent="UIRoot/ControlPanel/StatPanel"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 0.8
size_flags_stretch_ratio = 0.5
[node name="Time" type="Control" parent="UIRoot/ControlPanel/StatPanel/Middle"]
layout_mode = 2

View File

@@ -13,7 +13,7 @@ func _ready():
return
var temp : TemplateSpawnable = spawnableScene.instantiate()
label.text = str(temp.monsterName) + " (" + str(temp.cost) + ")"
label.text = str(temp.monsterName) + "| " + str(temp.cost)
generate_tooltip(temp)
temp.queue_free()