Need help with enemy spawn

Get help using Construct 2

Post » Mon Feb 10, 2014 5:01 pm

Somebody can help me how to create a better spawn system than the one used on the last version of my game ( link: http://www.scirra.com/arcade/action/11817/take-to-heaven-demo-25)

It's a timed system, that spawn the enemy after 2 seconds that the first one dies (obs: I can't spawn more than one enemy of the same kind in the same time and I don't know how to fix that too) outside the "window screen".
If you want I can post a printscrren of the event sheet.
B
12
S
3
G
1
Posts: 80
Reputation: 2,109

Post » Mon Feb 10, 2014 5:24 pm

@alan349 I think it'd help if you posted the events you're using.
B
25
S
6
G
3
Posts: 197
Reputation: 3,355

Post » Mon Feb 10, 2014 5:41 pm

@alan349 You can use System-Every random(x,y) seconds and create the enemies outside with random too... create objet -enemie on layer 1 at (600, random(500)) for example... I dont know if this can help you...
B
17
S
5
G
2
Posts: 173
Reputation: 2,085

Post » Mon Feb 10, 2014 6:50 pm

[QUOTE=TwinTails] @alan349 I think it'd help if you posted the events you're using.[/QUOTE]

Here's the important part:

B
12
S
3
G
1
Posts: 80
Reputation: 2,109

Post » Mon Feb 10, 2014 9:44 pm

Here is a tutorial I did a while back using invisible sprites to trigger enemies. Maybe you could use something like that?

https://www.youtube.com/watch?v=e44_I8E77KI
B
101
S
32
G
11
Posts: 1,546
Reputation: 21,667


Return to How do I....?

Who is online

Users browsing this forum: Blendi1223, kellehk and 21 guests