15 lines
990 B
Markdown
15 lines
990 B
Markdown
# Resource editors
|
||
|
||
Game assets open in editors of their own (the text of the file stays available with **Code**).
|
||
|
||
| File | Editor |
|
||
|---|---|
|
||
| a PNG of `assets/` | **sprite editor**: pixels drawn frame by frame (frames of W×H, as `Sprite` reads them), palette, pencil, eraser, fill, picker, zoom, grid, frames added / removed, the animation played; saved as PNG with alpha |
|
||
| `*.sfx.json` | **sound effects**: a generator's settings from a preset or at random, heard and drawn at each change; saving also writes the WAV |
|
||
| `*.music.json` | **tunes**: a piano roll, 4 voices (2 squares, triangle bass, noise drums), 16 steps a bar; saving also writes the WAV the game loops |
|
||
| `*.tsj` | **tileset** (Tiled's format): the tiles and their collision (full, one-way, none) |
|
||
| `*.tmj` | **level** (Tiled's format): layers painted with the tileset's tiles, objects |
|
||
|
||
## Generate…
|
||
|
||
Each editor has **Generate…**: describe what you want and an AI makes it ([AI in the editors](ai.md)).
|