awakener prototype, with bugs

This commit is contained in:
Kistaro Windrider 2024-02-11 17:35:49 -08:00
parent b13a5550ee
commit aead4ad536
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -772,6 +772,13 @@ end
function zonk_mode:bpal(_, p) function zonk_mode:bpal(_, p)
self.brth.nextcolors= p == 1 and obvious_breather or bg_breather self.brth.nextcolors= p == 1 and obvious_breather or bg_breather
end 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() function zonk_mode:activate()
clear_alt_pal_bits() clear_alt_pal_bits()
pal() pal()
@ -949,6 +956,78 @@ function fast_awakener:draw()
print("placeholder", 45, 61, 8) print("placeholder", 45, 61, 8)
end 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 -->8
-- consent screens -- consent screens
@ -1664,6 +1743,7 @@ end
function create_game() function create_game()
seq = sequencer.new{ seq = sequencer.new{
{f=normal_awakener},
{ {
f=zonk_mode.new, f=zonk_mode.new,
params={{ params={{
@ -1711,6 +1791,7 @@ set:bwt:0 set:txd:16 set:txf:20 set:exf:60 center:3:19
THIS ALL YOUR LIFE.]], THIS ALL YOUR LIFE.]],
}}, }},
}, },
{f=normal_awakener},
} }
end end