Sand AISand AI MAGI-2MAGI-2가 이제 SandBase에서 제공됩니다: 네이티브 오디오가 포함된 1080p 동영상지금 사용해 보기

Ghost Nightshift: A 3D Stealth and Possession Game from a Brief

Describe a ghostly hero, a building and the thing it wants back, and your Agent builds a 3D stealth game in one offline HTML file. In the main example, Luma hides inside museum exhibits, rattles them to lure two lantern-carrying guards away, and takes the music box during the 14 seconds its display stays open. The ghost, the treasure, the exhibits, the music and the sound effects are generated through SandBase; the rooms, the patrols, the sight cones and the alert meter are code.

예시 · 2

Ghost Nightshift playable night
새 탭에서 열기

이 페이지에 접근할 수 없는 샌드박스 프레임에서 실행됩니다.

온라인에서 실행

SandBase sandbox에서 실행하고 결과를 Lab에서 확인하세요.

Lab에서 열기 ↗

얻을 수 있는 것

Bring a hero, a place to sneak through, a treasure and a mood; the Agent turns them into rooms, patrols and a new story. The Skill returns a downloadable Skill (the game project, a quoted and budget-capped SandBase asset step, a single-file build and a play-test) and two playable examples with their prepared media.

작동 방식

  1. 01

    Describe the ghost and its haunt

    Give your Agent a ghost, a building, the treasure it wants back and the mood, for example: a lonely lamplighter ghost in a closed railway station, the stationmaster’s pocket watch, two night porters, soft clockwork music. The Agent runs node scripts/new-project.mjs --out my-game and writes the rooms, the guard loops, the exhibits it can hide in and every model and sound prompt.

  2. 02

    Price and generate the haunted assets

    With a SandBase login or SANDBASE_API_KEY, npm run assets -- --theme <id> --budget <n> lists each planned SandBase call, with n set to the ceiling you pick for this theme: text-to-3D for the ghost, the treasure and each exhibit, a music model and a sound-effect model. A plan above the ceiling stops before anything is billed. Add --confirm-real to submit; usage goes to your SandBase account and run ids are saved.

  3. 03

    Build the night and play-test it

    With Node 22.14.0 and FFmpeg, run npm ci, npm run restore, which confirms prepared media by SHA-256 without new calls, and npm run build:single. dist-single/index.html holds rooms, models, music and effects offline. npm run shoot -- --spec themes/<id>/verify.json runs Chrome through the title, Start, possession, rattling each exhibit, both patrol loops, autopilot win, alert loss, retry, mute and 390×844 phone taps. In npm run preview:sandbox, rattle an exhibit while hidden: the nearest guard walks over, waits, then resumes its loop.

FAQ

How does stealth work in Ghost Nightshift?

Ghost Nightshift stealth is about line of sight and noise. Each guard carries a lantern cone about 7.5 units long that walls block, and the alert meter climbs while the ghost stands inside a cone. Hiding in an exhibit and pressing Space makes a rattle; the guard with the shortest grid path walks over, waits five seconds and returns to its loop. There is no navigation mesh, no combat and no timer.

What does Ghost Nightshift generate through SandBase?

Ghost Nightshift generates the ghost, the treasure and each possessable exhibit with a text-to-3D model, plus the music and the sound effects with a music model and a sound-effect model. The museum walls, lantern cones and guard loops are written as code, not generated. Every generation call is billed to the SandBase account you are logged in with, after npm run assets shows its quote and rejects anything above your chosen --budget.

Is the museum heist the only story Ghost Nightshift can tell?

No, Ghost Nightshift takes any ghost, building and treasure that fits possess-and-lure play. The second example swaps the museum for a ruined lighthouse, where Glim gathers three flint sparks with F, lights the great lamp and leaves by the sea door. Floor plans stay flat, top-down and single-level, so multi-storey buildings, climbing or guards that chase would need engine work beyond a theme.

Will the ghost game run without a network or server?

Yes, Ghost Nightshift output is a single offline HTML file of about 2.3 MiB. It holds Three.js, the rooms, the generated ghost and exhibits, the music and the effects, and it never contacts a server or a model while you play. It needs a browser with WebGL 2. Performance on specific phones or older laptops has not been measured here.

Can I sneak through Ghost Nightshift on a touch screen?

Yes, Ghost Nightshift adds a joystick and Possess, Rattle and Take buttons on touch screens, each at least 44 CSS pixels wide. The automated check taps them in a 390×844 viewport on every build. On a keyboard the same actions are WASD or the arrow keys, E to possess or leave, Space to rattle and F to take the treasure.

What do I need installed to make a Ghost Nightshift theme?

To make a Ghost Nightshift theme you need a coding Agent, Node 22.14.0, FFmpeg and a local Chrome for the play-test, plus a SandBase login or SANDBASE_API_KEY when generating models and audio. You can also skip generation: npm run restore re-checks the two prepared examples by SHA-256, and only a missing or changed file is downloaded. No hosted generation service exists on this page.

Lab 스킬 · Games

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.

Lab 스킬 · Games

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.

Lab 스킬 · Games

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.

Lab 스킬 · Games

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.

Lab 스킬 · Games

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.

Lab 스킬 · Games

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.