I'm developing a Point And Click game in Construct. Everything is correct setup, but I'm having some issues related to the sprite movement.
For the basic sprite movement, I'm using Rex Move To Behavior plugin (avaible in this forum )
The problem is that my sprite has four different animations. How do I switch them according to the direction as it moves?
I really appreciate any help for solving this. Perhaps it is easy, but I can't figure out the logic for this.
I'd attached the .capx containing an example of what I am trying to do. Thanks!
moveTo -> compare moving angle.
If the moving angle is between 90 and 270, the character is moving to the left. Otherwise it is moving to the right. You can adjust that so you can also know if your character is moving up and down.
Develop games in your browser. Powerful, performant & highly capable.
Thanks for reply, but could you be a little bit more specific about the moving angles? I'm still really newbie in Construct 2 and programming... Many thanks for help!
This tutorial will help you :
https://www.scirra.com/tutorials/1117/a ... tion-games
About the moving angle : here the corresponding directions and regarding moving angles :
and so on