尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证60-second WebGL night driving game built with Next.js and three.js
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗A 60-second night driving game: weave through late traffic, chain near misses for points, and see how far one minute takes you. Built with Next.js (App Router) and three.js r128.
| Key | Action |
|---|---|
| W / ↑ | Gas |
| S / ↓ | Brake |
| A D / ← → | Steer |
| Shift / Space | Nitro |
| V | Camera |
| C | Paint |
| L | Light glow |
| M | Sound |
| H | Hide HUD |
| P / Esc | Pause |
| R | Restart |
| F | Fullscreen |
On touch devices, on-screen buttons appear automatically.
npm install
npm run dev
Then open http://localhost:3000.
app/NightHighway.tsx holds the game's HUD, title and results markup (client component)app/engine.js holds the WebGL renderer, post-processing, world, physics, audio and inputapp/globals.css holds the styles