On the advice of Sophie, I adjusted the shader settings on the resource
to be local to the scene so not all CRTs flashed when one got hit.
This commit is contained in:
parent
aae3238906
commit
4f0eff986f
5 changed files with 44 additions and 41 deletions
|
|
@ -24,7 +24,7 @@ func _ready():
|
|||
|
||||
func spawn_enemies():
|
||||
|
||||
if wave_count == 0: #This is for CHICKENS
|
||||
if wave_count == 1: #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 == 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue