guidebook/docs/custom-doodads/edit-external.md

877 B

External Editors for Doodads

Doodad sprites can be drawn using any image editor and saved as .png files (with transparency). You can then create a doodad file from your series of PNG images.

Most of the built-in doodads that ship with the game were created in this way.

Create a Doodad from Images

Save each frame of your doodad as a separate PNG image and then use the doodad command-line tool to convert them to a .doodad file.

# Usage:
doodad convert [options] <inputs.png> <output.doodad>

# Example:
doodad convert door-closed.png door-open.png door.doodad

The doodad tool can also be used to attach a JavaScript to your doodad, modify its tags, and other things. See doodad tool.

Example Doodads

There are some fully working example doodads you can check out at https://code.sketchymaze.com/declassified/doodads.