[SOLVED]Waves spawn and dies instantly.

Get help using Construct 2

Post » Thu Apr 17, 2014 1:14 pm

Hello all,

I have been trying to fix this bug in my game for about 2 days now and with no success. I have tried multiple suggestions made here regarding the issue of making "enemy waves" but every time the same bug occurs.

Currently what I want to do is that I am trying to spawn some enemies when all enemies on the screen are dead. So I pick a random spawn point and ask it to spawn an enemy. Unfortunately when the enemy spawns, it is killed instantly and the effect for killing it appears.

I have attached the .capx file. Anyone can tell me what am I doing wrong?

Thank you very much in advance :)
Last edited by Vallar on Thu Apr 17, 2014 6:38 pm, edited 3 times in total.
B
19
S
7
Posts: 161
Reputation: 1,751

Post » Thu Apr 17, 2014 2:10 pm

Hey, I took a look at your project. And it seems you just forgot the set the health variable of the brick dudes when you create them. Currently they spawn with 0 health, hence dying instantly :D
B
43
S
12
G
6
Posts: 446
Reputation: 6,802

Post » Thu Apr 17, 2014 2:36 pm

EDIT: Thank you very much, you saved me with that remark. I failed to notice this one out ^_^
B
19
S
7
Posts: 161
Reputation: 1,751


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 14 guests