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
Prototype third-person mechanics and play-test levels in the browser
AI summary · README
GamesTypeScript · RoffGitHub @2600thOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
2600th/Kinema
Translation pending
Taken from the repository README
Loading the full README. The saved excerpt is shown below.
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.Read the full 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.