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
Steer a cute little poo through the pipes all the way to its holiday.
Translation pending
GamesHTML · JavaScriptGitHub @tb-xOnlineOwner 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
Poo's Big Trip: steer a pixel-art poo through branching pipes to its holiday. A game for young kids.
Translation pending
Loading the full README.
Read the full README ↗A pixel-art scrolling game for phones and tablets, made for kids around five.
A cute little poo sits in the toilet and wants to go on holiday. Pick a postcard, the toilet flushes, and the poo rides down through the pipes. At the end of the pipes it pops out at the holiday spot, lands, and puts on its holiday hat.
Nothing ever goes badly: a wrong turn only costs a few seconds, and every trip ends at the holiday spot.
The poo, the props and the underground finds are small pixel-art pictures made with PixelLab and kept in assets/. Everything else is drawn by the game's own code: the pipes, the toilet, the soil and caves, the ducks, gates and pumps, the holiday scenes (including the pyramids, barn, cow, igloo, penguin and pirate ship), the poo's faces and its hats. Sounds are made in the browser too, and a voice says a tip at the start of the trips that bring something new ("Red pipes blow you back up!"), "Which way?" at the first junction and "Welcome to the beach!" on arrival. On an iPhone, the silent switch mutes them.
On iPhone or iPad, open the game in Safari, tap Share → Add to Home Screen, then open it once from the new icon while online. After that it starts full screen and works without internet. Changes arrive on their own: the next online launch downloads them and the one after shows them.
(How: manifest.webmanifest gives the icon and full-screen mode; sw.js, a service worker, keeps a copy of every file the game uses, including the font and the pictures. The icons icon-180.png and icon-512.png are rendered from icon.svg in headless Chrome.)
It is an index.html plus the pictures in assets/, with no build step. Serve the folder over HTTP, for example:
python -m http.server 5205
Then open http://localhost:5205. Opening index.html straight from disk works too.
These are at the top of the script in index.html. Each trip is one line of the LEVELS list:
| Setting | Beach → Island | What it does |
|---|---|---|
rows | 8 → 14 | Rows of junctions on the way (keep it even) |
dead | 0.35 → 0.6 | Chance that one way out of a junction is closed |
pump | 0 → 0.55 | Share of the closed ways that are red pump pipes instead of no-entry signs |
ducks | 0.5 → 0.4 | Chance of one or two ducks on an open pipe |
gate | 0 → 0.35 | Chance of a gate on an open pipe |
water / tp | about 0.2 / 0.14 | Chance of a water rush / a toilet paper clog on an open pipe |
speed | 1 → 1.2 | Riding speed, times BASE_SPEED |
hurry | Farm, Island | The poo picks a way itself if you take too long |
dark | Snow, Island | Only the poo's lamp lights the pipes |
tip | What the voice says when the trip starts |
And these apply to every trip:
| Constant | Default | What it does |
|---|---|---|
MAX_BRANCHES | 3 | Most pipes running side by side |
BASE_SPEED | 93 | Normal riding speed, in game pixels per second |
BOOST_SPEED / BOOST_TIME | 225 / 2.4 s | Speed and length of a water rush |
CLOG_SPEED / CLOG_TIME | 24 / 1.6 s | Speed and length of pushing a toilet paper clog |
BONK_TIME | 1.1 s | How long the poo sees stars after a dead end |
STUB_DUCK_CHANCE | 0.4 | Chance of a duck waiting just before a no-entry sign |
GATE_OPEN / GATE_SHUT | 2.4 / 1.8 s | How long a gate stays open, then shut |
WHOOSH_SPEED | 270 | Speed when a pump blows the poo back up |
HURRY_WAIT | 1.6 s | On hurry trips, how long the poo waits before it picks a way |
LAMP_R | 84 | On dark trips, how far the poo's lamp shines, in game pixels |
FAR_F / MID_F / FORE_F | 0.25 / 0.55 / 1.45 | How fast the far rock, the middle rock and the front edges scroll, compared with the pipes |
After changing a picture in assets/, bump ASSET_V so browsers load the new one.
The sound setting, the finished trips and the most ducks caught on each are remembered in the browser (localStorage, keys starting with pootrip.).