Speed the music scroll up.

This commit is contained in:
Steve Checkoway
2007-04-21 20:41:57 +00:00
parent a805778002
commit 4295093cd9
@@ -1,4 +1,5 @@
local num = THEME:GetMetric( "ScreenMusicScroll", "TimerSeconds" )
local time = THEME:GetMetric( "ScreenMusicScroll", "TimerSeconds" )
local num = time * 2
local fontPath = THEME:GetPathF( "ScreenMusicScroll", "titles" )
local children = {}
for i=1,num do
@@ -16,7 +17,7 @@ end
return Def.ActorScroller {
NumItemsToDraw = 6;
SecondsPerItem = 1;
SecondsPerItem = time / num;
TransformFunction = function( self, offset, itemIndex, numItems )
self:y( offset*80 )
end;