-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kill everything else until the game doesnt crash or throw a million l…
…ua errors
- Loading branch information
1 parent
2afc922
commit a09e150
Showing
24 changed files
with
80 additions
and
828 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
local enabled = themeConfig:get_data().global.SongBGEnabled and not(GAMESTATE:IsCourseMode()) | ||
local enabled = themeConfig:get_data().global.SongBGEnabled | ||
local brightness = 0.4 | ||
local t = Def.ActorFrame{} | ||
|
||
if enabled then | ||
t[#t+1] = LoadSongBackground()..{ | ||
BeginCommand=function(self) | ||
self:scaletocover(0,0,SCREEN_WIDTH,SCREEN_BOTTOM) | ||
self:diffusealpha(brightness); | ||
end; | ||
self:diffusealpha(brightness) | ||
end | ||
} | ||
end | ||
|
||
|
||
return t |
38 changes: 17 additions & 21 deletions
38
Themes/Til Death/BGAnimations/ScreenSelectMusic decorations/songinfo.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,40 @@ | ||
local update = false | ||
local t = Def.ActorFrame{ | ||
BeginCommand=cmd(queuecommand,"Set"); | ||
OffCommand=cmd(bouncebegin,0.2;xy,-500,0;); -- visible(false) doesn't seem to work with sleep | ||
OnCommand=cmd(bouncebegin,0.2;xy,0,0;); | ||
BeginCommand=cmd(queuecommand,"Set"), | ||
OffCommand=cmd(bouncebegin,0.2;xy,-500,0), -- visible(false) doesn't seem to work with sleep | ||
OnCommand=cmd(bouncebegin,0.2;xy,0,0), | ||
SetCommand=function(self) | ||
self:finishtweening() | ||
if getTabIndex() == 0 then | ||
self:queuecommand("On"); | ||
self:queuecommand("On") | ||
update = true | ||
else | ||
self:queuecommand("Off"); | ||
self:queuecommand("Off") | ||
update = false | ||
end; | ||
end; | ||
TabChangedMessageCommand=cmd(queuecommand,"Set"); | ||
PlayerJoinedMessageCommand=cmd(queuecommand,"Set"); | ||
}; | ||
|
||
end | ||
end, | ||
TabChangedMessageCommand=cmd(queuecommand,"Set"), | ||
PlayerJoinedMessageCommand=cmd(queuecommand,"Set") | ||
} | ||
|
||
t[#t+1] = Def.Banner{ | ||
InitCommand=cmd(x,10;y,61;halign,0;valign,0); | ||
InitCommand=cmd(x,10;y,61;halign,0;valign,0), | ||
SetMessageCommand=function(self) | ||
if update then | ||
local top = SCREENMAN:GetTopScreen() | ||
if top:GetName() == "ScreenSelectMusic" or top:GetName() == "ScreenNetSelectMusic" then | ||
local song = GAMESTATE:GetCurrentSong() | ||
local course = GAMESTATE:GetCurrentCourse() | ||
local group = top:GetMusicWheel():GetSelectedSection() | ||
if song then | ||
self:LoadFromSong(song) | ||
elseif course then | ||
self:LoadFromCourse(song) | ||
elseif group then | ||
self:LoadFromSongGroup(group) | ||
end; | ||
end; | ||
end; | ||
end | ||
end | ||
end | ||
self:scaletoclipped(capWideScale(get43size(384),384),capWideScale(get43size(120),120)) | ||
end; | ||
CurrentSongChangedMessageCommand=cmd(queuecommand,"Set"); | ||
}; | ||
end, | ||
CurrentSongChangedMessageCommand=cmd(queuecommand,"Set") | ||
} | ||
|
||
return t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.