mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +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:
parent
118401f17e
commit
8184a392eb
1 changed files with 3 additions and 1 deletions
|
@ -2349,7 +2349,9 @@ void Graphics::drawtowerspikes()
|
|||
|
||||
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()
|
||||
|
|
Loading…
Reference in a new issue