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,即可验证所有权并自行管理介绍。
一分钟完成验证Poo's Big Trip: steer a pixel-art poo through branching pipes to its holiday. A game for young kids.
翻译准备中
正在加载完整 README。
查看完整 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.).