+bg gradiand / + backdrop songtransition

This commit is contained in:
RealFD 2021-10-23 00:17:31 +02:00
parent 019376c666
commit 6fcd3e8352
2 changed files with 10 additions and 6 deletions

View File

@ -232,7 +232,7 @@ end
local drawRightBarAni = function(deltaTime) local drawRightBarAni = function(deltaTime)
-- badgeLines -- badgeLines
gfx.BeginPath(); gfx.BeginPath();
gfx.ImageRect(rightPanelX + 1080 - 531 + badgeLinesAnimOffsetX, rightPanelY + 6, 531, 85, badgeLines, 1, 0); gfx.ImageRect(rightPanelX + 1080 - 531 + badgeLinesAnimOffsetX, rightPanelY + 2, 531, 85, badgeLines, 1, 0);
end end
local drawTopBar = function() local drawTopBar = function()

View File

@ -5,8 +5,10 @@ local refBgImage = gfx.CreateSkinImage("songtransition/bg_old.png", 0)
local bgImage = gfx.CreateSkinImage("songtransition/bg.png", 0) local bgImage = gfx.CreateSkinImage("songtransition/bg.png", 0)
local glowOverlayImage = gfx.CreateSkinImage("songtransition/glowy.png", 0) local glowOverlayImage = gfx.CreateSkinImage("songtransition/glowy.png", 0)
local albumBgImage = gfx.CreateSkinImage("songtransition/album_crop.png", 0) local frameOverlayImage = gfx.CreateSkinImage("songtransition/frames.png", 0)
local albumBgImage = gfx.CreateSkinImage("songtransition/album_crop.png", 0)
local infoOverlayPanel = gfx.CreateSkinImage("songtransition/info_panels_crop.png", 0)
local difficultyNumbers; local difficultyNumbers;
@ -127,17 +129,19 @@ function render_screen(progress)
gfx.BeginPath() gfx.BeginPath()
gfx.ImageRect(0, 0, 1080, 1920, bgImage,1,0); gfx.ImageRect(0, 0, 1080, 1920, bgImage,1,0);
gfx.BeginPath() gfx.BeginPath()
gfx.ImageRect(0, 0, 1080, 1920, glowOverlayImage,1,0); gfx.ImageRect(0,0,1080,1920,frameOverlayImage,1,0);
gfx.BeginPath() gfx.BeginPath()
gfx.ImageRect(235-128, 385-128, 608+256, 608+256, albumBgImage,1,0); gfx.ImageRect(0, 0, 1080, 1920, glowOverlayImage,1,0);
gfx.BeginPath()
gfx.ImageRect(38, 1074, 1180*0.85, 343*0.85, infoOverlayPanel,1,0);
local jacket = song.jacket == 0 and noJacket or song.jacket local jacket = song.jacket == 0 and noJacket or song.jacket
gfx.BeginPath(); gfx.BeginPath();
gfx.ImageRect(235, 385, 608, 608, jacket, 1, 0) gfx.ImageRect(235, 385, 608, 608, jacket, 1, 0)
gfx.ClosePath(); gfx.ClosePath();
gfx.BeginPath()
gfx.ImageRect(10, 195.5, 1060, 1015, albumBgImage,1,0);
gfx.TextAlign(gfx.TEXT_ALIGN_CENTER + gfx.TEXT_ALIGN_MIDDLE) gfx.TextAlign(gfx.TEXT_ALIGN_CENTER + gfx.TEXT_ALIGN_MIDDLE)