Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

2D platformer: wave countdown issues

ShaninooShaninoo Member
edited February 2021 in Brackeys' Tutorials

Hi guys, really hoping someone can help!


I am about half way through the second wave spawner video for the 2d platformer series. The countdown won't count down! I've checked my code against Brackeys and can't figure it out for the life of me (I've attached code below).


I thought I had the answer when scrolling through the comments and someone had the "if (waveCountdown <= 0)" as "if (waveCountdown >= 0)".


The timer started counting down and I thought I finally had it but then the enemies were spawning immediately and the timer would stop as soon as the enemies were destroyed.


It's so frustrating and I'm loving the series, I'd hate for something like this to mess up my progress.


Sign In or Register to comment.