platformer shooter game - model animation

Get help using Construct 2

Post » Sun May 18, 2014 8:36 am

Helllo everyone,
im working on a platformer shooter where a player's model is capable of shooting in a direction of a mouse cursor.
i have done legs and torso animation so far, and it's working well, geting mirrored when you alternate direction movement, left or right.
i got the "weapon and arm" sprite separated from the rest of the model, now i have to make it allways facing the mouse cursor so a player can aim, but also it has to mirror the whole animation if the cursor goes from left side of the model to right and vice-versa
help much appreciated !
B
4
Posts: 12
Reputation: 224

Post » Sun May 18, 2014 6:37 pm

Every Tick > Weapon Set Angle Toward Position > Mouse.x,Mouse.y

If Touch.x > weapon.x = Set Mirrored
Else = Set Not Mirrored.

I Am Not Good At English, Sorry.
B
9
S
3
Posts: 20
Reputation: 759


Return to How do I....?

Who is online

Users browsing this forum: FlyingRam and 9 guests