Respawning monsters?

For questions about using Classic.

Post » Sat Sep 05, 2009 1:21 pm

Is there a code that I could use for respawning enemies--or is the option buried somewhere in the defaults?

Thanks ahead of time.
B
2
G
3
Posts: 16
Reputation: 882

Post » Sat Sep 05, 2009 1:46 pm

Have you tried the Ghost Shooter tutorial? That has a simple method for re-creating monsters.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Sat Sep 05, 2009 2:00 pm

[quote="Ashley":tkod6ded]Have you tried the Ghost Shooter tutorial? That has a simple method for re-creating monsters.[/quote:tkod6ded]
i have, but it doesn't say how to make them respawn.

i don't want a certain amount--i want them to be spawned on a timer or something.
B
2
G
3
Posts: 16
Reputation: 882

Post » Sat Sep 05, 2009 2:23 pm

What you are describing is exactly what occurs in the Ghost Shooter Tutorials. Just use a condition:

- Every X milliseconds

Then do an action:

- Create Ghost offscreen... etc

If you look through the events in Ghost Shooter you will find it... assuming I understood your question.
B
8
S
3
G
7
Posts: 835
Reputation: 5,313

Post » Sat Sep 05, 2009 2:57 pm

[quote="scidave":4dumyb88]What you are describing is exactly what occurs in the Ghost Shooter Tutorials. Just use a condition:

- Every X milliseconds

Then do an action:

- Create Ghost offscreen... etc

If you look through the events in Ghost Shooter you will find it... assuming I understood your question.[/quote:4dumyb88]
it's...not in there.

so, how would I use it?
B
2
G
3
Posts: 16
Reputation: 882

Post » Sat Sep 05, 2009 5:42 pm

oops...I was thinking of the Ghost Shooter game under File, New, and New Templates/Examples. Look at event number 10. I think that is what you want.
B
8
S
3
G
7
Posts: 835
Reputation: 5,313

Post » Sat Sep 05, 2009 6:29 pm

[quote="scidave":20aaunyp]oops...I was thinking of the Ghost Shooter game under File, New, and New Templates/Examples. Look at event number 10. I think that is what you want.[/quote:20aaunyp]
thank you :3
B
2
G
3
Posts: 16
Reputation: 882


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 6 guests