From 9e746ce0d014b177e4c7d59eec43379e2402ee41 Mon Sep 17 00:00:00 2001 From: Kistaro Windrider Date: Sun, 11 Feb 2024 15:55:51 -0800 Subject: [PATCH] add initialization options to zonk_mode background --- vacation.p8 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/vacation.p8 b/vacation.p8 index 16f1895..88c1862 100644 --- a/vacation.p8 +++ b/vacation.p8 @@ -723,8 +723,16 @@ zonk_mode = { cy=0, } mknew(zonk_mode, function(self) - self.stripes=fuzzy_stripey.new{} - self.brth=breather.new{} + self.stripes=fuzzy_stripey.new{ + colors=self.bg_stripe_cols, + dy=self.bg_dy, + weight=self.bg_wgt, + } + self.brth=breather.new{ + colors=self.br_cols, + sep=self.br_sep, + speed=self.br_spd, + } end) function zonk_mode:set(_, field,value)