Hello
I want to turn around my player(only left and right), player use pathfinding behavior but if i use rotate my object "player" rotate around :P
Develop games in your browser. Powerful, performant & highly capable.
construct.net/en/make-games/manuals/construct-3/plugin-reference/sprite
Use the 'Set Mirrored' action.
Yea i look at this option and try IT. So the diffrence is a player still watching left side now not right :p
Keep track of the players x position in an instance variable at the end of every tick. Compare the current x position, if less than last x, set mirrored. If greater than, set not mirrored.
I try something like this but still dosnt work, what im doing wrong :P?
You want to update the variable at the end of the tick, put that action after the ones to check and set mirrored.
Yep that work, thanks ! :)