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.

P#46109 2017-11-10 12:18 ( Edited 2018-09-11 22:40)

That happens with 0.1.10 too.

P#46110 2017-11-10 13:51 ( Edited 2017-11-10 18:51)

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

P#56522 2018-09-11 10:44 ( Edited 2018-09-11 14:44)

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.

P#56525 2018-09-11 12:59 ( Edited 2018-09-11 16:59)

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

P#56545 2018-09-11 18:40 ( Edited 2018-09-11 22:40)

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
P#63440 2019-04-12 08:54

\o/

P#63442 2019-04-12 09:29

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2022-12-02 20:01:16 | 0.008s | Q:23