How do I add to the "Set Width" event?

Get help using Construct 2

Post » Sun May 22, 2016 12:43 pm

Yo! Quick question, I'm sure the answer is simple but I can't seem to remember...

When I have a "Set Width" event, how do I set the width to +4?

So for example, there's a bar on the screen which will increase in width every time you grab a coin. How can I make the bar increase by +4 every time a coin is collected?

I simply need to know the expression, not a full explanation of how to do the coin thing ^-^

Thank you very much in advance!
B
30
S
12
G
1
Posts: 167
Reputation: 3,038

Post » Sun May 22, 2016 12:50 pm

Set object width to "object.width+4"
B
15
S
6
Posts: 85
Reputation: 1,195


Return to How do I....?

Who is online

Users browsing this forum: kelany, Ofris and 10 guests