-
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.
- Loading branch information
1 parent
dae1f09
commit 82dd344
Showing
48 changed files
with
13,706 additions
and
19 deletions.
There are no files selected for viewing
24 changes: 8 additions & 16 deletions
24
Themes/Til Death/BGAnimations/ScreenTitleMenu underlay.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,32 +1,24 @@ | ||
t = Def.ActorFrame{} | ||
Req.using(func) | ||
|
||
|
||
t = Def.ActorFrame{} | ||
local frameX = THEME:GetMetric("ScreenTitleMenu","ScrollerX")-10 | ||
local frameY = THEME:GetMetric("ScreenTitleMenu","ScrollerY") | ||
|
||
t[#t+1] = Def.Quad{ | ||
InitCommand=function(self) | ||
self:draworder(-300):xy(frameX,frameY):zoomto(SCREEN_WIDTH,160):halign(0):diffuse(getMainColor('highlight')):diffusealpha(0.15):diffusetopedge(color("0,0,0,0")) | ||
end | ||
BeginCommand=_1:draworder(-300):xy(frameX,frameY):zoomto(SCREEN_WIDTH,160):halign(0):diffuse(getMainColor('highlight')):diffusealpha(0.15):diffusetopedge(color("0,0,0,0")) | ||
} | ||
|
||
t[#t+1] = Def.Quad{ | ||
InitCommand=function(self) | ||
self:draworder(-300):xy(frameX,frameY-100):zoomto(SCREEN_WIDTH,160):halign(0):diffuse(getMainColor('highlight')):diffusealpha(0.15):diffusebottomedge(color("0,0,0,0")) | ||
end | ||
BeginCommand=_1:draworder(-300):xy(frameX,frameY-100):zoomto(SCREEN_WIDTH,160):halign(0):diffuse(getMainColor('highlight')):diffusealpha(0.15):diffusebottomedge(color("0,0,0,0")) | ||
} | ||
|
||
t[#t+1] = LoadFont("Common Large") .. { | ||
InitCommand=function(self) | ||
self:xy(10,frameY-180):zoom(0.65):valign(1):halign(0):diffuse(getDifficultyColor("Difficulty_Couple")) | ||
end, | ||
OnCommand=function(self) | ||
self:settext(getThemeName()) | ||
end, | ||
BeginCommand=_1:xy(10,frameY-180):zoom(0.65):valign(1):halign(0):diffuse(getDifficultyColor("Difficulty_Couple")), | ||
InitCommand=_1:settext(getThemeName()), | ||
} | ||
|
||
t[#t+1] = LoadActor(THEME:GetPathG("","_ring")) .. { | ||
InitCommand=function(self) | ||
self:xy(capWideScale(get43size(SCREEN_WIDTH-10),SCREEN_WIDTH-530),frameY-130):diffuse(getDifficultyColor("Difficulty_Couple")):diffusealpha(1):baserotationx(0) | ||
end | ||
BeginCommand=_1:xy(capWideScale(get43size(SCREEN_WIDTH-10),SCREEN_WIDTH-530),frameY-130):diffuse(getDifficultyColor("Difficulty_Couple")):diffusealpha(1):baserotationx(0) | ||
} | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
require 'pl' | ||
class = require 'middleclass/middleclass' | ||
Req = {} | ||
function Req.using(envToAdd) | ||
local env = envToAdd | ||
setmetatable(env, {__index=getfenv(2)}) | ||
setfenv(2, env) | ||
end |
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.