1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 10:09:43 +01:00

Interpolate vertical warp background

So it'll look very smooth. Again, only really noticeable in slowdown
(although I could kind of tell the difference at full speed).
This commit is contained in:
Misa 2020-04-29 11:09:07 -07:00 committed by Ethan Lee
parent 921960d23a
commit 7810e99507

View file

@ -1963,7 +1963,9 @@ void Graphics::drawbackground( int t )
BlitSurfaceStandard(towerbuffer_lerp, NULL, backBuffer, NULL);
break;
case 4: //Warp zone (vertical)
SDL_BlitSurface(towerbuffer,NULL, backBuffer,NULL);
SDL_BlitSurface(towerbuffer, NULL, towerbuffer_lerp, NULL);
ScrollSurface(towerbuffer_lerp, 0, lerp(0, -3));
SDL_BlitSurface(towerbuffer_lerp,NULL, backBuffer,NULL);
break;
case 5:
//Warp zone, central