Files
VVVVVV/desktop_version/src
Misa 3da0e31215 Remove game.shouldreturntoeditor in favor of using defer callback
game.shouldreturntoeditor was added to fix a frame ordering issue that
was causing a bug where if you started playtesting in a room with a
horizontal/vertical warp background, and exited playtesting in a
different room that also had a horizontal/vertical warp background and
which was different, then the background of the room you exited in would
slowly scroll offscreen, when you re-entered the editor, instead of the
background consisting entirely of the actual background of the room.

Namely, the issue was that the game would render one more frame of
GAMEMODE after graphics.backgrounddrawn got set to false, and re-set it
to true, thus negating the background redraw, so the editor background
would be incorrect.

With defer callbacks, we can now just use a couple lines of code,
instead of having to add an extra kludge variable and putting handling
for it all over the code.
2021-03-21 02:55:42 -04:00
..
2020-01-08 10:37:50 -05:00
2021-02-15 23:07:35 -05:00
2021-02-25 19:38:25 -05:00
2021-03-21 02:55:42 -04:00
2021-03-21 02:55:42 -04:00
2021-03-21 02:55:42 -04:00
2020-09-27 16:31:40 -04:00
2021-03-21 02:53:25 -04:00
2020-11-04 12:06:57 -05:00
2020-11-04 12:06:57 -05:00