How do I Scale and Reset the width of an object(capx)

Discussion and feedback on Construct 2

Post » Thu Sep 24, 2015 9:46 pm

Getting no joy on the How Do I sections of the forums so i thought i would post this here and hopefully get a bit more visibility.

"Hello,

I have a progress bar that scales with the number of points gained. The bar has 3 stages - bronze,silver and gold. When the Bronze bar reaches its limit ( 500 ) it changes to a Silver bar, however, the silver bar progress is halfway filled as the points are currently at 500/1000. I cant reset the points when the bar reaches Silver as that just creates the Bronze bar again.

What i need is for each goal reached, the progress bar resets to 0width instead of continuing from the previous goal.

CapX is attached for those that can help. Just press the "+" to add points and you will see what i mean.


https://www.dropbox.com/s/ndtommlh1nnth ... .capx?dl=0

Thanks in advance
Metr1c"
Last edited by METR1C on Fri Sep 25, 2015 12:36 am, edited 2 times in total.
B
9
S
3
Posts: 45
Reputation: 805

Post » Fri Sep 25, 2015 12:09 am

There is something wrong with your link.
B
15
S
6
Posts: 105
Reputation: 1,356

Post » Fri Sep 25, 2015 12:37 am

phimaka wrote:There is something wrong with your link.


Fixed, apologies :)
B
9
S
3
Posts: 45
Reputation: 805

Post » Fri Sep 25, 2015 12:53 am

Try this:

Image
B
15
S
6
Posts: 105
Reputation: 1,356

Post » Fri Sep 25, 2015 4:08 pm

phimaka wrote:Try this:

Image



Thank you very much Phimaka, that worked perfect. So simple when you know how eh :)
B
9
S
3
Posts: 45
Reputation: 805


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 7 guests