+ bg to challengewheel
This commit is contained in:
parent
b788ffe233
commit
2d098d9b74
|
@ -22,6 +22,9 @@ local scrollmulOffset = 0 -- bc we have min/max the game doesn't know we have to
|
||||||
local effector = 0
|
local effector = 0
|
||||||
local searchText = gfx.CreateLabel("",5,0)
|
local searchText = gfx.CreateLabel("",5,0)
|
||||||
local searchIndex = 1
|
local searchIndex = 1
|
||||||
|
|
||||||
|
local backgroundImage = gfx.CreateSkinImage("challenge_select/bg.png", 0)
|
||||||
|
|
||||||
local jacketFallback = gfx.CreateSkinImage("song_select/loading.png", 0)
|
local jacketFallback = gfx.CreateSkinImage("song_select/loading.png", 0)
|
||||||
local showGuide = game.GetSkinSetting("show_guide")
|
local showGuide = game.GetSkinSetting("show_guide")
|
||||||
local legendTable = {
|
local legendTable = {
|
||||||
|
@ -614,9 +617,13 @@ draw_search = function(x,y,w,h)
|
||||||
end
|
end
|
||||||
|
|
||||||
render = function(deltaTime)
|
render = function(deltaTime)
|
||||||
timer = (timer + deltaTime)
|
|
||||||
timer = timer % 2
|
|
||||||
resx,resy = game.GetResolution();
|
timer = (timer + deltaTime)
|
||||||
|
timer = timer % 2
|
||||||
|
resx,resy = game.GetResolution();
|
||||||
|
gfx.BeginPath()
|
||||||
|
gfx.ImageRect(0, 0, resx, resy, backgroundImage, 1, 0)
|
||||||
adjustScreen(resx,resy);
|
adjustScreen(resx,resy);
|
||||||
gfx.BeginPath();
|
gfx.BeginPath();
|
||||||
gfx.LoadSkinFont("NotoSans-Regular.ttf");
|
gfx.LoadSkinFont("NotoSans-Regular.ttf");
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 1.2 MiB |
Loading…
Reference in New Issue