Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throwing #8

Open
YinYin-Falcon opened this issue Jun 11, 2013 · 7 comments
Open

Throwing #8

YinYin-Falcon opened this issue Jun 11, 2013 · 7 comments

Comments

@YinYin-Falcon
Copy link

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.

@tyt2y3
Copy link
Owner

tyt2y3 commented Jun 11, 2013

well noted. and I am currently working on the count-down-release of catch. stay tuned for these fix.

@tyt2y3
Copy link
Owner

tyt2y3 commented Jun 11, 2013

fixing in commit 6f2c7db
check it out and let me know

tyt2y3 added a commit that referenced this issue Jun 12, 2013
…countdown

combodec: better compliance with LF2

statemem: statemem is managed by livingobject.js, and is cleared automatically every state transition

throwing issue: `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.` on #8

countdown: see frame transition sequence for details
@tyt2y3
Copy link
Owner

tyt2y3 commented Jun 12, 2013

fixed by 6f2c7db#L0R505

@YinYin-Falcon
Copy link
Author

Eh - I only know how to test the nightly build and I wouldn't know from the change whether that did it or not.

@tyt2y3
Copy link
Owner

tyt2y3 commented Jun 13, 2013

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

@YinYin-Falcon
Copy link
Author

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.

@tyt2y3
Copy link
Owner

tyt2y3 commented Jun 13, 2013

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants