diff --git a/vacation.p8 b/vacation.p8 index 46f10e7..e034d61 100644 --- a/vacation.p8 +++ b/vacation.p8 @@ -772,6 +772,13 @@ end function zonk_mode:bpal(_, p) self.brth.nextcolors= p == 1 and obvious_breather or bg_breather end +function zonk_mode:bgdy(_, dy) + self.stripes.dy = dy +end +function zonk_mode:bgwt(_, w) + self.stripes.weight = w +end + function zonk_mode:activate() clear_alt_pal_bits() pal() @@ -949,6 +956,78 @@ function fast_awakener:draw() print("placeholder", 45, 61, 8) end +count_up=[[bgdy:-0.1 bspd:240 center:3:18 +>wITH EVERY COUNT + FROM 1 !UP TO 5, +YOU !WAKE FURTHER. +----- +bgdy:0 center:5:19 + >aS YOU !WAKE !UP, +THE WORLD RETURNS. + YOUR MIND IS !NOW + RETURNING TO ITS + USUAL FLOW. +----- +bpal:1 set:bwt:2 center:3:19 + !aWAKEN, BECOMING +FULLY ALERT AT THE + >COUNT OF #5... +----- +set:exf:10 set:txf:30 set:txd:45 set:confirmed:1 bgdy:0.1 bspd:225 center:1:1 +1 +----- +set:confirmed:1 bspd:210 bgdy:0.15 center:1:1 +2 +----- +set:confirmed:1 bspd:180 bgdy:0.2 center:1:1 +3 +----- +set:confirmed:1 bgdy:0.25 bpal:2 center:1:1 +4 +----- +set:confirmed:1 bgdy:0.4 center:1:1 +5 +----- +set:hide_breath:1 set:hide_stripes:1 boff set:txf:1 set:txd:0 set:exd:0 set:exf:1 set:lnh:6 set:spc_w:4 set:txmd:128 set:bwt:0 center:1:12 +wide awake! +]] + +function normal_awakener() + return zonk_mode.new{ + br_spd=300, + br_cols=bg_breather, + file=[[center:2:15 bon +yOU'VE LEARNED + SO WELL! +----- +center:2:14 +yOU'RE SUCH A + !GOOD !TOY! +----- +center:4:19 + tAKE A MOMENT TO + JUST !ENJOY HOW + >IT FEELS, TO BE +#VINYL FULL OF #AIR. +----- +center:6:20 bgdy:-0.2 +bECAUSE, NEXT, IT'S + >TIME TO #WAKE #UP. +yOU GET TO TAKE YOUR +!HAPPY MOOD AND !VIVID + !MEMORIES OF THIS +EXPERIENCE WITH YOU, +----- +center:4:20 bgdy:-0.15 bspd:270 +BUT !ALL THE HYPNOTIC + !SUGGESTIONS FROM +>THIS GAME WILL !FADE + >AS YOU #WAKE #UP. +]], + files={count_up}, + } +end + -->8 -- consent screens @@ -1664,6 +1743,7 @@ end function create_game() seq = sequencer.new{ + {f=normal_awakener}, { f=zonk_mode.new, params={{ @@ -1711,6 +1791,7 @@ set:bwt:0 set:txd:16 set:txf:20 set:exf:60 center:3:19 THIS ALL YOUR LIFE.]], }}, }, + {f=normal_awakener}, } end