Skip to content

Conversation

@kpavlov
Copy link

@kpavlov kpavlov commented Jan 2, 2026

Added an example for generating tileset atlases from image files with configurable metadata output.

A new Kotlin JBang script is introduced that scans a directory for PNG images, composites them into an ARGB atlas image with configurable dimensions and padding, and generates Tiled-compatible JSON metadata file containing per-tile information including id, name, and filename references.

Run:

jbang generate-tileset.kt

Example: This kotlin script generates a tileset from PNG images in a specified directory, creating both an atlas image and a Tiled-compatible JSON metadata file.

Run:
```shell
jbang generate-tileset.kt
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant