mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03: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:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user