Skip to content

Commit

Permalink
more textbanner stuff, replace X2 preview image
Browse files Browse the repository at this point in the history
  • Loading branch information
Inorizushi committed Feb 17, 2022
1 parent 851ba63 commit d94c37d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 19 deletions.
Binary file modified BGAnimations/ScreenPHOTwON overlay/MenuBG/X2Prev.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion BGAnimations/ScreenSelectMusic underlay/Wheel/default.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
return Def.ActorFrame{
Def.Sprite{
Texture="MusicWheelWheelUnder.png"),
Texture="MusicWheelWheelUnder.png",
InitCommand=function(s) s:halign(1):xy(SCREEN_RIGHT,_screen.cy):diffusealpha(0.5)
if GAMESTATE:IsAnExtraStage() then
s:diffuse(color("#f900fe"))
Expand Down
34 changes: 16 additions & 18 deletions Graphics/MusicWheelItem Song NormalPart/Wheel/default.lua
Original file line number Diff line number Diff line change
@@ -1,29 +1,27 @@
local SongAttributes = LoadModule "SongAttributes.lua"

local TB = Def.BitmapText{
Font="_avenirnext lt pro bold/25px";
InitCommand=function(s) s:halign(0):maxwidth(400):strokecolor(color("0,0,0,0.5")) end,
};

return Def.ActorFrame{
ChangedLanguageDisplayMessageCommand=function(s) s:queuecommand("Set") end,
SetMessageCommand=function(s,p)
local song = p.Song
if song then
s:GetChild("Title"):settext(song:GetDisplayFullTitle()):diffuse(SongAttributes.GetMenuColor(song)):strokecolor(ColorDarkTone(SongAttributes.GetMenuColor(song)))
s:GetChild("Artist"):settext(song:GetDisplayArtist()):diffuse(SongAttributes.GetMenuColor(song)):strokecolor(ColorDarkTone(SongAttributes.GetMenuColor(song)))
end
end,

Def.Sprite{
Texture="backing",
};
Def.BitmapText{
Name="Title",
Font="_avenirnext lt pro bold/25px";
InitCommand=function(s) s:halign(0):x(-400):maxwidth(400):strokecolor(color("0,0,0,0.5")) end,
ChangedLanguageDisplayMessageCommand=function(s) s:queuecommand("Set") end,
SetMessageCommand=function(self, param)
local Song = param.Song;
local Course = param.Course;
if Song then
self:zoom(1.2)
:settext(Song:GetDisplayFullTitle().."\n "..Song:GetDisplayArtist()):vertspacing(-4)
:diffuse(SongAttributes.GetMenuColor(Song))
elseif Course then
self:settext(Course:GetDisplayFullTitle());
end
end;
InitCommand=function(s) s:halign(0):xy(-420,-14):maxwidth(400):zoom(1.1) end,
};
Def.BitmapText{
Name="Artist",
Font="_avenirnext lt pro bold/25px";
InitCommand=function(s) s:halign(0):xy(-420,14):maxwidth(400):zoom(0.95) end,
};
Def.BitmapText{
Font="_avenirnext lt pro bold/25px";
Expand Down

0 comments on commit d94c37d

Please sign in to comment.