Need Help on Power Bar/Meter

Get help using Construct 2

Post » Fri Jan 01, 2016 12:50 am

Hey everyone,

I'm making this soccer game but I have a problem with the power bar/meter. I can't seem to make the ball go at a speed according to the power bar (e.g. If you release the mouse when the power bar has all the circles filled, you'd expect the ball to go at a high speed, and if you release the mouse when the bar has half of the circles filled, then you'd expect half the speed). I want to be able to make the ball speed dependent on the power bar frames.
B
7
S
1
Posts: 34
Reputation: 536

Post » Fri Jan 01, 2016 1:08 am

How are you setting the frames?
Are you using a variable?

If not, would this work?

On mouse-button released
> set speed to circle.animationframe*50
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Jan 01, 2016 1:17 am

LittleStain wrote:How are you setting the frames?
Are you using a variable?

If not, would this work?

On mouse-button released
> set speed to circle.animationframe*50


Thanks for your help! This worked :D
B
7
S
1
Posts: 34
Reputation: 536


Return to How do I....?

Who is online

Users browsing this forum: Benjo11, dzert14, Exabot [Bot], imhotep22, mdvgames and 3 guests