Four direction mouse and WASD

Get help using Construct 2

Post » Mon Mar 25, 2013 11:08 am

How to make only 4 directions (up, down, right, left) when you click the mouse. Looks like a game Warspear-online.
And WASD keys
--
That man is not running at 45 degrees, and the only (up, down, right, left) as Warspear-online
--
Below the image is the animation. Who do I thank =)
--
B
21
S
4
G
2
Posts: 66
Reputation: 2,741

Post » Mon Mar 25, 2013 11:12 am

What are you waiting from us ? I can't understand this post ...
B
34
S
16
G
16
Posts: 2,222
Reputation: 16,564

Post » Mon Mar 25, 2013 11:44 am

I need a hero to control your mouse and WASD when walking on a flat line. As the game WArspear-online
B
21
S
4
G
2
Posts: 66
Reputation: 2,741

Post » Mon Mar 25, 2013 4:53 pm

I believe what GodSpear means is how to make it so when you click to move, the player moves only straight lines to get to the destination, as in when you click up right of the character, the player moves right, and then up, instead of moving diagonally.

Unfortunately I haven't done this yet so I do not know :/
B
26
S
5
G
5
Posts: 98
Reputation: 4,734

Post » Mon Mar 25, 2013 5:08 pm

No, I wanted to move like a hero in the Chinese mobile game movement left, right, up and down
B
21
S
4
G
2
Posts: 66
Reputation: 2,741

Post » Mon Mar 25, 2013 5:21 pm

You ever played warspear-online so I need a motion clicked and he runs to his pointed and runs in a straight line movement of the square that is an example of an image
-
Where all this is an order target mouse
Red is a go hero
B
21
S
4
G
2
Posts: 66
Reputation: 2,741

Post » Tue Mar 26, 2013 8:01 am

No one knows how to do = (
B
21
S
4
G
2
Posts: 66
Reputation: 2,741

Post » Tue Mar 26, 2013 8:30 am

Try pathfinding with setting 'diagonals' disabled.
B
24
S
8
G
7
Posts: 756
Reputation: 7,192

Post » Tue Mar 26, 2013 8:52 am

He goes to 0 ... 360 Angle and different directions, and I need a hero to go only to the 0 and 90, and 180 and 270 Angle and animation
B
21
S
4
G
2
Posts: 66
Reputation: 2,741

Post » Tue Mar 26, 2013 12:24 pm



Here's to the future of the project, but the problem of managing the movement of the hero SWAD.
W - Hero runs the day if he lets stop
S - Hero runs down when it stops releasing
A - The hero runs to the left, if let go, it stops
D - The hero runs to the right, if let go, it stops
B
21
S
4
G
2
Posts: 66
Reputation: 2,741

Next

Return to How do I....?

Who is online

Users browsing this forum: dewetberg, RickUSBstick, Yahoo [Bot], Yura G and 19 guests