Working with Jennie to adjust enemy identification in bullet.gd script

This commit is contained in:
Henry 2026-02-28 19:12:16 +00:00
parent 448009b6e4
commit aae3238906
3 changed files with 47 additions and 31 deletions

View file

@ -24,7 +24,7 @@ func _ready():
func spawn_enemies():
if wave_count == 2: #This is for CHICKENS
if wave_count == 0: #This is for CHICKENS
print("Enemy Wave: ", wave_count)
enemy = CHICKEN
for x in range(COLS):
@ -37,7 +37,7 @@ func spawn_enemies():
await get_tree().process_frame
print_debug("Remaining enemies: ", enemy_count, ", ", get_tree().get_nodes_in_group("enemies").size())
if wave_count == 0: #This is for CRTs
if wave_count == 1: #This is for CRTs
print("Enemy Wave: ", wave_count)
enemy = CRT
var cols_mod = COLS - 1
@ -52,7 +52,7 @@ func spawn_enemies():
enemy_count = rows_mod * cols_mod
await get_tree().process_frame
if wave_count == 1: #This if for Mirror
if wave_count == 2: #This if for Mirror
print("Enemy Wave: ", wave_count)
# Spawn Table