Page 1 of 1

undo key

Posted: Thu Feb 19, 2026 6:44 pm
by ncrecc
currently the undo/redo functionality for game engine snapshot mode is only available as a button in the user interface that you click (and only if you have "show undo/redo buttons" enabled). that's a little inconvenient as RnD the most part does not use the mouse cursor ingame. an optional key shortcut for it (akin to save tape and load tape) would be appreciated.

Re: undo key

Posted: Fri Mar 06, 2026 11:18 am
by Holger
This is a very good idea (and in fact quite obvious, now that I think about it)!

And it should be quite easy to add that functionality. :)

Re: undo key

Posted: Sun Mar 08, 2026 8:27 am
by TheOnyxGuy
Neat!
Although the question is are they going to be dependant on the "Snapshot mode" setting? I'm pretty sure they're only going to be available when it's ON.
But are they going to be dependant on the "Show Undo/Redo buttons" setting? Something tells they should work no matter if the buttons are ON or OFF.

Re: undo key

Posted: Sun Mar 08, 2026 2:19 pm
by ncrecc
TheOnyxGuy wrote: Sun Mar 08, 2026 8:27 am Neat!
Although the question is are they going to be dependant on the "Snapshot mode" setting? I'm pretty sure they're only going to be available when it's ON.
this is actually already a dilemma that exists with the "show undo/redo buttons": if that option is on but snapshot mode is disabled, the buttons still appear in the interface, but clicking them does nothing
But are they going to be dependant on the "Show Undo/Redo buttons" setting? Something tells they should work no matter if the buttons are ON or OFF.
undo (and redo?) key shortcuts would work independently of the clickable buttons being enabled

Re: undo key

Posted: Mon Mar 09, 2026 5:05 pm
by Holger
this is actually already a dilemma that exists with the "show undo/redo buttons": if that option is on but snapshot mode is disabled, the buttons still appear in the interface, but clicking them does nothing
This is a bug and should be fixed! :(
undo (and redo?) key shortcuts would work independently of the clickable buttons being enabled
That's right. :)

Re: undo key

Posted: Sun Jul 05, 2026 2:07 pm
by ncrecc
is this still under consideration?

Re: undo key

Posted: Tue Jul 07, 2026 8:45 am
by Holger
ncrecc wrote: Sun Jul 05, 2026 2:07 pm is this still under consideration?
Definitely yes! But thanks a lot for the reminder, I already forgot about this again! :shock:

I thought it would be easy to add, but then had to realize that the current undo/redo functionality (button only) is only implemented halfway (and incompletely). (This can be seen when using undo when the game is paused vs. when the game is not paused, with snapshot mode set to "make a snapshot after each collected item", which results in different snapshot restore positions in both cases, which should not be the case.)

So I will first have to fix this, and then add key shortcut support for undo/redo (which should then indeed be easy).

Re: undo key

Posted: Sat Jul 18, 2026 12:19 pm
by Holger
Shortcuts for undo/redo are now implemented (and will be available with the next release version).

Thanks again for the reminder! :)