Compare commits

..

No commits in common. "bd03f0ad5ce75a43f1b4f19120e5ffcabd76e62f" and "26a2752b73fa535d1171921e74a256bbb941ed61" have entirely different histories.

View File

@ -728,7 +728,7 @@ function zonk_mode:at(_, x, y)
frames=self.exf, frames=self.exf,
} }
end end
function zonk_mode:c(_, rows, cols) function zonk_mode:center(_, rows, cols)
local w,h = cols*self.spc_full, rows*self.lnh-1 local w,h = cols*self.spc_full, rows*self.lnh-1
self:at(_, 64-ceil(w/2), 64-ceil(h/2)) self:at(_, 64-ceil(w/2), 64-ceil(h/2))
end end
@ -835,7 +835,6 @@ function fadetbl(col, tbl, frac)
end end
function zonk_mode:update() function zonk_mode:update()
self.confirmed = self.confirmed or self.ac
if (not self.brth:matches(self.bwt)) self.alwaysmatched=false if (not self.brth:matches(self.bwt)) self.alwaysmatched=false
if self.playing_text then if self.playing_text then
self.twt -= 1 self.twt -= 1
@ -844,7 +843,7 @@ function zonk_mode:update()
if not item then if not item then
if (not self.file or #self.file == 0) self:next_file() if (not self.file or #self.file == 0) self:next_file()
self.playing_text=false self.playing_text=false
if (not self.confirmed) psound(8,8,2) psound(8,8,2)
else else
self.txt_frame:push(item) self.txt_frame:push(item)
self.twt = wt*self.cmul self.twt = wt*self.cmul
@ -865,7 +864,7 @@ function zonk_mode:update()
self.txt_frame.go = true self.txt_frame.go = true
self.fpfrm = self.exf self.fpfrm = self.exf
self.alwaysmatched=true self.alwaysmatched=true
if (not self.ac) psound(8, justc and 16 or 18, 8, true) psound(8, justc and 16 or 18, 8, true)
end end
if (justc and not self.nextpage) psound(8,16,2) if (justc and not self.nextpage) psound(8,16,2)
else else
@ -916,60 +915,60 @@ end
-->8 -->8
-- awakener -- awakener
count_up=[[bgdy:-0.1 bspd:240 c:3:18 count_up=[[bgdy:-0.1 bspd:240 center:3:18
>wITH EVERY COUNT >wITH EVERY COUNT
FROM 1 !UP TO 5, FROM 1 !UP TO 5,
YOU !WAKE FURTHER. YOU !WAKE FURTHER.
----- -----
bgdy:0 c:5:19 bgdy:0 center:5:19
>aS YOU !WAKE !UP, >aS YOU !WAKE !UP,
THE WORLD RETURNS. THE WORLD RETURNS.
YOUR MIND IS !NOW YOUR MIND IS !NOW
RETURNING TO ITS RETURNING TO ITS
USUAL FLOW. USUAL FLOW.
----- -----
bpal:1 set:bwt:2 c:3:19 bpal:1 set:bwt:2 center:3:19
!aWAKEN, BECOMING !aWAKEN, BECOMING
FULLY ALERT AT THE FULLY ALERT AT THE
>COUNT OF #5... >COUNT OF #5...
----- -----
set:exf:10 set:txf:30 set:txd:45 set:ac:1 bgdy:0.1 bspd:225 c:1:1 set:exf:10 set:txf:30 set:txd:45 set:confirmed:1 bgdy:0.1 bspd:225 center:1:1
1 1
----- -----
set:ac:1 bspd:210 bgdy:0.15 bgwt:10 c:1:1 set:confirmed:1 bspd:210 bgdy:0.15 bgwt:10 center:1:1
2 2
----- -----
set:ac:1 bspd:180 bgdy:0.2 bgwt:12 c:1:1 set:confirmed:1 bspd:180 bgdy:0.2 bgwt:12 center:1:1
3 3
----- -----
set:ac:1 bgdy:0.25 bpal:2 bgwt:14 c:1:1 set:confirmed:1 bgdy:0.25 bpal:2 bgwt:14 center:1:1
4 4
----- -----
set:ac:1 bgdy:0.4 bgwt:16 c:1:1 set:confirmed:1 bgdy:0.4 bgwt:16 center:1:1
5 5
----- -----
set:hide_breath:1 set:hide_stripes:1 boff set:txf:1 set:txd:0 set:exd:0 set:exf:1 set:bwt:0 c:1:11 set:hide_breath:1 set:hide_stripes:1 boff set:txf:1 set:txd:0 set:exd:0 set:exf:1 set:bwt:0 center:1:11
wide awake! wide awake!
]] ]]
function normal_awakener() function normal_awakener()
return zonk_mode.new{ return zonk_mode.new{
br_cols=brth_bg, br_cols=brth_bg,
file=[[c:2:15 bon file=[[center:2:15 bon
yOU'VE LEARNED yOU'VE LEARNED
SO WELL! SO WELL!
----- -----
c:2:14 center:2:14
yOU'RE SUCH A yOU'RE SUCH A
!GOOD !TOY! !GOOD !TOY!
----- -----
c:4:19 center:4:19
tAKE A MOMENT TO tAKE A MOMENT TO
JUST !ENJOY HOW JUST !ENJOY HOW
>IT FEELS, TO BE >IT FEELS, TO BE
#VINYL FULL OF #AIR. #VINYL FULL OF #AIR.
----- -----
c:6:20 bgdy:-0.2 center:6:20 bgdy:-0.2
bECAUSE, NEXT, IT'S bECAUSE, NEXT, IT'S
>TIME TO #WAKE #UP. >TIME TO #WAKE #UP.
yOU GET TO TAKE YOUR yOU GET TO TAKE YOUR
@ -977,7 +976,7 @@ yOU GET TO TAKE YOUR
!MEMORIES OF THIS !MEMORIES OF THIS
EXPERIENCE WITH YOU, EXPERIENCE WITH YOU,
----- -----
c:4:20 bgdy:-0.15 bspd:270 center:4:20 bgdy:-0.15 bspd:270
BUT !ALL THE HYPNOTIC BUT !ALL THE HYPNOTIC
!SUGGESTIONS FROM !SUGGESTIONS FROM
>THIS GAME WILL !FADE >THIS GAME WILL !FADE
@ -998,12 +997,12 @@ function fast_awakener()
p={ p={
[0]=0,128,133,5,4,5,6,7,133,134,6,140,132,12,7,7 [0]=0,128,133,5,4,5,6,7,133,134,6,140,132,12,7,7
}, },
file=[[c:3:13 file=[[center:3:13
tHIS HYPNOTIC tHIS HYPNOTIC
EXPERIENCE IS EXPERIENCE IS
ENDING !NOW. ENDING !NOW.
----- -----
c:6:20 center:6:20
>aS YOU #WAKE #UP, ALL >aS YOU #WAKE #UP, ALL
HYPNOTIC SUGGESTIONS HYPNOTIC SUGGESTIONS
FROM THIS GAME FADE. FROM THIS GAME FADE.
@ -1011,13 +1010,13 @@ FROM THIS GAME FADE.
!RETURNING !TO ITS !RETURNING !TO ITS
!ORDINARY PATTERNS. !ORDINARY PATTERNS.
----- -----
c:4:19 bon center:4:19 bon
tHE !STORY TOLD BY tHE !STORY TOLD BY
>THIS SOFTWARE !IS >THIS SOFTWARE !IS
ENDED, WORDS ON A ENDED, WORDS ON A
SCREEN IN THE !PAST. SCREEN IN THE !PAST.
----- -----
c:5:17 center:5:17
>sUGGESTIONS FROM >sUGGESTIONS FROM
>THIS FICTION ARE >THIS FICTION ARE
LEFT BEHIND. tHEY LEFT BEHIND. tHEY
@ -1786,10 +1785,10 @@ DRIFT,SOAR,IMAGINE,BE
RELAX,CHILL,TOY,POOLTOY RELAX,CHILL,TOY,POOLTOY
SINK,DEEP,TRANCE,FOLLOW]] SINK,DEEP,TRANCE,FOLLOW]]
basic_breathe=[[c:1:13 bon set:ac:true set:bwt:1 basic_breathe=[[center:1:13 bon set:confirmed:true set:bwt:1
bREATHE IN... bREATHE IN...
----- -----
c:1:14 set:ac:true set:bwt:2 center:1:14 set:confirmed:true set:bwt:2
bREATHE OUT...]] bREATHE OUT...]]
function sequencer:next() function sequencer:next()
@ -1820,7 +1819,7 @@ function create_game()
exf=30, exf=30,
cmul=0.25, cmul=0.25,
hide_stripes=true, hide_stripes=true,
file=[[c:6:20 file=[[center:6:20
wELCOME TO !vACATION! wELCOME TO !vACATION!
tHIS GAME USES #ONLY tHIS GAME USES #ONLY
@ -1828,7 +1827,7 @@ tHIS GAME USES #ONLY
GAMEPLAY, SO PRESS GAMEPLAY, SO PRESS
!RIGHT TO CONTINUE. !RIGHT TO CONTINUE.
----- -----
c:9:20 center:9:20
>vACATION IS A >vACATION IS A
#HYPNOTIC #EXPERIENCE. #HYPNOTIC #EXPERIENCE.
@ -1839,7 +1838,7 @@ FOR ANY REASON, HOLD
>THE GAME AND STARTS >THE GAME AND STARTS
AN AWAKENER. AN AWAKENER.
----- -----
c:10:20 center:10:20
>aT THE END OF THIS >aT THE END OF THIS
>GAME, THE HYPNOTIC >GAME, THE HYPNOTIC
SUGGESTIONS WILL END SUGGESTIONS WILL END
@ -1851,16 +1850,16 @@ FEEL FREE TO !SINK AS
!DEEP INTO TRANCE AS !DEEP INTO TRANCE AS
>YOU LIKE! >YOU LIKE!
----- -----
c:2:20 center:2:20
iN THIS GAME, YOU'RE iN THIS GAME, YOU'RE
AN #ORCA #POOLTOY. AN #ORCA #POOLTOY.
----- -----
c:3:16 center:3:16
>tHAT'S ALSO THE >tHAT'S ALSO THE
CHARACTER IN THE CHARACTER IN THE
ARCADE PART. ARCADE PART.
----- -----
c:10:20 center:10:20
lET'S TRY THE ARCADE lET'S TRY THE ARCADE
PART! #jUMP AND #DIVE PART! #jUMP AND #DIVE
>TO CATCH !THE WORDS. >TO CATCH !THE WORDS.
@ -1872,7 +1871,7 @@ THEY'RE JUST HERE TO
!SHAPE THE EXPERIENCE !SHAPE THE EXPERIENCE
FOR !YOU. FOR !YOU.
----- -----
c:2:10 center:2:10
UP: JUMP UP: JUMP
DOWN: !DIVE]], DOWN: !DIVE]],
}}, }},
@ -1891,17 +1890,17 @@ DOWN: !DIVE]],
txf=15, txf=15,
exf=30, exf=30,
br_spd = 240, br_spd = 240,
files={[[c:3:18 files={[[center:3:18
hEY, WELCOME BACK! hEY, WELCOME BACK!
>sTARTING TO GET >sTARTING TO GET
>THE HANG OF IT? >THE HANG OF IT?
----- -----
c:3:14 center:3:14
nOW, THIS GAME nOW, THIS GAME
PROMISED TO BE PROMISED TO BE
>#HYPNOTIC. >#HYPNOTIC.
----- -----
c:6:18 center:6:18
aND YOU MIGHT BE aND YOU MIGHT BE
!ZONING !OUT TO IT !ZONING !OUT TO IT
ALREADY! bUT THESE ALREADY! bUT THESE
@ -1909,7 +1908,7 @@ ALREADY! bUT THESE
MORE TRADITIONALLY MORE TRADITIONALLY
>!HYPNOTIC. >!HYPNOTIC.
----- -----
c:8:20 center:8:20
nOW, YOU MIGHT NOT nOW, YOU MIGHT NOT
THINK !HYPNOSIS !WORKS THINK !HYPNOSIS !WORKS
ON YOU. tHAT'S ALL ON YOU. tHAT'S ALL
@ -1919,7 +1918,7 @@ THINK !HYPNOSIS !WORKS
HAVE TO !FOLLOW THE HAVE TO !FOLLOW THE
TEXT TOO CLOSELY. TEXT TOO CLOSELY.
----- -----
c:9:20 center:9:20
>tHIS IS A #vACATION! >tHIS IS A #vACATION!
yOU DON'T HAVE TO DO yOU DON'T HAVE TO DO
>MUCH OF #ANYTHING. >MUCH OF #ANYTHING.
@ -1930,42 +1929,42 @@ yOU DON'T HAVE TO DO
>STAIRCASE AND COUNT >STAIRCASE AND COUNT
BACKWARDS. BACKWARDS.
----- -----
c:4:20 center:4:20
tHAT ALL SOUNDS LIKE tHAT ALL SOUNDS LIKE
TOO MUCH WORK. aLL TOO MUCH WORK. aLL
YOU NEED TO DO RIGHT YOU NEED TO DO RIGHT
!NOW IS TO #BREATHE. !NOW IS TO #BREATHE.
----- -----
c:1:13 bon bpal:1 set:ac:true set:bwt:1 set:txf:2 set:txd:0 set:exd:0 set:exf:10 center:1:13 bon bpal:1 set:confirmed:true set:bwt:1 set:txf:2 set:txd:0 set:exd:0 set:exf:10
bREATHE IN... bREATHE IN...
----- -----
c:1:14 set:ac:true set:bwt:2 bspd:270 center:1:14 set:confirmed:true set:bwt:2 bspd:270
bREATHE OUT... bREATHE OUT...
----- -----
c:1:13 bpal:1 set:ac:true set:bwt:1 center:1:13 bpal:1 set:confirmed:true set:bwt:1
bREATHE IN... bREATHE IN...
----- -----
c:1:14 set:ac:true set:bwt:2 bspd:300 center:1:14 set:confirmed:true set:bwt:2 bspd:300
bREATHE OUT...]], bREATHE OUT...]],
basic_breathe, basic_breathe,
[[set:bwt:0 bpal:2 unset:txd:txf:exf:exd c:4:19 [[set:bwt:0 bpal:2 unset:txd:txf:exf:exd center:4:19
gREAT! iT FEELS gREAT! iT FEELS
>NICE TO !SINK INTO >NICE TO !SINK INTO
RELAXATION SO RELAXATION SO
EASILY, DOESN'T IT? EASILY, DOESN'T IT?
----- -----
c:4:19 center:4:19
>iT HELPS YOUR MIND >iT HELPS YOUR MIND
>FLOAT AND !DRIFT, >FLOAT AND !DRIFT,
LIKE A #POOLTOY #ORCA LIKE A #POOLTOY #ORCA
ON THE WAVES... ON THE WAVES...
----- -----
c:3:18 center:3:18
iT'S A FUN IDEA TO iT'S A FUN IDEA TO
JUST BE A #TOY LIKE JUST BE A #TOY LIKE
>THAT, ISN'T IT? >THAT, ISN'T IT?
----- -----
c:7:20 center:7:20
!iMAGINE IT! #fLOATING !iMAGINE IT! #fLOATING
>FREE ON A WARM DAY, >FREE ON A WARM DAY,
!COOL WATER #SPLASHING !COOL WATER #SPLASHING
@ -1974,7 +1973,7 @@ YOUR AIR-FILLED BODY
>#BOBBING BUOYANTLY >#BOBBING BUOYANTLY
ON THE SURF... ON THE SURF...
----- -----
c:8:20 center:8:20
nOW, !YOUR !MIND CAN nOW, !YOUR !MIND CAN
>#DO #WHATEVER #FEELS >#DO #WHATEVER #FEELS
>#RIGHT -- IT !FOLLOWS >#RIGHT -- IT !FOLLOWS
@ -1984,13 +1983,13 @@ YOU, IDEAS !YOU WOULD
>ENJOY AND !WANT TO >ENJOY AND !WANT TO
>EXPERIENCE. >EXPERIENCE.
----- -----
c:4:19 center:4:19
aNYTHING ELSE CAN aNYTHING ELSE CAN
>JUST ROLL OFF YOUR >JUST ROLL OFF YOUR
MIND LIKE WATER OFF MIND LIKE WATER OFF
A POOLTOY'S BACK. A POOLTOY'S BACK.
----- -----
c:5:19 set:bwt:2 bpal:1 center:5:19 set:bwt:2 bpal:1
bUT WON'T IT BE FUN bUT WON'T IT BE FUN
TO #FEEL #THE #SEA TO #FEEL #THE #SEA
>#BENEATH #YOU AS YOU >#BENEATH #YOU AS YOU
@ -2008,12 +2007,12 @@ SURF OVER THE WAVES
{ {
f=zonk_mode.new, f=zonk_mode.new,
params={{files={ params={{files={
[[c:3:19 [[center:3:19
>dON'T THOSE LEVELS >dON'T THOSE LEVELS
>JUST #FLY BY WHEN >JUST #FLY BY WHEN
YOU'RE IN A #TRANCE? YOU'RE IN A #TRANCE?
----- -----
c:7:20 bpal:1 center:7:20 bpal:1
hAVE YOU YET NOTICED hAVE YOU YET NOTICED
HOW !DIFFERENT IT HOW !DIFFERENT IT
>FEELS !NOW, YOUR >FEELS !NOW, YOUR
@ -2022,19 +2021,19 @@ hAVE YOU YET NOTICED
YOUR MIND TO !GREATER YOUR MIND TO !GREATER
>DEPTHS OF #HYPNOSIS? >DEPTHS OF #HYPNOSIS?
----- -----
c:4:20 bpal:2 center:4:20 bpal:2
sTRANGE HOW !THAT sTRANGE HOW !THAT
!BODY !CAN !BE !SO !HEAVY !BODY !CAN !BE !SO !HEAVY
>WHILE YOU'RE SO >WHILE YOU'RE SO
>#LIGHT AND #FLOATY! >#LIGHT AND #FLOATY!
----- -----
c:4:20 center:4:20
oR PERHAPS !IT !CAN !BE oR PERHAPS !IT !CAN !BE
>VERY !FAMILIAR, IF >VERY !FAMILIAR, IF
YOU'VE EXPERIENCED YOU'VE EXPERIENCED
#HYPNOSIS BEFORE. #HYPNOSIS BEFORE.
----- -----
c:7:20 set:bwt:2 bpal:1 center:7:20 set:bwt:2 bpal:1
iT CAN BECOME VERY iT CAN BECOME VERY
FAMILIAR, !THAT SENSE FAMILIAR, !THAT SENSE
OF #FOCUS AND #QUIET OF #FOCUS AND #QUIET
@ -2044,7 +2043,7 @@ FAMILIAR, !THAT SENSE
WORDS IN !TRANCE.]], WORDS IN !TRANCE.]],
basic_breathe, basic_breathe,
basic_breathe, basic_breathe,
[[set:bwt:0 bpal:2 c:8:20 [[set:bwt:0 bpal:2 center:8:20
sO #RELAXED NOW, !THAT sO #RELAXED NOW, !THAT
!BODY BARELY WANTS TO !BODY BARELY WANTS TO
>MOVE, !DOESN'T IT? >MOVE, !DOESN'T IT?
@ -2054,7 +2053,7 @@ sO #RELAXED NOW, !THAT
>PAGE, EVERYTHING IS >PAGE, EVERYTHING IS
SO #CALM AND #HEAVY. SO #CALM AND #HEAVY.
----- -----
c:9:20 center:9:20
>iF YOU NEEDED TO, >iF YOU NEEDED TO,
>YOU COULD LOOK AWAY >YOU COULD LOOK AWAY
AND MOVE FREELY, BUT AND MOVE FREELY, BUT
@ -2065,7 +2064,7 @@ SCREEN, AREN'T THEY?
>#RIGHT #HERE WHEN YOU >#RIGHT #HERE WHEN YOU
TRY TO TURN AWAY. TRY TO TURN AWAY.
----- -----
c:6:20 center:6:20
bECAUSE EVERY WORD bECAUSE EVERY WORD
IS TAKING YOU !DEEPER IS TAKING YOU !DEEPER
INTO !TRANCE !NOW, INTO !TRANCE !NOW,
@ -2073,7 +2072,7 @@ IS TAKING YOU !DEEPER
>#HYPNOTIC #SAFETIES >#HYPNOTIC #SAFETIES
DEEP IN YOUR MIND. DEEP IN YOUR MIND.
----- -----
c:9:20 center:9:20
tHE !SUGGESTIONS IN tHE !SUGGESTIONS IN
>THIS GAME ARE #PLAY. >THIS GAME ARE #PLAY.
tHEY CAN !FEEL AS tHEY CAN !FEEL AS
@ -2085,7 +2084,7 @@ PLAY IS OVER AND THE
>!END AND YOUR MIND >!END AND YOUR MIND
WILL BE AS IT WAS. WILL BE AS IT WAS.
----- -----
c:9:20 center:9:20
>eVEN WHEN YOU ARE >eVEN WHEN YOU ARE
FULLY !ENGAGED IN FULLY !ENGAGED IN
THIS EXPERIENCE, A THIS EXPERIENCE, A
@ -2097,7 +2096,7 @@ SUGGESTIONS THAT ARE
>OTHERS #DRIFT PAST >OTHERS #DRIFT PAST
>WITH NO EFFECT. >WITH NO EFFECT.
----- -----
c:9:20 center:9:20
>iF YOU NEED OR WANT >iF YOU NEED OR WANT
>TO END THIS GAME AT >TO END THIS GAME AT
>ANY TIME, FOR ANY >ANY TIME, FOR ANY
@ -2108,7 +2107,7 @@ AWAKENER STARTS. aNY
>KEEPING YOU SAFE IS >KEEPING YOU SAFE IS
>INVITED TO DO THIS. >INVITED TO DO THIS.
----- -----
c:8:20 bpal:1 center:8:20 bpal:1
>bECAUSE ALL THESE >bECAUSE ALL THESE
SAFETIES ARE HERE, SAFETIES ARE HERE,
THE SUGGESTIONS IN THE SUGGESTIONS IN
@ -2118,7 +2117,7 @@ BALLOON ANIMAL UNTIL
IT'S THE !PERFECT IT'S THE !PERFECT
SHAPE FOR A !TOY! SHAPE FOR A !TOY!
----- -----
c:9:20 center:9:20
>a !PERFECT MATCH FOR >a !PERFECT MATCH FOR
THOSE !SMOOTH PUFFY THOSE !SMOOTH PUFFY
!VINYL #FLIPPERS NOW !VINYL #FLIPPERS NOW
@ -2129,7 +2128,7 @@ c:9:20
YOU STORIES WITH YOU STORIES WITH
#EVERY #SENSE NOW. #EVERY #SENSE NOW.
----- -----
c:9:20 center:9:20
>wHAT DOES IT !FEEL >wHAT DOES IT !FEEL
LIKE, TO WEAR THAT LIKE, TO WEAR THAT
!CETACEAN #SHAPE, SO !CETACEAN #SHAPE, SO
@ -2140,7 +2139,7 @@ TO HAVE INTERNAL #AIR
#PRESSURE RESISTING #PRESSURE RESISTING
MOVEMENTS? MOVEMENTS?
----- -----
c:7:19 center:7:19
>bECAUSE WHEN !YOUR >bECAUSE WHEN !YOUR
>PAINTED-ON EYES CAN >PAINTED-ON EYES CAN
?SEE YOUR INFLATABLE ?SEE YOUR INFLATABLE