Waiting For bullets to Collide First

0 favourites
  • 2 posts
From the Asset Store
Add calm and a lounge vibe to your games with these 8 tracks
  • 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 :)

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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 ?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)