pixel_scene
Render pixel-art scenes or rooms from sprites, tilemaps, and lighting, returning the image, placements, lights, and warnings for review or export.
Instructions
Compose a pixel art scene or room from sprites, tilemaps and lighting. Renders a pixelforge-scene manifest (placements, autotiled tilemaps, cues, motion, ground sorting, camera and parallax, haze, lights and shadows; pixel_help topic scenes) at a time in milliseconds and returns the image, placements, lights and warnings. Assets may be inline recipes, files under the server root or {"revision": id}. view: depth shows who covers whom; export: true writes a replayable scene bundle.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lit | No | ||
| time | No | ||
| view | No | ||
| scale | No | ||
| scene | Yes | ||
| export | No | ||
| guides | No | Perspective guides: {horizon: row, vanish: [[x, y], …up to 3], iso: {tile: [32, 16], at: [x, y]}}. | |
| density | No | ||
| sequence | No | Also write numbered PNG frames for a video editor: pixel_render's sequence options, without animation and step. |