I have an urgent question and it is: 'In the enemyspawner.sc script and in the spawn all waves is it supposed to spawn all the enemy waves at once? Because the it makes me wait until the first wave is fully spawned to spawn the next one.
Also, for some reason most of the enemies in a wave do not fire and i cant work out why.
That would not look good, wouldn’t it? Rick’s idea was to spawn the enemies of the first wave first. When all enemies in that wave were spawned, the enemies of the second wave are supposed to be spawned.
Also, for some reason most of the enemies in a wave do not fire and i cant work out why.
Please log messages with Debug.Log into your console to see if the enemies shoot. Also make sure that the background is farther away from the camera than the enemies. Otherwise, it might be that the lasers get rendered behind the background. Look the z-fighting effect up on the internet to learn more about this infamous effect.
Remember you can also look at the lecture code changes via the link in the Resources of each lecture.