Hi!
I’ve been coding this for a while, and it seems that my “spawnEnemy_1” function is causing the screen to be black at the start of the game, even preventing it from loading. It never had that problem before, including when there were more that needed to be spawned. If anyone could help me find out why this is happening, I’d really appreciate it.
I just removed blocks until it started working again. Looks like setting the “health” value of the sprite is what’s causing this issue, and I traced that back to this function here:
When you have a While loop, the game doesn’t “move on” and do other stuff until the While loop stops running! I would do something like move this code into a Forever loop and change that While loop to an IF block instead! That should fix your issue!