Throw platform around

Get help using Construct 2

Post » Fri Oct 05, 2012 5:10 pm

Hello,
i'm creating sth similiar to fight game, like old Street Fighter but I have a problem with "throwing" platform object around.
Here is target:
-> player is in collision with enemy platform,
-> player is thrown away with force, that is enemy's instance local variable,
->player flyes in arc a distance influenced by force,
->player gets his controls back.

Lurking this forum for houers resulted in those 2 aproches:
by using platform vector: https://dl.dropbox.com/s/vvzyy2y8rtsn766/platform_throw_behav.capx?dl=1
and using math:
https://dl.dropbox.com/s/a8qcmga8lwoiy1r/platform_throw_math.capx?dl=1
but none of themem works. If i use platform vector it looks ok but it stops im mid-way and just jumps up in result, instead of hitting distance floor or wall. Math gives me headakes everytime, so it can be not working due to lack of skill. Thanks for any help in advance.

PS: English gives me headakes too :P
serek2012-10-05 17:11:44
B
3
Posts: 1
Reputation: 277

Post » Sat Oct 06, 2012 12:09 am

You'll have to disable the platform controls, lower the platform deceleration (so it doesn't stop mid air) and maybe increase the max speed temporarily while the player is flying through the air.
B
54
S
28
G
18
Posts: 1,520
Reputation: 25,020


Return to How do I....?

Who is online

Users browsing this forum: spcsmrf and 22 guests