bar relationship

Get help using Construct 2

Post » Sat Apr 06, 2013 11:26 pm

Hey guys I have yet another problem.

I'm trying to set it so that when my blue bar decreases in width, the green bar goes up by a set incremement. Not sure how to set this though. Hope someone can help me out! It seems buggy (sometimes goes up sometimes doesnt).

Im also trying to set the condition so that only once the 'Idle animation' is finished/off the screen(not sure which its meant to be) then the incremement takes place.

Again I've attached the capx file for easier understanding :).

Thanks!

https://www.dropbox.com/s/ztaag811gj7goyk/random2.capx

Let me know if I'm unclear

B
7
S
2
G
3
Posts: 31
Reputation: 2,446

Post » Sun Apr 07, 2013 5:19 am

Hey Yumbie

http://db.tt/wMfmylzX

In this example by pressing z the blue bar will decrease and then based off how far it decreases your green bar goes up in increments.

You can add in more conditions to check for each event that raises the green bar but Im not sure why you would only want the bar to increase when the idle animation finishes.       
ImageImage
B
73
S
16
G
6
Posts: 1,038
Reputation: 10,473

Post » Mon Apr 08, 2013 7:34 am

@GenkiGenga Hey there thanks for the reply.

Actually that wasn't what i was trying to do but i figured it out anyway :).

Thanks anyways.

I will also check out your game. looking forward to it !
B
7
S
2
G
3
Posts: 31
Reputation: 2,446


Return to How do I....?

Who is online

Users browsing this forum: Bad Wolf, davides, NRABrazil, Vallar, Walessio, WhosWho and 26 guests