Jungle Trek: A First-Person Rainforest Walk
- Lab Skill
- v0.1.1
- Game creation
Walk a narrowing rainforest trail to a plunge-pool waterfall, in one offline HTML file: a first-person level generated procedurally at load, six carved waystones to collect along the path, stone ruins and a gate to pass, jog and jump over rougher ground, and a finish card with the walk time. Terrain, nine plant species, water, sky and ambience are all drawn in code — no imported assets.
例
Jungle Trek rainforest trail
この例はサンドボックス化されたフレームで実行され、このページにはアクセスできません。
オンラインで実行
SandBase sandbox で実行し、結果を Lab で確認できます。
Lab で開く ↗得られるもの
Bring the trail and its biome, and optionally the look, markers, pacing and controls. The Skill returns a downloadable Skill (the walkable-level project, a customize guide, headless verification) and one playable example walk.
仕組み
- 01
Set the biome and goal
Jungle Trek takes a prompt such as 'Use jungle-trek to make a first-person nature walk through a pine forest to a lookout tower.' Slots set the trail and biome, with optional look, markers, pacing and controls. node scripts/new-project.mjs --out <dir> copies the project out of assets/jungle-trek so your agent edits a copy rather than the Skill's source.
- 02
Shape trail, plants and water
The level is generated in three.js at page load from an authored trail of fifteen knots, with terrain, nine code-drawn plant species, stone ruins, a gate, water, sky and synthesised ambience. src/config.js holds CFG for speeds, eye height, fog, light, pool, markers and finishT. Six waystones sit at normalised trail positions in markers[], and references/customize.md lists the traps.
- 03
Build and walk it headlessly
npm ci && npm run build:single writes one dist-single/index.html under 8 MiB with no fetch, storage or workers. npm run shoot replays verify.json and harness checks for size, fps, audio, CSP, WebGL, mobile layout and screenshot detail, then writes shots/report.json. Version 0.1.1 passed ten interactions, including a marker find, the falls, the finish card and a phone walk.
FAQ
What is Jungle Trek?
Jungle Trek is a single-player first-person walk along a narrowing rainforest trail, from a shaded trailhead past ruins to a waterfall and plunge pool. Six carved waystones mark progress, and reaching the pool rim shows a card with your walk time and how many markers you found.
Does Jungle Trek ship any models, textures or sounds?
No. Jungle Trek builds terrain, vegetation, ruins, water and sky in code and draws its textures on canvas, so the package contains no models, textures, audio or fonts. Any asset you add later must be bundled inline and listed with its licence in CREDITS.json, and only generated or CC0 files are allowed.
Can Jungle Trek generate a different map each load?
No. Jungle Trek generates one authored walk from its fifteen-knot trail, not arbitrary terrain. Reshaping the world means editing trail.js and config.js. The player stays on the ground inside the corridor, with no swimming, climbing or free flight.
Is Jungle Trek free to run?
Yes. Jungle Trek runs entirely in the browser, synthesises its ambience after the first click and makes no network requests, so walking the trail calls no model and incurs no SandBase charge. Building needs Node and npm, and the headless check needs Chrome.
Why does Jungle Trek show an error instead of the scene?
Jungle Trek requires WebGL 2, and a browser without it posts a jungle-trek:error message with the reason webgl rather than a black frame. Pointer lock is desktop-only and denied inside an iframe, so look falls back to touch drag. Audio cannot play before the first click or tap.
Does Jungle Trek work on mobile?
Yes. Jungle Trek gives touch screens a virtual stick to walk and drag-to-look elsewhere on the screen. The mobile verify step checks the layout at 390 pixels wide under emulation, not on real devices. The in-game text is English.
その他の Skills
すべての Game creation Skills →
Seagull Swoop
Build a 3D flight-and-delivery game with light fries, heavy fish, crosswinds and optional ring routes. The gull must bring lunch home; cargo weight changes which openings it can safely reach.

Wedding Cake Wobble
Build a 3D fragile-cargo delivery game around a wobbling wedding cake. Brake before turns, avoid crossing guests and steer around tables. Lost tiers change the score, while a partial delivery can still succeed.

Hermit Tide
Build a 3D route-and-timing game where a hermit crab changes shells to cross a tidal shore. Narrow gaps favour the cap, stronger shells resist waves, and dry stones provide shelter and checkpoints.

Clover Circuit: Estate Cut
Drive a coral ride-on mower through a fenced estate garden. Steering, braking and the moving blade cut actual grass tufts; Overview reveals the genuine trail. Edit three gardens and three scene palettes offline. Coverage counts trimmed tuft centers rather than continuous ground area.

Glide Gates: Lagoon Run
Flap a golden bird through emerald pipe pairs above a turquoise lagoon. Actual fixed-step gravity, swept circle contacts and full-gate scoring power both manual flight and clearly labeled practice. Edit three courses and three scene palettes offline.

3D Interactive Garden Islands
Walk a curved garden, harvest fruit, share gifts, catch butterflies, fish, grow flowers and craft furniture. Four lighting states and one offline HTML with bilingual keyboard and touch controls.

