Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

isometric-voxel-builder

БесплатноБез исполняемых скриптовНе проверен

Isometric voxel island builder on a 14x14 grid with block stacking, custom shaders, and lightweight browser runtime for game prototyping.

akillnessот akillness★ 63 звезды на GitHub

Об этом скилле

Mykonos Island Voxels

A browser-based isometric island builder with the soft, sun-bleached Mediterranean look of Mykonos: cobalt-blue domes on whitewashed walls, bougainvillea spilling over stone, olive trees, windmills, narrow cobble paths, and a sea you can carve with a click.

It's a small, self-contained creative toy — drop blocks on a 14×14 grid and a tiny village builds itself in front of you. There's no goal, no resource grind, no scoring; just the puzzle-piece pleasure of arranging things until they look right.

🌐 Play it: https://mykonos-island-voxels.netlify.app

Mykonos Island Voxels — example scene


Features

  • Click-to-build isometric grid. Pick an asset from the right-side palette, click a cell, and it pops in with an elastic placement animation.
  • One-click "Fill with grass" to carpet the island and start arranging in seconds.
  • 75+ painterly assets organised into terrain, nature, props, water, and buildings — chapels, windmills, two-story villas, cypress, olive trees, agave, wells, lanterns, fences, bridges, and more.
  • Touch-first mobile UI. Tap to place, long-press to erase, drag to brush, two-finger pinch and pan. Layout adapts from desktop down to small phones with safe-area insets for the iPhone notch.
  • High-fidelity asset pipeline. Source PNGs are pre-rendered at 6× display resolution at load time, baked into high-DPI cached layers, then composited per frame so the canvas stays crisp at every zoom on every screen density.
  • Auto-save. Your island is persisted to localStorage and re-loaded on the next visit.
  • Tasteful sound design. Distinct placement sounds for water, stone, wood, small vegetation, large vegetation, and UI clicks, with debounced overlap so brush-painting doesn't flood the bus.
  • Pure ES modules. No bundler, no transpiler, no node_modules — open index.html and it runs.

Controls

Mouse + keyboard

Input Action
Click Place selected asset
Drag Brush-place across cells
Right click Erase tile
Right drag Brush-erase
Shift + drag Pan camera
Scroll wheel Zoom
H / V Flip the placement preview
E Toggle erase mode
G Toggle grid overlay
1–5 Switch palette categories
S / R Save / reset

Touch

Gesture Action
Tap Place selected asset
Drag Brush-place across cells
Long-press (~420 ms) Erase the tile under your finger
Two-finger pinch Zoom
Two-finger drag Pan camera

Run it locally

The project is plain HTML / CSS / ES modules — there's no build step required to develop on it. Because browsers refuse to load ES modules from file:// URLs, you do need to serve it over HTTP. Pick whichever of these is easiest:

# any one of these from the project root:
python3 -m http.server 8000
npx serve .
npx http-server -c-1 .

Then open http://localhost:8000.

Deploy

The site is deployed to Netlify. The included netlify.toml and netlify-build.mjs produce a clean dist/ folder containing only the runtime files (no design references, no .DS_Store, no .webp duplicates) and ship the right cache headers (immutable for assets, must-revalidate for HTML/CSS/JS).

netlify deploy --prod

Project layout

.
├── index.html               # entry point
├── styles.css               # the entire UI (no framework)
├── src/
│   ├── main.js              # boot, asset loading, starter scene
│   ├── config.js            # grid size, tile dims, palette, debug flags
│   ├── core/
│   │   ├── Game.js          # game state + tool dispatch
│   │   ├── Camera.js        # pan / zoom / change notifications
│   │   ├── Renderer.js      # layered canvas caching + animations
│   │   └── InputManager.js  # mouse + touch + keyboard
│   ├── grid/
│   │   ├── IsoGrid.js       # screen ↔ cell math
│   │   └── TileMap.js       # terrain + objects, occupancy index
│   ├── building/
│   │   └── PlacementSystem.js
│   ├── assets/
│   │   ├── assetManifest.js # the 75+ asset definitions
│   │   ├── assetLoader.js   # PNG → display canvas + shadow canvas
│   │   ├── imageToAsset.js  # silhouette extraction, anchor inference
│   │   └── voxelRenderer.js # procedural fallback when PNGs missing
│   ├── ui/
│   │   ├── UIManager.js
│   │   ├── Toolbar.js
│   │   ├── AssetPalette.js
│   │   ├── HUD.js
│   │   └── Audio.js         # WebAudio clip routing + debouncing
│   └── persistence/
│       └── SaveSystem.js
├── assets/                  # PNG asset pack (pre-generated)
├── *.ogg                    # placement / UI sound effects
├── netlify.toml
└── netlify-build.mjs

Architecture notes

A few choices worth flagging if you want to hack on the renderer:

  • Layered cache rendering. Renderer.js
Полный SKILL.md на GitHub

Установить isometric-voxel-builder в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash
Read
Write
Edit
Glob
Grep

Вложенные файлы

LICENSEREADME.mdasets reference.pngassets/agave.pngassets/altar.pngassets/archway.pngassets/banner.pngassets/bench.pngassets/blue_railing.pngassets/bougainvillea.pngassets/boulder.pngassets/corner_wall.pngassets/crate.pngassets/crop_patch.pngassets/cube_house.pngassets/cypress.pngassets/dry_grass.pngassets/flat_stone.pngassets/flower_pot.pngassets/garden_bed.pngassets/gate_fence.pngassets/grass.pngassets/hanging_lantern.pngassets/hay_bale.pngassets/house.pngassets/lantern_post.pngassets/large_rock.pngassets/low_wall.pngassets/main_chapel.pngassets/mossy_stone.pngassets/newAsset/Crop Patch.pngassets/newAsset/Garden Bed.pngassets/newAsset/Veg Garden.pngassets/olive.pngassets/path.pngassets/pebbles.pngassets/pergola_house.pngassets/pottery_jar.pngassets/raw/agave.pngassets/raw/altar.png

FAQ

Что делает скилл isometric-voxel-builder?

Isometric voxel island builder on a 14x14 grid with block stacking, custom shaders, and lightweight browser runtime for game prototyping.

Как установить скилл isometric-voxel-builder?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл isometric-voxel-builder запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить isometric-voxel-builder с