The Daily Click ::. Forums ::. Klik Coding Help ::. Movement like in "Guns and Angel" / 2 Movement Animations depending on Crosshair Position
 

Post Reply  Post Oekaki 
 

Posted By Message

Testpilot777



Registered
  21/01/2017 23:07:37
Points
  2
21st January, 2017 at 21/01/2017 23:31:42 -

Hello iam trying to make a Run and Gun Plattformer in MMF2,
I have a Crosshair (moved by mouse) and a player (moved by Plattform movement / which is made from 2 Objects - the head+weapon which always looks at the crosshair and ist fixed relative to the Body and the Body which ist the Player Object and has the Movement Animations).

What i want ist that the Player has 2 different movement animations depending on his position relative to the crosshair object, so that the player toon is animated walking backwards if he moves away from the crosshair.

There is a Flashgame called Guns and Angel that has exactly the Movement i want to make,
here you can the movement very well, any Idea how to do this? Ty!

https://www.youtube.com/watch?v=8Xg3gVwW5Xk

 
n/a

Airflow

imafirinmahlazr

Registered
  24/09/2003
Points
  -197

VIP MemberSonic SpeedSnow Cloud!Computer
22nd January, 2017 at 22/01/2017 09:19:06 -

it's cheap but you could force player to always look at the crosshair. then walking could play the same animation backwards and forwards, but you'd need to make the legs look right.

 
n/a

Testpilot777



Registered
  21/01/2017 23:07:37
Points
  2
22nd January, 2017 at 22/01/2017 14:55:54 -

Nice Idea but it doesnt work because if u do this and walk away from the crosshair ur Toon starts shacking and only goes very slow. I think i will make my own movement conditions and have to separate Animations depending if keys are pressed while the toon is right or left of the crosshair.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click