Skip to content

Commit

Permalink
Fix layering for the visualizer
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Feb 15, 2019
1 parent 9be3fa5 commit 980cb3e
Showing 1 changed file with 21 additions and 18 deletions.
39 changes: 21 additions & 18 deletions Themes/Til Death/BGAnimations/ScreenSelectMusic overlay/default.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,6 @@ t[#t + 1] =

t[#t + 1] = LoadActor("../_frame")
t[#t + 1] = LoadActor("../_PlayerInfo")
t[#t + 1] = LoadActor("currentsort")
t[#t + 1] =
LoadFont("Common Large") ..
{
InitCommand = function(self)
self:xy(5, 32):halign(0):valign(1):zoom(0.55):diffuse(getMainColor("positive")):settext("Select Music:")
end
}

t[#t + 1] = LoadActor("../_cursor")
t[#t + 1] = LoadActor("../_halppls")
t[#t + 1] = LoadActor("currenttime")

GAMESTATE:UpdateDiscordMenu(
GetPlayerOrMachineProfile(PLAYER_1):GetDisplayName() ..
": " .. string.format("%5.2f", GetPlayerOrMachineProfile(PLAYER_1):GetPlayerRating())
)

local vis =
audioVisualizer:new {
Expand All @@ -65,4 +48,24 @@ local vis =
end
}
t[#t + 1] = vis
return t


t[#t + 1] = LoadActor("currentsort")
t[#t + 1] =
LoadFont("Common Large") ..
{
InitCommand = function(self)
self:xy(5, 32):halign(0):valign(1):zoom(0.55):diffuse(getMainColor("positive")):settext("Select Music:")
end
}

t[#t + 1] = LoadActor("../_cursor")
t[#t + 1] = LoadActor("../_halppls")
t[#t + 1] = LoadActor("currenttime")

GAMESTATE:UpdateDiscordMenu(
GetPlayerOrMachineProfile(PLAYER_1):GetDisplayName() ..
": " .. string.format("%5.2f", GetPlayerOrMachineProfile(PLAYER_1):GetPlayerRating())
)

return t

0 comments on commit 980cb3e

Please sign in to comment.