/ laser animation going above the effected and illustrated by bgs
This commit is contained in:
parent
9ae9201744
commit
21bf2d3fcc
|
@ -198,6 +198,7 @@ function drawBackground(deltaTime)
|
||||||
gfx.BeginPath()
|
gfx.BeginPath()
|
||||||
gfx.ImageRect(0, 0, desw, desh, backgroundImage, 1, 0)
|
gfx.ImageRect(0, 0, desw, desh, backgroundImage, 1, 0)
|
||||||
|
|
||||||
|
|
||||||
-- If the score for song exists
|
-- If the score for song exists
|
||||||
local song = songwheel.songs[selectedIndex];
|
local song = songwheel.songs[selectedIndex];
|
||||||
local diff = song.difficulties[selectedDifficulty];
|
local diff = song.difficulties[selectedDifficulty];
|
||||||
|
@ -218,6 +219,13 @@ function drawBackground(deltaTime)
|
||||||
|
|
||||||
gfx.ImageRect(0, 0, desw, desh, dataPanelImage, 1, 0)
|
gfx.ImageRect(0, 0, desw, desh, dataPanelImage, 1, 0)
|
||||||
|
|
||||||
|
local laserAnimTickRes = gfx.TickAnimation(laserAnimation, deltaTime);
|
||||||
|
if laserAnimTickRes == 1 then
|
||||||
|
gfx.BeginPath()
|
||||||
|
gfx.ImageRect(0, 0, desw, desh, laserAnimation, 1, 0);
|
||||||
|
gfx.GlobalAlpha(1);
|
||||||
|
end
|
||||||
|
|
||||||
if song and diff then
|
if song and diff then
|
||||||
gfx.BeginPath()
|
gfx.BeginPath()
|
||||||
gfx.ImageRect(0, 0, desw, desh, dataGlowOverlayImage, transitionAfterscrollDataOverlayAlpha, 0)
|
gfx.ImageRect(0, 0, desw, desh, dataGlowOverlayImage, transitionAfterscrollDataOverlayAlpha, 0)
|
||||||
|
@ -233,12 +241,6 @@ function drawBackground(deltaTime)
|
||||||
gfx.ImageRect(95, 1195, 433, 30, illustratedBgImage, transitionAfterscrollDataOverlayAlpha, 0)
|
gfx.ImageRect(95, 1195, 433, 30, illustratedBgImage, transitionAfterscrollDataOverlayAlpha, 0)
|
||||||
end
|
end
|
||||||
|
|
||||||
local laserAnimTickRes = gfx.TickAnimation(laserAnimation, deltaTime);
|
|
||||||
if laserAnimTickRes == 1 then
|
|
||||||
gfx.BeginPath()
|
|
||||||
gfx.ImageRect(0, 0, desw, desh, laserAnimation, 1, 0);
|
|
||||||
gfx.GlobalAlpha(1);
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function drawSong(song, y)
|
function drawSong(song, y)
|
||||||
|
|
Loading…
Reference in New Issue