WHAT VECTOR X EQUALS

Get help using Construct 2

Post » Thu Nov 14, 2013 6:46 pm

VECTOR Y = jump strength
vector x = ?
why am i asking?
i made a condition that if i land on top of an enemy set vector y -700 and it works perfectly.it jumps again over his head
i want to make a fallback movement for my hero when he gets struck by an enemy so i say
player on collision with enemy -----   set player vector x to -300 or 300 depending on which side he is in.
nothing happens!
even i input 1000000 or 10 same thing. my player get kicked back a few pixels from what i think is the force of collision between the two(enemy has platform behavior as well)
any ideas? thank you Roccinio2013-11-14 18:47:36
B
15
S
6
G
4
Posts: 277
Reputation: 3,948

Post » Fri Nov 15, 2013 12:51 am

Try to lower the deceleration of the platform behavior when the player is being hit and possibly also disable player input for the duration of the "fallback".
B
23
S
6
G
10
Posts: 1,041
Reputation: 7,553

Post » Fri Nov 15, 2013 1:27 am

The Y-Vector is the speed of the x-axis A.K.A horizontal velocity
the X-Vector is the speed of the y-axis A.K.A vertical velocity
Whiteclaws2013-11-15 01:27:59
B
42
S
17
G
17
Posts: 2,247
Reputation: 17,461


Return to How do I....?

Who is online

Users browsing this forum: dop2000, JackTYGA, mekonbekon, Yahoo [Bot], zenox98 and 22 guests