punchy icon indicating copy to clipboard operation
punchy copied to clipboard

Input buffer

Open odecay opened this issue 3 years ago • 2 comments

Description

Assess the use of an Input Buffer for our chain + combo system.

This will look like a history of the players inputs for a certain number of frames, and a way to parse them when deciding which actions to queue. The main drive for this is to allow button inputs sent within a certain window of frames (usually during the duration of an attack animation) to trigger a follow up attacks, but it will be generally useful and allow us to better specify player behavior based on inputs.

  • [ ] write up more details and connect to #149
  • [ ] check how this implicates/could be implemented with Leafwing

Relevant discussion https://github.com/fishfolks/punchy/discussions/211

Alternatives & Prior Art

No response

odecay avatar Jul 26 '22 01:07 odecay

@alice-i-cecile there's not necessarily anything to do yet, but I thought I'd ping you just so you were aware that this is something we're considering that may or may not want some integration with LWIM.

I'm not sure if this is something you've thought about yet or not.

zicklag avatar Jul 26 '22 13:07 zicklag

Interesting 🤔 I'll chew on this with @plof27.

alice-i-cecile avatar Jul 26 '22 13:07 alice-i-cecile