How do I pull a sprite towards centre of another sprite?

Get help using Construct 2

Post » Tue Apr 26, 2016 7:18 am

I have main character sprite and a rotating circular sprite with a section cut out for the character to move into.
As the circular sprite rotates I have the character moving along with it in the circular motion.
Using platform behaviour and the circular sprite is solid, the character moves along inside the cut out section as it spins.
How do I make the character sprite push toward to the centre of the circular sprite as it is rotating so it doesn't fall out?

I am basically looking for a behaviour to push one sprite towards another sprites centre point, but not move through it (as it is solid)
B
7
S
1
Posts: 18
Reputation: 423

Post » Tue Apr 26, 2016 12:40 pm

Can you provide some images for what are you trying to accomplish? This is so we can be sure that we understand your query correctly.
I got a game that you multiply, breath fire with two heads and brawl foes to oblivion with your clones: http://www.newgrounds.com/portal/view/660664 (use Chrome on Windows for best performance)

My sites:
http://twinblazar.deviantart.com
http://twinblazar.newgrounds.com
https://twitter.com/twinblazar
http://www.pixiv.net/member.php?id=15072448
B
30
S
11
G
11
Posts: 411
Reputation: 8,469


Return to How do I....?

Who is online

Users browsing this forum: Euduardo and 26 guests