UID ( I think ) + BUFF Icon Removal

Get help using Construct 2

Post » Fri Jun 29, 2012 2:01 pm

OK.

https://docs.google.com/open?id=0B5puA55FudSeOU1tXzNPYXhvUzg

I am doing some concept proofs with the ghost shooter.

I put a SHIELD power up in the game. When the player picks the shield up it adds 1 to his shield and puts a SHIELD BUFF sprite on the HUD beside the score.

When he is at ZERO shields I want the shield to get removed.

How do I..... ?

Thanks!
B
12
S
1
G
1
Posts: 50
Reputation: 1,228

Post » Fri Jun 29, 2012 2:18 pm

You don't really need UID there.

You can make a new event and add those two conditions :
System: (compare global variable) shield = 0
ArmorPowerUp: is on layer 2

And have an action ArmorPowerUp: destroy
It should do the trick.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Fri Jun 29, 2012 4:10 pm

Thank you! Got that to work! Now I am going to make a BUFF bar so that there can be several kids of buffs all lined up on the top, like most MMO's do their system.

B
12
S
1
G
1
Posts: 50
Reputation: 1,228


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go and 5 guests