How do I

Get help using Construct 2

Post » Wed Feb 01, 2017 12:50 am

how do i can make a (ball clicking game)
a ball that jumps up when i touch it and fall down when i leave it
i knew how to set score , bound to layout , and more
i just need my ball to jump up in randomly angles every time i click it
capx will be appreciated
thanks in advance :)
B
22
S
8
G
2
Posts: 77
Reputation: 2,701

Post » Wed Feb 01, 2017 1:47 am

try to put physics behavior... :D
B
79
S
31
G
7
Posts: 148
Reputation: 9,179

Post » Wed Feb 01, 2017 5:28 pm

@clarkkentnicdao and ? :D
B
22
S
8
G
2
Posts: 77
Reputation: 2,701

Post » Wed Feb 01, 2017 6:23 pm

semaso wrote:@clarkkentnicdao and ? :D

When you click the ball, apply physics impulse.
Set the strength and set angle to random(181,359)
This is because if you set it to random(0,180) the ball force could also be applied downward.
Image Image Image
B
32
S
12
G
27
Posts: 761
Reputation: 17,244

Post » Wed Feb 01, 2017 10:14 pm

@MPPlantOfficial thanks iwill try this :)
B
22
S
8
G
2
Posts: 77
Reputation: 2,701


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, Lordshiva1948, plinkie and 16 guests