localised resources and remaining scenes

This commit is contained in:
2025-08-21 18:41:32 +10:00
parent 2859b6dd43
commit 57a57d2b91
38 changed files with 484 additions and 129 deletions

View File

@@ -14,8 +14,8 @@ func set_amount(num: int) -> void:
amount_label.text = "x" + str(num)
func set_card(card: Card) -> void:
self.card = card
func set_card(new_card: Card) -> void:
card = new_card
icon.texture = card.icon
cost_label.text = str(card.cost)
for i: int in tags.get_child_count():

View File

@@ -3,7 +3,7 @@ extends HBoxContainer
func set_wave(wave: int) -> void:
$WaveLabel.text = "Wave " + str(wave) + ": "
$WaveLabel.text = tr("LABEL_WAVE").format({Wave_Number = str(wave)})
func add_enemy_tag(enemy: Enemy, num: int) -> void:

View File

@@ -7,4 +7,4 @@ script = ExtResource("1_lcu0c")
[node name="WaveLabel" type="Label" parent="."]
layout_mode = 2
text = "wave 1: "
text = "LABEL_WAVE"