How do I Move on click in 4 directions whit animations

Get help using Construct 2

Post » Thu Sep 01, 2016 1:58 am

Hello, i'm triying to do the movement of my character, i did a pathfinding behavior on my character and then compare values between my chara X and Y with my Mouse X and Y.
My problem is that when my animations do not respond to the direction that I am telling the click correctly.
I attached them catch my event sheet.
Image
B
4
Posts: 3
Reputation: 206

Post » Thu Sep 01, 2016 2:20 am

A capx would let me and other troubleshooters get a close up view of what's happening, and likely find a quick solution.
Eat ALL THE BACON!
B
47
S
17
G
3
Posts: 290
Reputation: 5,068

Post » Fri Sep 02, 2016 3:17 am

Message: gabrielsc18 can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
I will attach the entire test proyect.
https://www.dropbox.com/sh/33qy50nkygvf7nk/AABfoP0tf7mnDxfhgrZwshT1a?dl=0
B
4
Posts: 3
Reputation: 206

Post » Fri Sep 02, 2016 4:48 am

Fixed. :mrgreen:

https://www.dropbox.com/s/0atm9l0u0kjxb ... .capx?dl=0

Please refer to this page to learn more about how I fixed the code.

https://www.scirra.com/tutorials/1117/a ... tion-games
B
11
S
6
G
15
Posts: 256
Reputation: 9,207

Post » Fri Sep 02, 2016 10:31 am

thank you so much!
B
4
Posts: 3
Reputation: 206

Post » Fri Sep 02, 2016 1:13 pm

You're most welcome, gabrielsc18. :mrgreen: Mouse on click movement was something that took me some time to learn as well.
B
11
S
6
G
15
Posts: 256
Reputation: 9,207


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot] and 44 guests