8 Direction movement. or Custom?

Get help using Construct 2

Post » Mon Apr 09, 2012 7:16 pm

Hey i'm going for a Movement style similar to Castle Crashers.

Problem is, when i am using the 8 Direction Movement it turns my Sprite up and down and weirdness..

I guess i understand why it does that..

Should i go for Custom Movement?

The point is that the character animation only should change when he turns left and right.

(I wont be using the Mirror Action because the Character is holding different things in both hands.)


--------------------------------
Perhaps i can get two questions answered at once!

Movement animation stops after being played once. Should go on until i release the key or something happens.
B
40
S
11
G
4
Posts: 665
Reputation: 8,403

Post » Mon Apr 09, 2012 8:11 pm

theres a setting in 8 directions properties called Set Angle. Change it to no and it wont change any directions or animations unless you tell it to

For the animations theres a loop setting in the same place all the object properties are when you edit them. Click the animation and the options are there
B
13
S
5
G
2
Posts: 306
Reputation: 3,262

Post » Mon Apr 09, 2012 8:57 pm

Found the Loop Animation and Set Angle !
Ty :)

So now i just run a Event that Changes the Animation when A or D is changed?



B
40
S
11
G
4
Posts: 665
Reputation: 8,403

Post » Mon Apr 09, 2012 9:43 pm

Oops, didn't know it didn't have to set angle. ;)

Ninja edit.

You can set direction of the spirte flipped/not flipped by testing if it's moving on a positive or negative x vector.

JohnnySix2012-04-09 21:51:37
Image
B
27
S
9
G
5
Posts: 487
Reputation: 11,939

Post » Mon Apr 09, 2012 11:35 pm

Cool i try that out :D
B
40
S
11
G
4
Posts: 665
Reputation: 8,403

Post » Tue Apr 10, 2012 12:10 am

[QUOTE=JohnnySix] Oops, didn't know it didn't have to set angle. ;)

Ninja edit.

You can set direction of the spirte flipped/not flipped by testing if it's moving on a positive or negative x vector.

[/QUOTE]

Was working, but if i am simply moving down it flips the character back, so i think it is best if i change it by KeyPressed :)
B
40
S
11
G
4
Posts: 665
Reputation: 8,403


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 1 guest