Skip to content

feat: 新增海龟汤调查局产品页 - #6

Merged
HsiangNianian merged 1 commit into
mmstudio-games:mainfrom
muyuzhong:feat/hgt-product-page
Nov 2, 2026
Merged

HsiangNianian merged 1 commit into
mmstudio-games:mainfrom
muyuzhong:feat/hgt-product-page

Conversation

@muyuzhong

Copy link
Copy Markdown
Contributor

新增《海龟汤调查局》产品页 /games/hgt。整页没有「上下翻楼层」的网页感:全程只有一块吸顶画面,幕内滚动驱动推演,滚过幕与幕的交界时锁住滚动、播一段剪辑转场,再停在下一幕的开头。右侧常驻胶片齿孔与 24 FPS 时间码标尺。

页头的「海龟汤调查局」、首页海龟汤卡片新增的「查看产品页」、页脚都会进入这一页;终幕的「进入海龟汤」才跳到游戏站。

五幕与四段转场

第 0 幕 · 破汤入局:进入时滚动锁住、页头隐去。中央是一团 WebGL 绘制、缓慢呼吸的墨,上面印着关于「这扇门」的开场谜题;上方四块机械翻牌,下方五枚追问词片。偏题的词片被墨线划穿、散成灰点;擦边的让墨团翻涌裂开,透出底下一角红字;问中两次「是」,门才打开。

第 0 幕
第 0 幕:问过之后,墨团裂开

转场一 · 底片闪白 + 变速冲镜:两帧反相闪白后定格「是」字,镜头以极陡的变速曲线撞进笔画之间的缝隙(缝隙由程序在字形里自动寻找),墨片四散,片名急刹停稳。

转场一(慢放截帧)
片名与汤底

第一幕 · 汤面 / 汤底:纸面上只有几句断裂的表象短句。指针是一枚 WebGL 折光镜(中间放大、边缘急折、色散),照出水面下的朱红因果线、被圈出的矛盾字眼和「两款游戏,同一个动作:提问」。按住时波纹荡开;触屏轻点移动镜片,闲置时自动游走。

第一幕:折光镜

转场二 · 图形匹配 + 甩镜:镜片被吸到正中、拉直成直角取景框;整张画布带横向动态模糊与两帧黑框甩出,取景框卡进「是」字翻牌的外框,再急速拉远。

转场二(慢放截帧)

第二幕 · 四种裁决:四座巨型翻牌,背景是一棵逐层分岔的猜测树。四句示例追问依次撞向审定台:「无关」让外围三分之一熄灭,「不是」被墨色闸门截断,「是,也不是」折成直角,「是」染出唯一一条朱红直线。

第二幕:追问撞向审定台
第二幕:只剩一条路

转场三 · 快门三连跳切 + 纵向劈开:三次带黑场与过曝的跳切放大到红线,红线化作刀锋把画面纵向劈开,左半上滑、右半下滑,错位咬合成第三幕的两条轨道。

转场三(慢放截帧)

第三幕 · 双生造局:左轨是 24 格刻度钟盘,每一格挂一碗官方每日汤(日期编号、难度、语言,今天那碗盖「今日待破」);右轨是墨封的汤友卷宗,只露出「N 人问过」「N 人结案」两个计数,鼠标掠过时扇形错开。两轨随滚动对向流动。

第三幕

转场四 · 抽帧坍缩 + 拉闸断电:画面掉进 8 帧抽帧,卡片带着残影坍缩到中心,像显像管关机一样压成一道白线,硬切纯黑并静默半秒。

转场四(慢放截帧)

终幕 · 凭邀请入座:追光自上而下打亮,纸白细线画出一张空着的审定方桌,「砚已经看过了汤底。」下方是磁吸的「进入海龟汤」与朱红方章;指针靠近时,四散的「是」「不是」被吸向按钮,点击后白光切开黑幕,进入游戏站。

终幕

英文版与手机

英文版
390 宽手机

数据与文案

  • 每日官方汤的日期、难度、语言,以及汤友题库的「问过」「结案」人数,来自游戏站公开接口 /api/daily 与 /api/library/puzzles。接口不允许跨站读取,所以是 2026-11-01 的抄录快照,页面上写明了截止日期;计数会滚动跳一下,但数值不变。快照之后的「今天」那碗显示「难度 · 开汤后可见」。
  • 不展示任何题目标题、汤面、汤底或作者。
  • 开场谜题、五枚追问、汤底、终幕那句话照用需求原文。第一幕的五句汤面与底下的批注、第二幕的四句示例追问、各幕名称和全部英文为新写,待审阅。
  • 英文版副标题使用游戏站自己的英文名 Turtle Soup Bureau(取自其 og:site_name);全站其他地方的英文仍写「海龟汤调查局」,是否统一待定。

实现

  • 代码在 src/components/hgt/,页面按需加载(约 25 KB gzip,不用 three.js)。墨团与折光镜各是一段 WebGL2 片元着色器;转场用 GSAP 时间线;每帧进度走模块级事件,不进 React 状态。
  • 开场额外加了「跳过开场」:只能解谜才能往下走,会卡住键盘与读屏用户。键盘可以直接答题;转场后焦点交给新的一幕。
  • 减少动态效果时不锁滚动、不闪屏,幕与幕之间直接切换。无 WebGL 时墨团与镜片有 CSS / Canvas 2D 降级。
  • 页头在第 0 幕隐藏,在纸面各幕换成米白底墨字,终幕恢复暗色。

验证

  • bun run lint、bun run build 通过。
  • 无头 Chrome(SwiftShader)截图验证:1440×900 中英文、2000×1050、390×844 触屏、减少动态效果;四段转场把 GSAP 全局时间线放慢到 0.1 后逐帧截取。
  • 流程断言:开场滚动被锁住;键盘回车答题后进入第一幕并解锁;一路滚到终幕、倒滚回第三幕(跳切)、再前进到终幕;点击「进入海龟汤」后跳到 https://hgt.mmstudio.games/;离开页面后 data-stage 等标记被清理;全程无控制台报错。
  • 无头 Chrome 是软件渲染,看不出实际帧率与手感;Safari、Firefox 与真机触屏未覆盖。
  • 按需求方要求,本轮未更新 docs/DESIGN.md 与 TODO.md。本 PR 未执行合并或部署。

🤖 Generated with Claude Code

Add /games/hgt: one sticky stage that never scrolls like a page. Scroll
drives each act; crossing an act boundary locks scrolling and plays a
cut, then lands on the next act.

- Act 0: a WebGL ink pool, four split-flap verdict boards and five
  question chips. Scrolling stays locked until two "yes" verdicts open
  the door (with a skip link for keyboard and screen reader users).
- Cut 1: negative flash and a speed-ramp zoom into a gap between the
  strokes of the "yes" glyph, tearing into the title card.
- Act 1: a WebGL refracting lens reveals the hidden answer layer under
  the paper surface; holding the button sends out ripples.
- Cut 2: the lens is pulled to the centre, snaps into a square frame,
  whip-pans with motion blur and match-cuts onto the "yes" board.
- Act 2: four giant boards; each sample question collapses part of a
  branching tree of guesses until one red line remains.
- Cut 3: three stuttering shutter cuts into the red line, which splits
  the frame into two tracks sliding in opposite directions.
- Act 3: a 24-hour dial of official daily puzzles and a sealed stack of
  player puzzles, from a dated snapshot of the game site's public
  stats (no titles, surfaces, answers or authors).
- Cut 4: 8 fps collapse with ghost trails, CRT switch-off, hard black.
- Finale: spotlight, an empty table and a magnetic entry button that
  pulls the floating yes/no glyphs in and opens the game site.

Also link the page from the header, the home case card and the footer,
hide the header during act 0, and fall back to plain cuts without
flashes when reduced motion is requested.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@HsiangNianian
HsiangNianian merged commit 26a4803 into mmstudio-games:main Nov 2, 2026
1 check passed
@HsiangNianian

Copy link
Copy Markdown
Member

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants