How do I set a limit on objects on screen?

Get help using Construct 2

Post » Wed Jul 15, 2015 3:58 am

Hello,

I'm curious about how to set a limit on the number of a sprites that can appear on screen at a certain time. I hope my question is clear, to further clarify what I mean, how can I limit the number of sprite projectiles that appear on screen? I would like to make sure that no more than 3 bullets are allowed on screen simultaneously.

Thank you!
B
5
Posts: 12
Reputation: 249

Post » Wed Jul 15, 2015 4:18 am

Along with the condition that creates the projectile object add to Compare two values condition. First value: Obj_bullet.Count < Second value: 3.
Sorry for my English, I use google translator.
B
6
S
1
Posts: 29
Reputation: 465

Post » Wed Jul 15, 2015 4:49 am

Family_Projectiles.count > 3
Destroy Family_Projectiles
B
4
Posts: 33
Reputation: 266

Post » Wed Jul 15, 2015 6:02 am

You guys are awesome! I hope you make some great games! Thank you so much for all the help Seymour and Utembo!
B
5
Posts: 12
Reputation: 249


Return to How do I....?

Who is online

Users browsing this forum: Baidu [Spider], jbr190, plinkie, TRMG and 41 guests