+ some basic things to challengeresult & * reorganize stuff
|
@ -56,8 +56,8 @@ local drawFooter = function ()
|
||||||
gfx.Text('EXPERIMENTALGEAR 0.1.1 - CLOSED BETA. DO. NOT. LEAK.', 8, 1895);
|
gfx.Text('EXPERIMENTALGEAR 0.1.1 - CLOSED BETA. DO. NOT. LEAK.', 8, 1895);
|
||||||
end
|
end
|
||||||
|
|
||||||
local progressTransitions = function ()
|
local progressTransitions = function (deltaTime)
|
||||||
entryTransitionScale = entryTransitionScale + 1/60 / 0.5;
|
entryTransitionScale = entryTransitionScale + deltaTime / 0.3;
|
||||||
if (entryTransitionScale > 1) then
|
if (entryTransitionScale > 1) then
|
||||||
entryTransitionScale = 1;
|
entryTransitionScale = 1;
|
||||||
end
|
end
|
||||||
|
@ -66,10 +66,12 @@ local progressTransitions = function ()
|
||||||
footerY = desh-FOOTER_HEIGHT+entryTransitionFooterYOffset;
|
footerY = desh-FOOTER_HEIGHT+entryTransitionFooterYOffset;
|
||||||
end
|
end
|
||||||
|
|
||||||
local draw = function (params)
|
local draw = function (deltaTime, params)
|
||||||
if (params and params.noEnterTransition) then
|
if (params) then
|
||||||
|
if params.noEnterTransition then
|
||||||
entryTransitionScale = 1;
|
entryTransitionScale = 1;
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
gfx.Save()
|
gfx.Save()
|
||||||
resetLayoutInformation()
|
resetLayoutInformation()
|
||||||
|
@ -79,7 +81,7 @@ local draw = function (params)
|
||||||
|
|
||||||
drawFooter();
|
drawFooter();
|
||||||
|
|
||||||
progressTransitions();
|
progressTransitions(deltaTime);
|
||||||
gfx.Restore()
|
gfx.Restore()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -559,7 +559,7 @@ render = function(deltaTime, showStats)
|
||||||
|
|
||||||
gfx.GlobalAlpha(1)
|
gfx.GlobalAlpha(1)
|
||||||
|
|
||||||
Footer.draw();
|
Footer.draw(deltaTime);
|
||||||
|
|
||||||
handleSfx();
|
handleSfx();
|
||||||
IR_Handle();
|
IR_Handle();
|
||||||
|
|
|
@ -300,7 +300,7 @@ render = function(deltatime, shown)
|
||||||
game.SetSkinSetting('_songWheelActiveSubFolderLabel', getFolderData(filters.level[selectedLevel]).label);
|
game.SetSkinSetting('_songWheelActiveSubFolderLabel', getFolderData(filters.level[selectedLevel]).label);
|
||||||
|
|
||||||
SongSelectHeader.draw(deltatime);
|
SongSelectHeader.draw(deltatime);
|
||||||
Footer.draw();
|
Footer.draw(deltatime);
|
||||||
|
|
||||||
-- Debug text
|
-- Debug text
|
||||||
gfx.BeginPath();
|
gfx.BeginPath();
|
||||||
|
|
|
@ -367,7 +367,7 @@ render = function(deltaTime)
|
||||||
|
|
||||||
-- Draw top and bottom bars
|
-- Draw top and bottom bars
|
||||||
drawHeader();
|
drawHeader();
|
||||||
Footer.draw();
|
Footer.draw(deltaTime);
|
||||||
|
|
||||||
handle_controller()
|
handle_controller()
|
||||||
|
|
||||||
|
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.3 MiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 7.3 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |