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.