Add dimension-tripper theme
(Sourced from shakesoda/stepmania.)
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
local Metric = function(c,k) return tonumber(THEME:GetMetric(c, k)) end
|
||||
local width = Theme.MusicWheelItemWidth()
|
||||
local height = Metric("MusicWheel", "ItemHeight")
|
||||
local offset = Metric("MusicWheel", "ItemOffset")
|
||||
|
||||
return Def.ActorFrame {
|
||||
Def.Quad {
|
||||
InitCommand=function(self)
|
||||
self:x(offset)
|
||||
self:setsize(width,height)
|
||||
self:blend('BlendMode_Add')
|
||||
self:diffuse({1, 0.8, 0.7, 0.1})
|
||||
self:effectclock('beat')
|
||||
end,
|
||||
CurrentSongChangedMessageCommand=function(self, params)
|
||||
if not GAMESTATE:GetCurrentSong() then
|
||||
self:stopeffect()
|
||||
else
|
||||
self:thump()
|
||||
end
|
||||
end
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user