How do I limit distance of sprite when aiming (parabola)

Get help using Construct 2

Post » Sat Jun 03, 2017 11:21 pm

Hello,

i am building an angry birds like game. Can you help me with this : I need to limit the distance of bird (sprite) from slingshot to a reasonable distance when aiming
As it is, I can move the bird all over the screen which is not natural.
I have posted a link for .capx :

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

Thank you for Your help
B
12
S
3
Posts: 26
Reputation: 816

Post » Sun Jun 04, 2017 7:55 pm

Limit the swing. Using clamp(n, lower, upper).
Easy to adapt if you build that .capx
B
33
S
18
G
28
Posts: 2,470
Reputation: 20,904

Post » Sat Jun 10, 2017 1:14 am

I managed to get it to work. I will post a working capx as soon as i get a chance. It will benefit a lot of people. Cheers!
B
12
S
3
Posts: 26
Reputation: 816


Return to How do I....?

Who is online

Users browsing this forum: NadeemAbbass, plinkie and 8 guests