Made refinement to CRT enemy movement logic.
This commit is contained in:
parent
004e1063b8
commit
448009b6e4
5 changed files with 37 additions and 37 deletions
|
|
@ -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 == 1: #This is for CRTs
|
||||
if wave_count == 0: #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 == 0: #This if for Mirror
|
||||
if wave_count == 1: #This if for Mirror
|
||||
print("Enemy Wave: ", wave_count)
|
||||
|
||||
# Spawn Table
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue