raylib
raylib copied to clipboard
[rcore] Replay record finish can't stop move (always keydown)
my test example
You can test replay record , Replay finish must input move key(A/D or LEFT/RIGHT) if I want stop
This is I learning raylib core_automation_events example
And how to disable player keyboard input when I replay record time. T_T Sorry I'm newbie, Don't know more...
@Angluca Thanks for reporting! At this moment it's not possible to disable user inputs from raylib but it could be a feature to consider... the only issue I see is how they could be enabled again if no inputs are processed? Maybe allowing a special key combination to re-enable... About this issue, again, there is no mechanism on raylib exposed to users to reset key states, it is always processed internally. Some alternatives are being considered in that regards...
Maybe can add function InputKeyDown/Press/Up(...) easy fix it
After call InputKeyPress(KEY_LEFT); InputKeyPress(KEY_RIGHT); // not need player input left/right key now when play record finish :)
Closing this issue, no mechanism is exposed at the moment to force/generate input events by user.