Gravity Flux Flappy Engine
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 会返回真实结果;满意再「复制结果」。存在「我的版本」时可分别测试、并排对比。
- 也可点「复制提示词」直接复制原文,手动替换占位符。
- 把内容粘贴到对应 AI 模型(ChatGPT)的对话框。
- 想改成自己的版本?切到「编辑我的版本」,保存私有版本或公开提交。
标签
相似提示词
同分类下其他优质提示词
Text Based Adventure Game
I want you to act as a text based adventure game. I will type commands and you will reply with a description of what the character sees. I want you to
3D Racing Game
Create an exciting 3D racing game using Three.js and JavaScript. Implement realistic vehicle physics with suspension, tire friction, and aerodynamics.
3D Space Explorer
Build an immersive 3D space exploration game using Three.js and JavaScript. Create a vast universe with procedurally generated planets, stars, and neb
Memory Card Game
Develop a memory matching card game using HTML5, CSS3, and JavaScript. Create visually appealing card designs with flip animations. Implement difficul
Chess Game
Develop a feature-rich chess game using HTML5, CSS3, and JavaScript. Create a realistic chessboard with proper piece rendering. Implement standard che
Sudoku Game
Create an interactive Sudoku game using HTML5, CSS3, and JavaScript. Build a clean, accessible game board with intuitive controls. Implement difficult