Scale the background here rather than in every piece of lua that loads them. This also fixes the last of the jerks between screens that load them separately.
This commit is contained in:
@@ -18,7 +18,8 @@ end
|
||||
|
||||
function LoadSongBackground()
|
||||
return Def.Sprite {
|
||||
BeginCommand=cmd(LoadFromSongBackground,GAMESTATE:GetCurrentSong());
|
||||
InitCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y);
|
||||
BeginCommand=cmd(LoadFromSongBackground,GAMESTATE:GetCurrentSong();scale_or_crop_background);
|
||||
};
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user