Reworked ending code to be more player node determined; added heart

animation; added reversable cloud scale toggle.
This commit is contained in:
Henry 2026-03-06 13:35:38 +00:00
parent 2db69a689b
commit 5bf3078953
10 changed files with 125 additions and 34 deletions

View file

@ -25,7 +25,7 @@ func _ready():
func spawn_enemies():
if wave_count == 0: #This is for CHICKENS
if wave_count == 2: #This is for CHICKENS
print("Enemy Wave: ", wave_count)
enemy = CHICKEN
for x in range(COLS):
@ -53,7 +53,7 @@ func spawn_enemies():
enemy_count = rows_mod * cols_mod
await get_tree().process_frame
if wave_count == 2 : #This if for Mirror
if wave_count == 3 : #This if for Mirror
print("Enemy Wave: ", wave_count)
# Spawn Table
@ -89,12 +89,12 @@ func spawn_enemies():
s.start_all_animations()
if wave_count == 3 : #This is for Boss
if wave_count == 0 : #This is for Boss
# Hide the player
# Speed up parallax
EventBus.cloud_speed.emit()
EventBus.cloud_speed.emit(true)
# Spawn Boss
EventBus.flash_screen.emit(.25)