Interpolate end picture reveal scroll

This is so it looks smooth at framerates above 30.
This commit is contained in:
Misa
2020-05-01 18:23:52 -07:00
committed by Ethan Lee
parent 4641b53603
commit 90280b0f92
4 changed files with 7 additions and 0 deletions

View File

@@ -1272,6 +1272,8 @@ void gamecompleterender2()
}
}
FillRect(graphics.backBuffer, graphics.lerp(game.oldcreditposx * 8, game.creditposx * 8) + 8, game.creditposy * 8, 8, 8, 0, 0, 0);
graphics.drawfade();
graphics.render();