How do I 'swing' a sprite

Get help using Construct 2

Post » Wed Jun 29, 2016 12:17 am

I have modified the included Physics example. Instead of catapulting the pig, I want the pig to be 'kicked'.
I have a sprite that represents the leg, and it pulls back correctly when you are aiming.
However, once you release and launch the pig, I'm not sure how to 'swing' the sprite to show it is being kicked.
It doesn't have to actually kick the pig, just swing the leg sprite and look like it does..
Would this be better suited for an animation in the sprite?

Image
B
29
S
14
G
9
Posts: 80
Reputation: 5,998

Post » Wed Jun 29, 2016 4:39 am

LiteTween to the rescue! What a great behavior!

Image
B
29
S
14
G
9
Posts: 80
Reputation: 5,998


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 24 guests