How do I Slide Shot(Angry Birds)

Get help using Construct 2

Post » Mon Apr 24, 2017 2:44 pm

Hello,
I would like to know how I do a Slide Shot (Angry birds)
I need it to rotate the projectile (Arrow) from 10 to 45º
The model containing here in the forum or in exemples of C2
It rotates 180º and I can not modify it to go only up to 45º
Can someone help me?
B
6
S
1
Posts: 25
Reputation: 402

Post » Mon Apr 24, 2017 5:10 pm

Hello

Correct me if i got your wrong , you want to modify the Catapult example in C2 to make it limited between 10 to 45 degrees instead of 180° ?
if that what your looking for , then it's easy , i just saw your post and opened the C2 example and added only 2 conditions to the existing one.

here is the capx file : notice the difference between the original code and this there is only more 1 Sub-event made of 2 conditions for the touch event that drags the projectile and set the angle.

https://drive.google.com/open?id=0B3inOTwCmTPDUFlxY09hbUU4SWc
B
12
S
6
Posts: 118
Reputation: 1,466

Post » Mon Apr 24, 2017 6:59 pm

omg, thx man!
B
6
S
1
Posts: 25
Reputation: 402


Return to How do I....?

Who is online

Users browsing this forum: Syazanie Amirin and 6 guests