thingie to show plausible word speed
1 px/frame seems ok
This commit is contained in:
parent
1c8743e9e8
commit
d49da29c2d
10
vacation.p8
10
vacation.p8
@ -406,6 +406,16 @@ function newtitle()
|
||||
},
|
||||
bg.new{c=1},
|
||||
box,
|
||||
{
|
||||
x=128,
|
||||
update=function(self)
|
||||
self.x -= 1
|
||||
if (self.x < 0) self.x = 128
|
||||
end,
|
||||
draw=function(self)
|
||||
rectfill(self.x, 120, self.x, 128, 9)
|
||||
end,
|
||||
},
|
||||
}
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user