This commit is contained in:
FajsiEx 2021-10-22 19:46:28 +02:00
commit 571926dae3
22 changed files with 11 additions and 11 deletions

View File

@ -3,7 +3,7 @@ require('common')
local Footer = require('components.footer');
local Background = require('components.background');
local lol = require("language.call")
local lang = require("language.call")
local cursorIndex = 3;
local buttonHeight = 128 + 16;
@ -50,10 +50,10 @@ game.LoadSkinSample('titlescreen/bgm.wav');
game.LoadSkinSample('titlescreen/cursor_change.wav');
game.LoadSkinSample('titlescreen/cursor_select.wav');
local selectorDescriptionLabel = gfx.CreateLabel(lol.Start.desc , 22, 0);
local selectorDescriptionLabel = gfx.CreateLabel(lang.Start.desc , 22, 0);
local selectorLegendScrollLabel = gfx.CreateLabel(lol.Start.sc , 20, 0);
local selectorLegendSelectLabel = gfx.CreateLabel(lol.Start.st3 , 20, 0);
local selectorLegendScrollLabel = gfx.CreateLabel(lang.Start.sc , 20, 0);
local selectorLegendSelectLabel = gfx.CreateLabel(lang.Start.st3 , 20, 0);
local scrollTransitionScale = 1; -- Goes from 0 to 1 when transition is happening, sits at 1 when it's not.
local buttonsMovementScale = 0; -- Basically same as `scrollTransitionScale` but with a +/- sign for the scroll direction and goes from 1 to 0
@ -204,7 +204,7 @@ function drawTexts()
gfx.UpdateLabel(selectorDescriptionLabel, currentFullDescriptionText, 22)
gfx.BeginPath();
gfx.UpdateLabel(selectorLegendScrollLabel, 'SCROLL', 20);
-- gfx.UpdateLabel(selectorLegendScrollLabel, 'SCROLL', 20);
-- descriptionAlpha = math.abs(selectedButtonScaleY - 0.5) * 2;
gfx.TextAlign(gfx.TEXT_ALIGN_LEFT + gfx.TEXT_ALIGN_MIDDLE);
@ -234,27 +234,27 @@ function setButtons()
buttons = {}
buttons[1] = {
skillLabelImage, 412, Menu.Challenges,
lol.Challanges.ch, lol.Challanges.ch1
lang.Challanges.ch, lang.Challanges.ch1
}
buttons[2] = {
friendLabelImage, 169, Menu.Multiplayer,
lol.Multiplayer.mp, lol.Multiplayer.mp2
lang.Multiplayer.mp, lang.Multiplayer.mp2
}
buttons[3] = {
normalLabelImage, 210, Menu.Start,
lol.Start.st, lol.Start.st2
lang.Start.st, lang.Start.st2
}
buttons[4] = {
nauticaLabelImage, 230, Menu.DLScreen,
lol.Nautica.dls, lol.Nautica.dls2
lang.Nautica.dls, lang.Nautica.dls2
}
buttons[5] = {
settingsLabelImage, 247, Menu.Settings,
lol.Settings.se, lol.Settings.se1
lang.Settings.se, lang.Settings.se1
}
buttons[6] = {
exitLabelImage, 110, Menu.Exit,
lol.Exit.ex, lol.Exit.ex2
lang.Exit.ex, lang.Exit.ex2
}
end
end

View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 411 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 890 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 251 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 998 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 518 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 917 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 425 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB