equivalent to vector to angle in construct

Get help using Construct 2

Post » Tue Mar 08, 2016 2:10 am

Message: kiwaci can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
hello everyone, i'm trying to make this gamesalad tutorial : https://youtu.be/A0_lKpkgC4A?t=234 using construct2 but i can't seem to find vector to angle in construct 2 , so is there an alternative in construct2 because i want the object to rotation with the center like in the video. Thank you :)
B
3
Posts: 3
Reputation: 181

Post » Tue Mar 08, 2016 2:35 am

Here's my solution: make a sprite that has its X origin pretty far away from its center. Then give it rotation behaviour and then it'll orbit around the new image point.
B
7
S
2
G
1
Posts: 42
Reputation: 1,144

Post » Tue Mar 08, 2016 4:10 am

The angle() expression is what you're looking for.

angle(sun.x, sun.y, self.x, self.y)
B
92
S
32
G
109
Posts: 5,291
Reputation: 70,993

Post » Tue Mar 08, 2016 12:17 pm

thank you @R0J0hound it worked :D
B
3
Posts: 3
Reputation: 181


Return to How do I....?

Who is online

Users browsing this forum: Armench, farsen, PROxMTswatTR and 21 guests