+ 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);
|
||||
end
|
||||
|
||||
local progressTransitions = function ()
|
||||
entryTransitionScale = entryTransitionScale + 1/60 / 0.5;
|
||||
local progressTransitions = function (deltaTime)
|
||||
entryTransitionScale = entryTransitionScale + deltaTime / 0.3;
|
||||
if (entryTransitionScale > 1) then
|
||||
entryTransitionScale = 1;
|
||||
end
|
||||
|
@ -66,10 +66,12 @@ local progressTransitions = function ()
|
|||
footerY = desh-FOOTER_HEIGHT+entryTransitionFooterYOffset;
|
||||
end
|
||||
|
||||
local draw = function (params)
|
||||
if (params and params.noEnterTransition) then
|
||||
local draw = function (deltaTime, params)
|
||||
if (params) then
|
||||
if params.noEnterTransition then
|
||||
entryTransitionScale = 1;
|
||||
end
|
||||
end
|
||||
|
||||
gfx.Save()
|
||||
resetLayoutInformation()
|
||||
|
@ -79,7 +81,7 @@ local draw = function (params)
|
|||
|
||||
drawFooter();
|
||||
|
||||
progressTransitions();
|
||||
progressTransitions(deltaTime);
|
||||
gfx.Restore()
|
||||
end
|
||||
|
||||
|
|
|
@ -559,7 +559,7 @@ render = function(deltaTime, showStats)
|
|||
|
||||
gfx.GlobalAlpha(1)
|
||||
|
||||
Footer.draw();
|
||||
Footer.draw(deltaTime);
|
||||
|
||||
handleSfx();
|
||||
IR_Handle();
|
||||
|
|
|
@ -300,7 +300,7 @@ render = function(deltatime, shown)
|
|||
game.SetSkinSetting('_songWheelActiveSubFolderLabel', getFolderData(filters.level[selectedLevel]).label);
|
||||
|
||||
SongSelectHeader.draw(deltatime);
|
||||
Footer.draw();
|
||||
Footer.draw(deltatime);
|
||||
|
||||
-- Debug text
|
||||
gfx.BeginPath();
|
||||
|
|
|
@ -367,7 +367,7 @@ render = function(deltaTime)
|
|||
|
||||
-- Draw top and bottom bars
|
||||
drawHeader();
|
||||
Footer.draw();
|
||||
Footer.draw(deltaTime);
|
||||
|
||||
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 |