The Undo Button | Ed-Engine Devlog #05

Published 2020-08-23

All Comments (5)
  • @abdelrahman5094
    I was waiting for this part since you started the whole project
  • @05R6CASPER
    Very cool. I started watching your Animation Nodes series, and it's like the best tutorial I've ever seen. The animations/transitions you do in the video are amazing, as well as the content. I had to create an undo/redo system as well. I did it using the "Command Pattern" (one of the few design patterns I've actually used!). It's basically just a stack, and you make sure every state change can be represented as a command pushed onto that stack. Not sure how different this is from what you designed. I should mention it's how undo works on the macOS operating system too - it's called NSUndoManager. See https://en.wikipedia.org/wiki/Command_pattern for details. Just wanted to share incase you run into issues with your implementation and need ideas. Cheers!