Log In  


In 0.1.11d I managed to unexpectedly lose a bunch of sfx entries I had created by hitting undo once. Redo did nothing.

Steps to reproduce:

  1. Start a fresh PICO-8 0.1.11d instance
  2. Go to SFX 0 and enter a value for note 0 and note 1
  3. Go to SFX 1 by pressing the right arrow button in the interface
  4. Without changing your cursor position, enter values for notes 2 and 3. After pressing the right arrow button in step 3 your cursor should be on note 2, so you just type two notes. (I've noticed it's also possible to reproduce if I change cursor position in step 4, but I was not able to do this consistently.)
  5. Hit CTRL-Z

Expected result:

  1. The entry of note 3 in SFX 1 is undone
  2. Hitting CTRL-Y restores the note

Actual result:

  1. All note data disappears in SFX 0 and 1 and SPD is set to 0 too.
  2. CTRL-Y does nothing

I've also noticed that after starting PICO-8, SFX 0 initially has SPD 01 and all others are SPD 16. After step 6 all SPD values are suddenly 0. You also get the same behaviour if you skip steps 3-4 and go straight from step 2 to step 5. When this happened in my real project, it did not delete all SFX data, I think it deleted everything up until the last save or so, although I'm not 100% sure about that.

2


That happens with 0.1.10 too.


Bump: This is happening to me in v0.1.11g – one year since this thread was started.


Guys, proper UNDO only works correctly in coding. If you try UNDO in graphics, mapper, SFX, or MUSIC, there is only one level, which can definitely cause you to lose entries.

Now it would be nice if ZEP put a robust UNDO ability for all aspects of cart creation as he has current singularly for coding.


Or, at the very least, ignore the undo key on the screens where it's not going to do something sane. :)


Two relevant fixes in 0.1.12:

Added: Unlimited undo for gfx,map,sfx
Fixed: Undoing changes to SFX after using pitch drawing tool clears SFX data

\o/



[Please log in to post a comment]