Open YinYin-Falcon opened 11 years ago
well noted. and I am currently working on the count-down-release of catch. stay tuned for these fix.
fixing in commit https://github.com/tyt2y3/F.LF/commit/6f2c7dba0556a1040d42d8a5fc96b909dbae5395 check it out and let me know
Eh - I only know how to test the nightly build and I wouldn't know from the change whether that did it or not.
it is now pushed to latest demo
I mentioned that particular line of fix, may be you can have some idea on how it works
$.con.state.up
, $.con.state.down
, $.con.state.left
, $.con.state.right
indicate whether the four directional keys are being pressed down,
$.con.state.up !== $.con.state.down;
means no key conflict (cannot press both at the same time)
cpoint.taction
is the particular throw action defined in LF2.
hope it helps
Ah okay - throwing an opponent by holding just up or down works I see. However I cannot manage to throw forward anymore - the character always turns.
the turning behavior is defined in data file by a negative cpoint.taction
in my implementation, in such case, it always turn around.
may be this is not compatible with LF2, let me try try then.
https://github.com/tyt2y3/F.LF/blob/master/character.js#L509
Throwing anything in LF2 (character/item) does not only happen while holding left/right and pressing attack but also when holding up/down and pressing attack.