hello everyone, i'm trying to make this gamesalad tutorial : youtu.be/A0_lKpkgC4A 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 <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile" />
Develop games in your browser. Powerful, performant & highly capable.
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.
The angle() expression is what you're looking for.
angle(sun.x, sun.y, self.x, self.y)
thank you R0J0hound it worked