in a previous game I had made an undo button and from the amount of undistilled agony it brought me trying to make it without googling, i would have been tremendously impressed if someone made a game with it in 4 days
Viewing post in Cat King's Long Journey (GMTK Jam 2024) jam comments
I made a transaction system that stores changes so it shouldn't be a nightmare to add in, I just didn't have enough time to walk it back
I'll probably leave it as-is for the jam page as I'll probably just do some minor fixes once voting is over, but if I decide in the future to continue the game there will definitely be an undo button
That would certainly work, but a transaction system would probably be a lot less memory. I'm actually saving the results rather than the inputs. Something like a player moved 1 unit right and 3 units down and died, or a box moved one unit left
As you said it depends on the game so the full level state should be fine for a lot of cases