Replaced main font with bitmap

This commit is contained in:
2024-05-11 17:08:52 +01:00
parent efcae24df1
commit 7c43fb1bb8
17 changed files with 196 additions and 90 deletions

View File

@@ -13,16 +13,16 @@ var credit : int = 0
func _ready() -> void:
# dump_all("res://")
UpgradeTokensNode.text = "%d" % Global.upgrade_tokens
Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE)
EventBus.update_score.connect(_on_update_score)
EventBus.update_highscore.connect(_on_update_highscore)
_on_update_score(Global.score)
_on_update_highscore(Global.highscore)
$VBoxContainer/Play/VBoxContainer/Play.grab_focus()
Music.play_intro()
get_tree().create_timer(5).timeout.connect(_show_credits)
$VBoxContainer/Play/VBoxContainer/Exit.visible = not OS.has_feature("web")
UpgradeTokensNode.text = "%d" % Global.upgrade_tokens
Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE)
EventBus.update_score.connect(_on_update_score)
EventBus.update_highscore.connect(_on_update_highscore)
_on_update_score(Global.score)
_on_update_highscore(Global.highscore)
$VBoxContainer/Play/VBoxContainer/Play.grab_focus()
Music.play_intro()
get_tree().create_timer(5).timeout.connect(_show_credits)
func _show_credits() -> void:
$HBoxContainer/Credits/CreditsRole.modulate = Color(0, 0, 0, 0)