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,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Free, browser-based tools for indie game developers, starting with an RPG stat and balance generator.
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
Free tools for indie game developers.
GameDev Toolbox is a static website of browser-based utilities for designing and balancing games. Everything runs locally in the browser: no backend, no database, no accounts, no analytics and no uploads. It is supported by one small banner ad per page, isolated from the tools (see Ads).
Generates HP, Attack, Defense and Speed for RPG characters and enemies across a level range.檢視完整 README ↗Free tools for indie game developers.
GameDev Toolbox is a static website of browser-based utilities for designing and balancing games. Everything runs locally in the browser: no backend, no database, no accounts, no analytics and no uploads. It is supported by one small banner ad per page, isolated from the tools (see Ads).
Live site: https://gamedev-toolbox.freewebtoolss.workers.dev/
/tools/rpg-stat-generator/)Generates HP, Attack, Defense and Speed for RPG characters and enemies across a level range.
Starting and maximum level (0 to 9,999, up to 10,000 rows)
Base value and growth per level for each stat
Growth types, where n is the number of levels gained since the starting level:
| Type | Formula |
|---|---|
| Linear | base + growth × n |
| Percentage | base × (1 + growth% × n) (a share of the base value, not compounding) |
| Exponential | base × (1 + growth%)^n (compounding) |
Optional level scaling: multiplies every stat by (1 + boost%)^k, where k is the number of milestone levels (multiples of N) passed since the starting level
Rounding: nearest, down, up, 1 or 2 decimal places (applied last)
Summary tiles, an Attack-versus-Defense balance check, and one small chart per stat, with pointer and keyboard readouts
Table filters (25, 10-20, 1, 10-20, 50) and an every-Nth-level view
Copy (tab-separated), Download CSV, Download JSON; exports always contain every generated level
Specific validation messages per field, including the exact level where a stat overflows or drops below zero
More tools are listed as "Coming later" on /tools/ and are not built yet.
public/ Everything Cloudflare serves (the Wrangler assets directory)
index.html Home
tools/index.html Tools list
tools/rpg-stat-generator/ The generator page
about/index.html About and privacy
404.html Served for unknown paths
_headers Security headers, including the Content-Security-Policy
robots.txt, sitemap.xml, favicon.svg, favicon.ico, apple-touch-icon.png
assets/css/styles.css All styles; light and dark themes
assets/js/theme.js Theme toggle (the only thing saved, in localStorage)
assets/js/rpg-stats-core.js Pure calculation, validation and export logic
assets/js/rpg-stat-generator.js Page wiring for the generator
assets/js/stat-chart.js Dependency-free SVG charts
assets/js/ads-config.js Adsterra banner key (empty = ads off)
assets/js/ads.js Places the sandboxed ad frame in the page's ad slot
ads/banner.html, banner.js The ad frame document that runs Adsterra's code
assets/img/og-image.png Social preview image
tests/ Unit tests for the calculation core and the ad settings
wrangler.jsonc Cloudflare Workers static assets configuration
There is no build step and there are no npm dependencies. Pages are plain HTML; each one carries its own copy of the header and footer.
Requires Node.js 20 or newer.
npx wrangler dev
Opens the site at http://localhost:8787 with the same routing and headers as production.
node --test
Runs the unit tests for the calculation core. They also check that the form defaults in the HTML match the defaults in rpg-stats-core.js.
The site deploys to Cloudflare Workers as static assets (wrangler.jsonc points assets.directory at ./public; there is no Worker script).
npx wrangler login
npx wrangler deploy
html_handling: auto-trailing-slash serves /tools/ from tools/index.html and redirects /about to /about/. not_found_handling: 404-page serves 404.html with a 404 status.
If the site moves to a custom domain, replace https://gamedev-toolbox.freewebtoolss.workers.dev in the HTML files, robots.txt and sitemap.xml.
All calculations run in the browser. The _headers file sends the pages a Content-Security-Policy with connect-src 'none', so they cannot make fetch, XHR, WebSocket or beacon requests even by mistake. The only value the site stores is the light/dark theme choice, kept in the browser's localStorage. Ads run in a separate sandboxed frame (below) and cannot see any of this.
public/tools/<tool-slug>/index.html, copying the header, footer and <head> pattern from an existing page (update the title, description, canonical and Open Graph URLs).public/assets/js/ and cover it with tests in tests/.public/tools/index.html from "Coming later" to "Available now".public/sitemap.xml.Each page has one small 320 × 50 Adsterra banner: under the Settings panel on the generator page on desktop, and at the bottom of the page on phones and on the other pages. The 404 page has none.
Turning ads on. Ads are off while key in public/assets/js/ads-config.js is empty; nothing is requested from Adsterra and the slots stay collapsed. Create a 320 × 50 Banner unit in an Adsterra publisher account, then copy its key and script host from the unit's code into that file (the comments there show where each value comes from), run node --test, and deploy.
How the ad is isolated. assets/js/ads.js loads /ads/banner in an iframe with sandbox="allow-scripts allow-popups allow-popups-to-escape-sandbox" and no allow-same-origin. The frame gets an opaque origin, so ad code cannot read the page, the values typed into it, the site's storage or cookies, and cannot redirect the page; clicks open the advertiser in a new tab. Only /ads/* gets a relaxed Content-Security-Policy in _headers; the pages keep connect-src 'none' and only gain frame-src 'self'.
No empty boxes. A slot shows only after the frame reports that an ad rendered. If nothing renders within a few seconds (no fill, an ad blocker, a network error), the frame is removed and the slot collapses. The "Advertisement" label appears only alongside a real ad.
Visitors in the EU and UK may need to give consent before an ad network sets cookies. Check Adsterra's current requirements before relying on ad revenue from those regions.