seedpacket base
This commit is contained in:
parent
e1931f27e1
commit
2a7c402cd0
16 changed files with 345 additions and 24 deletions
8
scripts/gui/seedpacket/seedpacket_cost_label.gd
Normal file
8
scripts/gui/seedpacket/seedpacket_cost_label.gd
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
@tool
|
||||
extends Label
|
||||
|
||||
const BASE_FONT_SIZE := 10
|
||||
const BASE_HEIGHT := 11
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
label_settings.font_size = int(BASE_FONT_SIZE * (size.y/BASE_HEIGHT))
|
||||
Loading…
Add table
Add a link
Reference in a new issue