This commit is contained in:
pennyrigate 2025-07-19 16:54:36 -04:00
commit 6a269eb236
97 changed files with 2137 additions and 0 deletions

View file

@ -0,0 +1,22 @@
extends Node
func queue_score(amount):
GlobalStats.score_to_add += amount
GlobalStats.score_multiplier *= 1.1
var hud = get_tree().get_nodes_in_group("hud")[0]
hud.multiplier_anims.stop()
hud.multiplier_anims.play("multiplier_grow")
func append_score():
GlobalStats.score += GlobalStats.score_to_add
GlobalStats.score_to_add = 0
GlobalStats.score_multiplier = 1.0
var hud = get_tree().get_nodes_in_group("hud")[0]
func _process(delta: float) -> void:
if Input.is_action_just_pressed("fullscreen"):
if DisplayServer.window_get_mode() == DisplayServer.WINDOW_MODE_WINDOWED:
DisplayServer.window_set_mode(DisplayServer.WINDOW_MODE_FULLSCREEN)
else:
DisplayServer.window_set_mode(DisplayServer.WINDOW_MODE_WINDOWED)