How do I activate the bullet

Get help using Construct 2

Post » Tue Oct 04, 2016 6:27 am

I am working on construct 2 I do no that how to activate the bullet for player after collecting something like coins in construct 2

problem:
1.after collecting the coins the player activated with 5 bullets the player can only use the 5 bullets for enemy attacking
2.randomly I wan to done collecting coins the bullets activate
I need some example .capx file please help me any one

Thanks
B
12
S
3
G
3
Posts: 17
Reputation: 2,238

Post » Tue Oct 04, 2016 9:07 am

I'm sorry, it appears English is not your prime language, and it's OK, but I do not understand what mechanic you are looking for exactly.

You talk about a limit of 5 bullets. So you should look into global and/or instance variables to count the number of bullets (or use the dedicated expression "Count") you have (on screen for example ?) and when the value is 5 do something.

I don't know what you mean by "activate bullet". Enable/Disable them ? If so, use the appropriate action from the Bullet Behavior.

In fact, it surely would be easier if you could provide your current project to let us know what you have so far and what is the context of coins and bullets you are talking about.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
284
S
109
G
91
Posts: 7,317
Reputation: 87,483


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 7 guests