Leafwing-Studios / leafwing_input_playback

Input capture and playback functionality for the Bevy game engine.
Apache License 2.0
30 stars 5 forks source link

Accelerated playback strategy #26

Open alice-i-cecile opened 2 years ago

alice-i-cecile commented 2 years ago

What problem does this solve?

For nonsensitive tests, I want to play back inputs as quickly as is reasonably possible.

What solution would you like?

Add PlaybackStrategy::Accelerated, which plays back events as fast as possible. Events that were sent on different frames should continue to be on different frames, but dead frames should be skipped.