want to rotate arrow in 90 degree

Just started using Construct 2? Post your questions here

Post » Wed Sep 13, 2017 7:26 am

hi folks,
i want to rotate my arrow from 0 to 90 degree and then reverse the arrow from 90 to 0 degree. this will go on. please help me. how is this possible
B
6
S
1
Posts: 20
Reputation: 392

Post » Wed Sep 13, 2017 8:06 am

Would something like this work for you?:

https://www.dropbox.com/s/l004glp91d67k ... e.c3p?dl=0
B
21
S
9
G
4
Posts: 473
Reputation: 4,285

Post » Wed Sep 13, 2017 8:16 am

hi, first of all thanks a lot for this.

but i think, u have send me the construct 3 file or some thing which is not supportable for my construct 2 engine.

can you send me some thing suitable for construct 2
B
6
S
1
Posts: 20
Reputation: 392

Post » Wed Sep 13, 2017 8:20 am

Then moved your topic to the actual Construct 2 forums.
If you do not want Construct 3 files, do not post in the Construct 3 forums.

Read the manual and learn how to use the Sine behavior, it will do what you are wanting when set to Movement : Angle and Magnitude : 90.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
294
S
117
G
96
Posts: 7,311
Reputation: 71,086

Post » Wed Sep 13, 2017 8:41 am

Cheers @Kyatric :-)

Same file in c2:

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

Kyatric's method works best if you want the speed to ease in and out at the limits of movement, mine is good if you want uniform speed.
B
21
S
9
G
4
Posts: 473
Reputation: 4,285

Post » Wed Sep 13, 2017 9:36 am

hello, thanks for this support.

but i want to move my arrow just like pendulam. where its tail will be fixed at a point but its upper portion will move from 0-90 degree and vice versa
B
6
S
1
Posts: 20
Reputation: 392

Post » Wed Sep 13, 2017 9:50 am

@sanjeev19jha - you just need to change the origin point in the sprite editor. If you want pendulum-like movement then use the sine behaviour as @Kyatric suggests.
B
21
S
9
G
4
Posts: 473
Reputation: 4,285

Post » Wed Sep 13, 2017 11:17 am

Hello,

thanks a lot to both of you guys. u have helped me a lot.
B
6
S
1
Posts: 20
Reputation: 392


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest