libTAS icon indicating copy to clipboard operation
libTAS copied to clipboard

Add sub-frame inputs

Open Matte27 opened this issue 6 years ago • 3 comments

Allow doing multiple inputs of the same key during a single frame.

Matte27 avatar Jun 28 '19 20:06 Matte27

Would you mind elaborating on sub frame input? I never really understood what it does.

InfamousKnight avatar Jun 30 '19 18:06 InfamousKnight

Maybe it is a bad description of it but in some games you can give multiple inputs of the same key during one frame. For instance in some strategy games you can perform multiple commands during a frame and they all get processed after the frame has passed.

Matte27 avatar Jun 30 '19 21:06 Matte27

A good example would be DOS - in jpc-rr, you can press and release a key as many times as you want, and advance time any number of milliseconds you like. The keyboard inputs get placed in a buffer, and the game processes them as fast as it can - depending on the game, it might care about inputs only once per frame, or it might honour every single input it sees. It makes sense that some PC games would do this too.

Patashu avatar Jul 03 '19 01:07 Patashu