Add dimension-tripper theme

(Sourced from shakesoda/stepmania.)
This commit is contained in:
Colby Klein
2013-10-07 12:48:42 -07:00
parent b34ab5577c
commit 02ec3d871b
22 changed files with 1273 additions and 0 deletions
@@ -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
}
}