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
24
S
10
G
1
Posts: 153
Reputation: 2,660

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: David181, shawnzien and 5 guests