Shard Field: A Vector Space Shooter With Splitting Shards
- Lab Skill
- v0.1.2
- Game creation
Fly an inertial skiff through a field of drifting shards, in one small offline HTML file: shots crack large shards into medium and small ones, an amber drone crosses and fires back, every cleared field brings a bigger wave, and three skiffs end the run. Glowing outlines are drawn in Canvas 2D and every sound is synthesised.
Ví dụ
Shard Field vector space shooter
Ví dụ chạy trong khung được sandbox hóa, không có quyền truy cập vào trang này.
Chạy trực tuyến
Chạy trong sandbox của SandBase và xem kết quả trong Lab.
Mở trong Lab ↗Bạn nhận được gì
Bring a look and palette, the shapes of the skiff, shards and enemy, and optionally the numbers, rules and sounds. The Skill returns a downloadable Skill (the reference game project, a customize guide, headless verification) and one playable example run.
Cách hoạt động
- 01
Copy the finished shooter project
Shard Field gives your agent a complete vector space shooter: node scripts/new-project.mjs --out my-field, then npm ci. Simulation lives in src/game/ with no DOM, drawing in src/render.js, look and copy in src/theme.js, numbers in src/game/config.js, sound in src/audio.js and input in src/input.js. It runs locally and calls no model or paid service.
- 02
Restyle and extend with the guide
references/customize.md maps requests such as make it neon pink, slower shards, a second enemy or a new title to the files and symbols to edit and how to confirm each change. Any added image, sound or font must be bundled, CC0 or your own work, and listed in assets/shard-field/CREDITS.json. In-game UI stays English unless the user asks otherwise.
- 03
Build one file and shoot
npm run build:single writes dist-single/index.html, which must stay under 8 MiB with no network, storage, workers or WebAssembly. npm run shoot drives it in local Chrome through window.__scene.act: start, turn, thrust, fire, split shards, drone, wave, pause, game over, restart and the touch stick. Every check must pass in shots/report.json, and verify.json changes when assertions do.
Câu hỏi thường gặp
How do you play Shard Field?
Shard Field launches with Space, a click or a tap. The arrowhead skiff turns with the left and right arrows, thrusts with up and keeps drifting when released. Space fires short bolts, at most four in the air. Large shards crack into medium ones, then small ones, and an amber drone crosses and shoots back. Three skiffs are lost to FIELD LOST.
Does Shard Field call a model or need a key?
No. Shard Field draws outlines in Canvas 2D and synthesises every sound with Web Audio, with no model or paid service anywhere. npm ci only fetches pinned packages from the public npm registry, and the built game makes no network calls.
How big is a Shard Field build?
Shard Field builds to about 30 KB in one HTML file, against an 8 MiB limit. It ships no image, sound or font files, because everything is drawn and synthesised in code. The file opens from disk with a double-click, while the root index.html and dist/index.html run only through npm run dev.
Can I add another enemy to Shard Field?
Yes. Shard Field's customize guide walks through adding a second enemy type beside the drone, covering its numbers, spawn, collisions, drawing, sound and a verification step. Other names, logos or assets from existing games or companies are not allowed.
Does Shard Field save high scores?
No. Shard Field keeps the best score only for the session, because the sandbox it runs in has no storage. Multiplayer, server features and saved progress between visits are outside what this Skill supports.
Does Shard Field work on phones?
Yes. Shard Field gives the left thumb a floating stick that steers and thrusts and the right thumb a fire zone, in portrait or landscape. It was verified under touch emulation, not on real devices, and there is no gamepad support.
How precise are Shard Field collisions?
Shard Field uses circles around the shard and skiff outlines rather than the exact polygon edges. The simulation in src/game/world.js has no DOM, so createGame, stepGame and summary can be tested in Node.
Thêm Skills
Tất cả Skills Game creation →
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.

