Help

Get help using Construct 2

Post » Mon Mar 03, 2014 8:46 am

@Cesarzevil
What did you try to solve this problem ?
Did you understand where this comes from ? Look at your events. As you describe it, "When click on red ball and drag over the yellow ball, both balls are thrown". This means that the "trowing" event is also triggered when the mouse goes on top of the yellow ball.
So if you want the mouse to trigger only the first ball it touches during clicking, you need not to activate the "ivPickedBall" of each ball every tick. Instead, you need to activate only the first ball touched, and then set this boolean to false on touch end.
B
17
S
8
G
4
Posts: 461
Reputation: 6,157

Post » Tue Mar 04, 2014 5:20 pm

@Guizmus
I put in false and does not work, the drag is the same or I can throw two balls at once.
:(
B
11
S
5
G
1
Posts: 410
Reputation: 2,802

Post » Wed Mar 05, 2014 1:15 pm

Try everything and still not working, someone help me?
B
11
S
5
G
1
Posts: 410
Reputation: 2,802

Post » Wed Mar 05, 2014 1:23 pm

Could you show us the Boolean try ? It is the way to go here, it works, based on what you had (I tried ^^). With your try, we could tell you where you made a mistake.
B
17
S
8
G
4
Posts: 461
Reputation: 6,157

Post » Wed Mar 05, 2014 2:56 pm

Not serve me, because the yellow ball does not move, but if dragged with another red, the two move
B
11
S
5
G
1
Posts: 410
Reputation: 2,802

Post » Thu Mar 06, 2014 9:07 am

I need help, this is the main basis of the game
B
11
S
5
G
1
Posts: 410
Reputation: 2,802

Post » Thu Mar 06, 2014 1:09 pm

I have to pay for someone to do what I ask, what a pity!. Any interested?
B
11
S
5
G
1
Posts: 410
Reputation: 2,802

Previous

Return to How do I....?

Who is online

Users browsing this forum: Lordshiva1948 and 44 guests