Add level selector / leaderboard browser #7

Merged
Not merged 23 commits from browser into master 2022-09-06 10:08:42 +02:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit f0cb051564 - Show all commits

View File

@ -204,7 +204,7 @@ local function drawGamemode(v)
end
if m & F_SPBEXP then
local invp = v.cachePatch("K_ITINV"..(leveltime / 6 % 7 + 1))
local invp = v.cachePatch("K_ITINV"..(leveltime / 3 % 7 + 1))
v.drawScaled(
modeX * FRACUNIT - scaledHalf + xoff,
modeY * FRACUNIT - scaledHalf,
@ -259,7 +259,7 @@ local function drawFlags(v, x, y, flags)
nx = $ + margin
end
if flags & F_SPBEXP then
local invp = v.cachePatch("K_ISINV"..(leveltime / 6 % 6 + 1))
local invp = v.cachePatch("K_ISINV"..(leveltime / 3 % 6 + 1))
v.drawScaled(nx, ny, scale, invp)
nx = $ + margin
end

View File

@ -863,7 +863,7 @@ local modePatches = {
local function modePatch(flag)
if flag == F_SPBEXP then
return PATCH[modePatches[flag]][(leveltime / 4) % 6]
return PATCH[modePatches[flag]][(leveltime / 3) % 6]
end
return PATCH[modePatches[flag]]
end