+ some basic things to challengeresult & * reorganize stuff

This commit is contained in:
FajsiEx 2021-08-18 17:29:54 +02:00
parent 9ae261abe5
commit 7fc93dc3be
16 changed files with 48 additions and 1429 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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,9 +66,11 @@ 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
entryTransitionScale = 1; if params.noEnterTransition then
entryTransitionScale = 1;
end
end end
gfx.Save() gfx.Save()
@ -79,7 +81,7 @@ local draw = function (params)
drawFooter(); drawFooter();
progressTransitions(); progressTransitions(deltaTime);
gfx.Restore() gfx.Restore()
end end

View File

@ -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();

View File

@ -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();

View File

@ -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()

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

View File

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB