Underground 2 Revived
Play Need for Speed: Underground 2 (2004) in Chrome and Firefox with WebGPU graphics, Web Audio, up to 120 fps widescreen, controller support, free roam and Online races with friends. Fan project, not
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證正在載入完整 README。 以下為已儲存的摘錄。
Cosmos lets you fly a small white starship through a real-scale Solar System in your browser. It is an installable PWA built with Vite, TypeScript and Three.js.檢視完整 README ↗Cosmos lets you fly a small white starship through a real-scale Solar System in your browser. It is an installable PWA built with Vite, TypeScript and Three.js.
| Key | Action |
|---|---|
| W / S | Throttle up / down (logarithmic, 10 m/s to 15,000 km/s) |
| A / D, ← → | Yaw |
| ↑ ↓ | Pitch |
| Q / E | Roll |
| Shift | Boost |
| X | Brake |
| Right-click | Mouse flight: the ship turns smoothly to follow the cursor; Esc releases it |
| Left-drag | Look around in the cockpit, or orbit the camera outside |
| V | Switch view: cockpit, chase, far chase |
| M | Solar System map |
| 1–5 | Warp factor 1c, 3c, 10c, 50c, 100c |
| J | Engage warp, or drop out of warp |
| L | Saved locations |
| T | Toggle labels |
| G | Toggle the FPS counter |
| , / . / P | Slower time, faster time, pause |
| F | Fullscreen |
| H | Help |
On touch screens the game shows a stick and throttle, and you can drag to look around.
URL options:
?loc=earth-orbit (or europe-jupiter, earthrise, io-jupiter, saturn-rings) opens a saved location.?view=chase starts in a chase view.?autostart skips the launch screen.npm install
npm run dev # http://localhost:5173
npm run build # type-checks, then builds the static site into dist/
npm run preview # serves dist/ locally
Node 20 or newer is needed.
Import the repository in Vercel. It detects Vite, runs npm run build and serves dist/, so no settings need changing. vercel.json only adds long-lived cache headers for the textures, models and hashed assets.
The service worker precaches about 3 MB: the app shell, the ship, the star catalogue and the small Milky Way map. Planet maps are cached the first time they load, so places you have visited work offline.
The page itself is always fetched from the network when you are online, so a new deploy shows up on the next load, including in the installed app. If a new version is deployed while the game is open, the update button in the top-right toolbar glows; click it to load the new version.
?nodyn to turn it off.src/sim: ephemerides, body data and reference frames.src/render: the universe, planet, sky, environment-map and post-processing shaders.src/ship: the ship model, flight model and camera rig.src/game: warp, input and saved locations.src/ui: HUD, map and cockpit displays.src/audio: the synthesised sound.tools/: Python scripts that build the textures, star catalogue, icons and the ship (Blender).Planet and moon maps come from Solar System Scope (CC BY 4.0), the Celestia project, USGS/NASA, Fourmilab and others. The Milky Way combines ESA/Gaia/DPAC's Gaia EDR3 sky map (CC BY-SA 3.0 IGO) with ESO/S. Brunier's panorama (CC BY 4.0). The star catalogue is Hipparcos via d3-celestial. Full per-file sources and licences are in CREDITS.md.