8 direction "ice skating" problem.

Get help using Construct 2

Post » Wed Jun 19, 2013 8:10 pm

I looked this up, but I didn't see my specific problem.

I have a sprite using 8 directional movement
I just want an animation to take place when someone hold a direction between the standard 4.

When the player hits an angled direction on the keyboard the character should still use the left or right animation instead it looks like he's iceskating.

Whats a good technique to get ride of this? I just want the side walking animations to work in this case.

http://www.locomotive8.ca/Cap/

move him around diagonally, see what im talking about. Thank you!Miceal2013-06-19 20:20:59
"Enter The Grump Monk"
B
15
S
5
G
5
Posts: 40
Reputation: 4,109

Post » Wed Jun 19, 2013 10:52 pm

Hi Miceal,
I haven't used the 8 way movement behavior lol...

Anyways, I might go about it by creating a first condition for the direction, lets say left...

Left pressed -Blank
(sub event)Up pressed or down pressed -Set Animation (left)

And then another condition

Up pressed                 -Set Animation (up)
Xleft down (inverted)
Xright down (inverted

And the same thing for down....

I hope that helps, I haven't tested it in a similar project.
B
4
S
1
Posts: 13
Reputation: 376

Post » Thu Jun 20, 2013 2:59 am

appreciate it! Will let ya know
"Enter The Grump Monk"
B
15
S
5
G
5
Posts: 40
Reputation: 4,109


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 5 guests