diff --git a/vacation.p8 b/vacation.p8 index a72b54a..82872f7 100644 --- a/vacation.p8 +++ b/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