Interpolate credits position

So that it's as smooth as possible, especially when holding down ACTION
to make it go really fast.
This commit is contained in:
Misa
2020-04-30 10:56:27 -07:00
committed by Ethan Lee
parent b3f7c174ea
commit e1fdfb7cdb
4 changed files with 57 additions and 53 deletions

View File

@@ -2171,8 +2171,9 @@ void gamecompleteinput()
game.press_action = false;
game.press_map = false;
//Do this here because input comes first
//Do these here because input comes first
map.bypos += map.bscroll;
game.oldcreditposition = game.creditposition;
if (key.isDown(KEYBOARD_z) || key.isDown(KEYBOARD_SPACE) || key.isDown(KEYBOARD_v) || key.isDown(game.controllerButton_flip))
{