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,即可驗證所有權並自行管理介紹。
一分鐘完成驗證2600th/Kinema
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
Kinema is a browser-native third-person gameplay lab built with TypeScript, Three.js, Rapier, Tone.js, and Vite. It combines a WebGPU-first runtime, a compatibility WebGL path, and an in-browser level editor so developers can prototype mechanics, iterate on content, and validate rendering behavior in one codebase.檢視完整 README ↗Kinema is a browser-native third-person gameplay lab built with TypeScript, Three.js, Rapier, Tone.js, and Vite. It combines a WebGPU-first runtime, a compatibility WebGL path, and an in-browser level editor so developers can prototype mechanics, iterate on content, and validate rendering behavior in one codebase.
Why this repo is worth opening:
| Target Arena | VFX Showcase |
|---|---|
| Color-coded challenge bay with collectible routing, target stacks, and arena-style readability. | Showcase bay highlighting the project's stylized effects language and feature-station presentation. |
| Goal | Kinema gives you |
|---|---|
| Prototype a third-person controller | Character movement, jumping, crouching, ladders, ropes, camera follow, and interaction-ready physics |
| Build browser-based gameplay systems | Runtime systems for checkpoints, hazards, collectibles, prompts, debug tooling, and more |
| Explore rendering and graphics tradeoffs | WebGPU-first rendering, WebGL fallback, graphics profiles, post-processing, HDR environments, and debug controls |
| Create or test level-editing workflows | An in-browser editor with brushes, gizmos, hierarchy, inspector, undo/redo, GLB import, and play-test mode |
| Validate real-world compatibility | Keyboard and mouse, gamepad, mobile touch controls, and Safari/Apple compatibility coverage |
| Study a modular game architecture | Clear domains for gameplay, rendering, input, editor, systems, UI, and tests |
F1, place geometry, and play-test with Ctrl+P or Cmd+P.?forceWebGL=1 and compare behavior.flowchart LR
A["npm ci"] --> B["npm run dev"]
B --> C["Open the main menu"]
C --> D["Play the showcase"]
C --> E["Create a level"]
E --> F["Place brushes or import GLBs"]
F --> G["Play-test with Ctrl/Cmd + P"]
D --> H["Jump to a station or review spawn"]
| Area | Highlights |
|---|---|
| Gameplay | Character controller, checkpoints, hazards, collectibles, doors, ropes, and grab/carry/throw interactions |
| Vehicles | Driveable car and hover drone |
| World | Procedural showcase corridor with 14 feature stations |
| Editor | Brush placement, GLB import, transform gizmo, undo/redo, save/load, and play-test mode |
| Rendering | WebGPU-first renderer, WebGL fallback, graphics profiles, post-processing, HDR environments |
| Input | Keyboard and mouse, gamepad, and mobile touch controls |
| Tooling | Vitest unit tests, Playwright browser tests, and Biome linting |
npm ci
npm run dev
Open http://127.0.0.1:5173.
Play to load the procedural showcase.F1 to open the editor.Ctrl+P or Cmd+P in the editor to play-test.` to open the debug panel.| Command | What it does |
|---|---|
npm run dev | Start the local Vite dev server |
npm run build | Type-check and create the production build in dist/ |
npm run preview | Preview the production build locally |
npm run test | Run Vitest unit tests in src/**/*.test.ts |
npm run test:watch | Run Vitest in watch mode |
npm run lint | Run Biome checks on src/ |
npm run lint:fix | Apply Biome fixes on src/ |
npx playwright test | Run Playwright browser coverage from tests/ |
Install the Playwright browser once with:
npx playwright install chromium
Append these to your local dev URL when you want a faster repro:
| Path | Use it for |
|---|---|
/ | Normal startup through the main menu |
/?station=vehicles | Jump straight into one showcase station |
/?station=vfx | Isolate rendering and particle-heavy content |
/?spawn=overviewMid | Load the procedural showcase from a review spawn |
/?forceWebGL=1 | Force the compatibility renderer |
/?experimentalRenderer=1 | Opt Safari into the experimental renderer for debugging |
In dev builds, window.__KINEMA__ exposes helpers used by tests and debugging flows, including player state, teleports, vehicle inspection, graphics profile toggles, and input simulation helpers.
flowchart TD
A["src/main.ts"] --> B["Bootstrap renderer, physics, input, audio, and menus"]
B --> C["src/Game.ts"]
C --> D["Runtime systems"]
C --> E["LevelManager"]
C --> F["UI and menu flow"]
E --> G["Procedural showcase"]
E --> H["Direct station loads"]
E --> I["Saved and editor levels"]
F --> J["Main menu, settings, help"]
F --> K["Lazy-loaded editor"]
| Path | Responsibility |
|---|---|
src/core/ | Shared types, constants, event bus, settings, and the fixed-step game loop |
src/character/ | Player controller, locomotion modes, and FSM states |
src/interaction/ | Focus detection and interactables such as doors, ropes, vehicles, and throwable objects |
src/vehicle/ | Car and drone controllers plus vehicle orchestration |
src/level/ | Procedural showcase layout, level loading, lighting, checkpoints, and asset loading |
src/editor/ | In-browser level editor, brushes, tools, panels, and serialization |
src/renderer/ | Renderer bootstrapping, profiles, post-processing, and compatibility behavior |
src/ui/ | HUD, loading states, menus, and debug panel |
src/systems/ | Runtime feature systems registered by src/Game.ts |
public/assets/ | Models, HDR environments, LUTs, sprites, and other static assets |
tests/ | Playwright browser coverage and screenshot-oriented verification |
Path aliases are configured in tsconfig.json and vite.config.ts for @core, @character, @level, @renderer, @editor, and the other top-level domains under src/.
| If you want to change... | Start here |
|---|---|
| Movement tuning or physics feel | src/core/constants.ts, src/character/, and src/physics/ |
| Procedural showcase layout | src/level/ShowcaseLayout.ts and src/level/ProceduralBuilder.ts |
| Runtime feature systems | src/systems/ and registration in src/Game.ts |
| Rendering or post-processing | src/renderer/ |
| Editor behavior or tools | src/editor/ and src/editor/tools/ |
| UI, menus, and HUD | src/ui/ |
| Interactables | src/interaction/interactables/ |
| Vehicles | src/vehicle/ |
Use this as the standard pre-merge pass:
npm run test
npm run lint
npm run build
npx playwright test
Notes:
playwright.config.ts.*.test.ts.tests/ is especially useful for procedural loads, controls, mobile layouts, and rendering regressions.| Input | Action |
|---|---|
W A S D | Move |
| Mouse | Look |
Space | Jump |
Shift | Sprint or vehicle boost |
F | Interact, grab, or enter/exit vehicles |
C / Left Ctrl | Crouch or handbrake |
Escape | Pause menu |
` | Debug panel |
F1 | Toggle editor |
Use the in-app Help menu for the full control reference, including rope, vehicle, gamepad, and mobile touch mappings.
public/assets/models/.Released under the MIT License. Copyright (c) 2026 Pranshul Chandhok.