1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-11-16 16:09:42 +01:00

Interpolate tower background

Ok, now THIS takes the cake for "only really noticeable in slowmode",
because it only ever moves at 1 pixel per second. And even then,
slowmode shouldn't apply on the title screen, so it won't even show up
there once I get around to doing that change.
This commit is contained in:
Misa 2020-04-29 15:28:06 -07:00 committed by Ethan Lee
parent 118401f17e
commit 8184a392eb

View file

@ -2349,7 +2349,9 @@ void Graphics::drawtowerspikes()
void Graphics::drawtowerbackground() void Graphics::drawtowerbackground()
{ {
SDL_BlitSurface(towerbuffer,NULL, backBuffer,NULL); SDL_BlitSurface(towerbuffer, NULL, towerbuffer_lerp, NULL);
ScrollSurface(towerbuffer_lerp, 0, lerp(0, -map.bscroll));
SDL_BlitSurface(towerbuffer_lerp,NULL, backBuffer,NULL);
} }
void Graphics::updatetowerbackground() void Graphics::updatetowerbackground()