Skip to content

Commit

Permalink
til death add chart author credit to gameplay splash
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Dec 13, 2022
1 parent 4d3afa8 commit b577648
Showing 1 changed file with 19 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ local t = Def.ActorFrame {
Def.Quad {
Name = "DestroyMe",
InitCommand = function(self)
self:xy(SCREEN_CENTER_X, SCREEN_CENTER_Y - 40):zoomto(400, 50):diffuse(getMainColor("highlight")):fadeleft(0.4):faderight(
0.4
):diffusealpha(0)
self:xy(SCREEN_CENTER_X, SCREEN_CENTER_Y - 37)
self:zoomto(400, 58)
self:diffuse(getMainColor("highlight"))
self:fadeleft(0.4):faderight(0.4)
self:diffusealpha(0)
end,
OnCommand = function(self)
self:smooth(0.5):diffusealpha(0.7):sleep(1):smooth(0.3):smooth(0.4):diffusealpha(0)
Expand Down Expand Up @@ -64,10 +66,23 @@ local t = Def.ActorFrame {
self:GetParent():queuecommand("Doot")
end
},
LoadFont("Common Normal") .. {
Name = "DestroyMe6",
InitCommand = function(self)
self:xy(SCREEN_CENTER_X, SCREEN_CENTER_Y - 15):zoom(0.3):diffusealpha(0)
end,
BeginCommand = function(self)
local auth = GAMESTATE:GetCurrentSong():GetOrTryAtLeastToGetSimfileAuthor()
self:settextf("By: %s", auth)
end,
OnCommand = function(self)
self:smooth(0.5):diffusealpha(1):sleep(1):smooth(0.3):smooth(0.4):diffusealpha(0)
end
},
LoadFont("Common Normal") .. {
Name = "DestroyMe5",
InitCommand = function(self)
self:xy(SCREEN_CENTER_X, SCREEN_CENTER_Y - 10):zoom(0.7):diffusealpha(0):valign(0)
self:xy(SCREEN_CENTER_X, SCREEN_CENTER_Y):zoom(0.7):diffusealpha(0):valign(0)
end,
BeginCommand = function(self)
mods = GAMESTATE:GetPlayerState():GetCurrentPlayerOptions():GetInvalidatingMods()
Expand Down

0 comments on commit b577648

Please sign in to comment.