dtripper: new background, fix up wheel a bit
(Sourced from shakesoda/stepmania.)
This commit is contained in:
@@ -11,7 +11,7 @@ t[#t].InitCommand = function(self)
|
||||
self:x(offset)
|
||||
self:vertalign(bottom)
|
||||
self:setsize(width, height/2)
|
||||
self:diffuse({0.1, 0.1, 0.1, 0.6})
|
||||
self:diffuse({0.2, 0.2, 0.2, 0.6})
|
||||
end
|
||||
|
||||
-- background bottom
|
||||
@@ -20,8 +20,14 @@ t[#t].InitCommand = function(self)
|
||||
self:x(offset)
|
||||
self:vertalign(top)
|
||||
self:setsize(width, height/2)
|
||||
self:diffusebottomedge({0.2, 0.2, 0.2, 0.6})
|
||||
self:diffusetopedge({0.1, 0.1, 0.1, 0.6})
|
||||
self:diffusebottomedge({0.3, 0.3, 0.3, 0.6})
|
||||
self:diffusetopedge({0.2, 0.2, 0.2, 0.6})
|
||||
end
|
||||
|
||||
t[#t+1] = Def.Quad {}
|
||||
t[#t].InitCommand = function(self)
|
||||
self:setsize(width, height * 0.8)
|
||||
self:diffuse({0, 0, 0, 0.65})
|
||||
end
|
||||
|
||||
return t
|
||||
|
||||
Reference in New Issue
Block a user