Waiting For bullets to Collide First

Get help using Construct 2

Post » Wed Jan 16, 2013 2:49 am

Hello Guys just wanna ask I'm making this some kind of game in which I have a Player which spawn bullet(on Click) to attack it's enemy. What I want to do is I want the player to just spawn 3 bullets in 3 clicks then wait until the bullet collided in the enemy then able to spawn bullets again. Hope you guys get my point. please help thank you :)
Posts: 3
Reputation: 356

Post » Thu Jan 24, 2013 10:31 pm

So, the player have 3 bullets?, and will get 3 more when they collide with the enemy:

Create a variable on your bullet called something like GiveAmmo. It's number should be 3.
event sheet:

On left click if GiveAmmo is Equal to 1,2,3,   Shoot bullet

When bullet shot,   Subtract 1 from GiveAmmo

When bullet collides with enemy,   Set GiveAmmo to 3.

like that ?
Posts: 55
Reputation: 735

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 13 guests