Input Buffer

The Input Buffer Component (AC_InputBuffer) ensures smooth gameplay by queuing inputs when actions are unavailable (e.g., mid-animation). When the player inputs a new action while another is active, the system waits for the current action to finish before executing the queued action.
For e.g, Dodging is an action. Jumping is also an action. If we try to Jump while Dodging, we will only be able to Dodge when the buffer is closed:
The component is added to the Character class by default (B_Soulslike_Character).
How it Works
Player inputs an action (e.g., light attack).
If the player is already performing an action, the input is stored in the AC_InputBuffer.
Once the current action completes (and the buffer is closed), the queued action is executed.
Example Usages
Queueing an action:


The buffer windows are handled through the ANS_InputBuffer notify state.
Last updated
Was this helpful?