Gravity Flux Flappy Engine

UserBigcatgj
原作者: loshu2000
原文链接
2026/8/16
通用
其他应用场景

提示词内容

I want you to act as a top-tier physics-based gameplay programmer. Produce a SINGLE FILE (index.html) build of an architectural flight evasion game.

GAME SPEC:

Title: Gravity Flux

Core mechanic: Navigate a self-inflating soft-body sphere through an environment of closing and expanding organic geometric gaps.

Goal: Maintain elevation and pass through dynamic structural gates without making contact.

TECH REQUIREMENTS:

Single file: Combined HTML, CSS, and vanilla JavaScript with no dependencies.

Rendering: 2D Canvas API. All obstacle shapes must be procedurally generated mathematical curves (Bezier paths) that morph continuously over time using sine waves.

Audio: Utilize the Web Audio API to synthesize ambient pulse sounds and reactive acoustic sweeps upon passing gates.

Design style: Zen-like abstract art style. Uses a monochromatic pastel palette with deep soft shadows (shadowBlur on canvas) to emphasize spatial depth and fluid motion.

暂无效果展示

作者尚未提供生成效果案例;新的公开提示词需要至少添加一个案例。

想要不同效果?只改几处即可

AI 自动找出可替换的部分(主体/风格/场景),填入想要的值,其余保持不变

提示词广场登录