Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

Dark Sector: A Top-Down Shooter Lit Only by Your Lamp

Fight through a facility with the power out, in one offline HTML file: you see only what light touches, from your lamp, your bolts, blasts and the power cells you wake. Wake every cell on a floor to call the lift; crawlers charge, gun drones hold range and fire back. Four seeded floors, health pips, score and a par-time bonus, with twin-stick touch on a phone. Every sprite and sound is drawn or synthesised in code.

Örnek

Dark Sector top-down shooter
Yeni sekmede aç

Dark Sector top-down shooter

Örnek, bu sayfaya erişimi olmayan sandbox'lanmış bir çerçevede çalışır.

Çevrimiçi çalıştır

Bir SandBase sandbox'ında çalıştırın ve sonuçlarınızı Lab'de görüntüleyin.

Lab'de aç ↗

Neler elde edersiniz

Bring the setting and the story text, and optionally the floors, the enemies, the light and the numbers. The Skill returns a downloadable Skill (the shooter project, a customize guide, headless verification) and one playable example run.

Nasıl çalışır

  1. 01

    Copy the Lights Out game

    Dark Sector starts with node scripts/new-project.mjs --out my-sector and npm ci on Node 22.4 or newer. The simulation is plain JavaScript in src/sim.js and src/gen.js with no DOM, so Node can drive it in tests. Drawing and lighting live in src/draw.js, every number in src/cfg.js, sound in src/audio.js and the HUD in src/hud.js. Nothing calls a model.

  2. 02

    Edit floors, enemies and light

    Your coding agent reads references/customize.md, which maps requests such as make it brighter, a third enemy, more floors or a new title to files and symbols. The boot card text is CARD.bootLines in src/cfg.js, and LIGHT.ambient sets how dark the map stays. Added images, sounds or fonts must be CC0 or your own and listed in assets/blackout/CREDITS.json.

  3. 03

    Build and pass every shoot step

    npm run build:single writes dist-single/index.html, at most 8 MiB with no network, storage, workers or WebAssembly. npm run shoot needs local Chrome and drives the game through window.__scene.act: boot, moving, the darkness check, firing, a kill, waking a cell, a floor clear, death, retry and extraction, plus a phone run. Update verify.json when you change what it asserts.

SSS

What is the goal in Dark Sector?

Dark Sector puts you in a powerless facility as a spare unit and asks you to wake every blue-flickering cell pedestal on a floor. When all cells glow teal, the lift beacon turns amber, and reaching it clears the floor. A run has four seeded floors, and dying costs the floor, not the run.

What enemies are in Dark Sector?

Dark Sector has two enemy behaviours. Mites are small crawlers with glowing red eyes that charge when you get close. Wards are boxy gun drones that hold at range and fire back. You fire orange bolts that light the corridor they fly through.

Can Dark Sector stay dimly visible instead of dark?

Yes. Dark Sector lets you raise LIGHT.ambient in src/cfg.js. The darkness verify step asserts the contrast between dark and lit areas, so adjust it together with the light level.

Does Dark Sector keep high scores?

Only for the session. Dark Sector keeps the best score in src/runtime/store.js while the page is open, because the sandbox CSP forbids storage. A permanent leaderboard is not possible inside the sandbox.

Does Dark Sector need a key or a GPU?

Dark Sector needs no key and calls no model or paid service, so playing it is free. It draws with 2D canvas only, so no WebGL is required. npm ci downloads pinned packages from the public npm registry.

What are the limits of Dark Sector?

Dark Sector uses a 6 by 4 unit collision box against the tile grid, not sprite outlines. Lighting is a 16-light pool per frame, so more light sources need their own budget. There is no gamepad support, and floors are solvable by construction but not hand-designed set pieces.

Lab Yetenek · 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 Yetenek · 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 Yetenek · 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 Yetenek · 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 Yetenek · 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 Yetenek · 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.