mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 09:54:10 +03:00
Smoothly interpolate "[Press ENTER to return to editor]" fadeout
Now it'll be real smooth at 60 FPS. Or above. Or whichever one you want above 30.
This commit is contained in:
@@ -407,6 +407,7 @@ void editorclass::reset()
|
||||
script.customscripts.clear();
|
||||
|
||||
returneditoralpha = 0;
|
||||
oldreturneditoralpha = 0;
|
||||
|
||||
ghosts.clear();
|
||||
currentghosts = 0;
|
||||
@@ -4636,6 +4637,7 @@ void editorinput()
|
||||
music.haltdasmusik();
|
||||
graphics.backgrounddrawn=false;
|
||||
ed.returneditoralpha = 1000; // Let's start it higher than 255 since it gets clamped
|
||||
ed.oldreturneditoralpha = 1000;
|
||||
script.startgamemode(21);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user