remove antbar test from title screen
This commit is contained in:
parent
78fe254e96
commit
bb14b03efd
@ -129,15 +129,8 @@ end
|
||||
-- (currently a placeholder)
|
||||
|
||||
function init_title()
|
||||
|
||||
--background gradient
|
||||
pal({[0]=0x82,0x82,0x84,0x84,4,4,0x89,0x89,0x8e,0x8e,0x8f,0x8f,15,15,0x87,0x87},2)
|
||||
local antbar = ants.new{
|
||||
progress=-0.5,
|
||||
bgcolor=8,
|
||||
fgcolor=10,
|
||||
trcolor=9,
|
||||
speed=1/15,
|
||||
w=128,h=2}
|
||||
|
||||
return view.of{
|
||||
bg.new{c=15},
|
||||
@ -148,18 +141,6 @@ function init_title()
|
||||
self.x=32+6*cos(time()/3.7)
|
||||
end,
|
||||
},
|
||||
{update = function()
|
||||
local p = antbar.progress + 0.003
|
||||
if p > 1.5 then
|
||||
p = -0.5
|
||||
antbar.speed += 1/30
|
||||
end
|
||||
antbar.progress = p
|
||||
end},
|
||||
view.new{
|
||||
views=antbar,
|
||||
y=50,h=2,
|
||||
},
|
||||
}
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user