From d49da29c2d2afe77029868ba09c26e4b6c7c8812 Mon Sep 17 00:00:00 2001 From: Kistaro Windrider Date: Sat, 3 Feb 2024 16:48:36 -0800 Subject: [PATCH] thingie to show plausible word speed 1 px/frame seems ok --- vacation.p8 | 10 ++++++++++ 1 file changed, 10 insertions(+) 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