Spawning on frame generates unwanted multiple obj.

Get help using Construct 2

Post » Fri Jun 28, 2013 10:50 am

Hi all.
Here's the situation:
Sprite A on a frame number 4 is to spawn sprite B with bullet behavior.
How to avoid constantly creating sprite B when frame number 4 lasts?
I need only one sprite B spawned on frame.
Thanks in advance.
B
33
S
12
G
6
Posts: 135
Reputation: 5,098

Post » Fri Jun 28, 2013 11:30 am

If you add a condition "Trigger once while true" (you can find it in the System object, under the "special conditions" category) to the event that checks the sprite A current Frame, the event will only trigger once every time A hits his 4th frame.

Here is a tutorial by Ashley on the subject, and other advance event features.Guizmus2013-06-28 11:31:19
B
17
S
8
G
4
Posts: 461
Reputation: 6,077

Post » Fri Jun 28, 2013 11:35 am

Thank You very much, Guizmus. I think this will do the trick.
B
33
S
12
G
6
Posts: 135
Reputation: 5,098


Return to How do I....?

Who is online

Users browsing this forum: AekiroStudio and 7 guests