+ background component to songwheel and result screen
This commit is contained in:
parent
ae90c2e86e
commit
8c5a022df0
|
@ -1,4 +1,5 @@
|
|||
local Easing = require('common.easings');
|
||||
local Background = require('components.background');
|
||||
local Footer = require('components.footer');
|
||||
|
||||
local VolforceWindow = require('components.volforceWindow')
|
||||
|
@ -591,7 +592,7 @@ render = function(deltaTime, showStats)
|
|||
gfx.BeginPath()
|
||||
gfx.Scale(scale, scale)
|
||||
|
||||
gfx.ImageRect(0, 0, desw, desh, backgroundImage, 1, 0);
|
||||
Background.draw(deltaTime)
|
||||
|
||||
drawIdol(deltaTime)
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
require('common')
|
||||
local Easing = require('common.easings');
|
||||
local Easing = require('common.easings')
|
||||
local Background = require('components.background');
|
||||
|
||||
local VolforceCalc = require('components.volforceCalc');
|
||||
|
||||
|
@ -228,9 +229,7 @@ function drawLaserAnim()
|
|||
end
|
||||
|
||||
function drawBackground(deltaTime)
|
||||
gfx.BeginPath()
|
||||
gfx.ImageRect(0, 0, desw, desh, backgroundImage, 1, 0)
|
||||
|
||||
Background.draw(deltaTime)
|
||||
|
||||
-- If the score for song exists
|
||||
local song = songwheel.songs[selectedIndex];
|
||||
|
|
Loading…
Reference in New Issue