mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Interpolate end picture reveal scroll
This is so it looks smooth at framerates above 30.
This commit is contained in:
@@ -2220,10 +2220,13 @@ void gamecompleteinput2()
|
||||
game.press_action = false;
|
||||
game.press_map = false;
|
||||
|
||||
//Do this here because input comes first
|
||||
game.oldcreditposx = game.creditposx;
|
||||
|
||||
if (key.isDown(KEYBOARD_z) || key.isDown(KEYBOARD_SPACE) || key.isDown(KEYBOARD_v) || key.isDown(game.controllerButton_flip))
|
||||
{
|
||||
game.creditposx++;
|
||||
game.oldcreditposx++;
|
||||
if (game.creditposy >= 30)
|
||||
{
|
||||
if(graphics.fademode==0)
|
||||
|
||||
Reference in New Issue
Block a user