MkSprite
技術リファレンス・エンジン仕様

ドキュメント&ゲームエンジン書き出しガイド

MkSpriteのドット絵仕様、透過処理、16タイル自動接続、9スライス、PSDレイヤー、WAV音声、Unity・Godot・Phaser・Tiledへの導入リファレンス。

主要2Dゲームエンジンでドット絵を鮮明に表示するための技術仕様と手順をまとめています。

Asset Format Specifications

Pixel Art & Layered PSD v1

RGBA8 · Max 256×256 · Up to 8 normal raster layers · Raw/PackBits

Pixel Art Editor exports genuine layered Photoshop .psd files preserving per-layer visibility and opacity alongside flattened transparent PNGs.

Launch tool

16-Tile Corner Autotile Standard

16/32/48 px tiles · 4×4 PNG atlas · Automated seam QA

Every terrain edge is verified for exact pixel continuity across all compatible neighbor masks before exporting Tiled JSON.

Launch tool

9-Slice UI & VFX Atlases

nine-slice.json · phaser-atlas.json · Centered VFX anchors

UI panels lock corner pixels for arbitrary scaling while VFX sequences guarantee transparent alpha bounds per cell.

Launch tool

Uncompressed 16-Bit PCM WAV Audio

22,050 Hz · Mono · Zero-crossing endpoints · Loop metadata JSON

Both Game SFX and Chiptune Loops enforce zero-amplitude endpoints to eliminate audio clicks and support seamless sample-exact looping.

Launch tool

Game Engine Import Reference

View Step-by-Step Tutorials
Unity 6 / 2D Sprite

Unity 6 / 2D Sprite

PNG + slice-config.json / 9-Slice
  • Set Filter Mode to Point (no filter) and Compression to None for crisp pixels.
  • Use Pixel Art Fixer binary alpha cleanup to prevent dark bilinear halo edges.
  • Copy nine-slice.json left/right/top/bottom borders directly into Sprite Editor.
Godot 4

Godot 4

PNG + Tiled TMJ + NinePatchRect
  • Set CanvasItem Texture Filter to Nearest in Project Settings → Rendering.
  • Import terrain.png (4×4 corner mask atlas) and props.png into TileSet Atlas sources.
  • Apply nine-slice.json border pixels directly to NinePatchRect Patch Margin.
Phaser 3

Phaser 3

phaser-atlas.json + map.tmj + WAV
  • Enable pixelArt: true in Phaser.Game config to lock nearest-neighbor WebGL sampling.
  • Load Pixel VFX sheets directly with this.load.atlas("vfx", "vfx.png", "phaser-atlas.json").
  • Load Tile Map Editor bundles via this.load.tilemapTiledJSON("map", "map.tmj").
Tiled Map Editor

Tiled Map Editor

map.tmj + terrain.png + props.png
  • Keep map.tmj, terrain.png, and props.png in the same folder when opening in Tiled.
  • Collision rectangles are stored in the dedicated Collision Object Layer.
  • Custom 4×4 terrain atlases follow NW=1, NE=2, SE=4, SW=8 mask order (0–15).