End user documentation site for Sketchy Maze. https://www.sketchymaze.com/guidebook/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.4 KiB

4 years ago
# Drawing a Doodad In-Game
Project: Doodle has support for drawing your custom doodad sprites in-game,
although for now you may find it more comfortable to use an
[external image editor](edit-external.md) instead.
4 years ago
To start a new doodad, open the game and enter the level editor. Select the
"File -> New Doodad" menu at the top of the screen. You will be prompted for
the square dimensions of your doodad (i.e. `100` for a 100x100 sprite) and
you can begin editing.
4 years ago
![Screenshot of the Doodad editor](../images/doodad-editor.png)
4 years ago
## Layers
4 years ago
A key difference between Levels and Doodads are that Doodad drawings can have
multiple **layers**. For doodads these are used to store multiple frames of
animation or different states, such as an opened vs. closed door.
Clicking the **Lyr.** button on the left toolbar or the "Tools -> Layers"
menu will open the Layers window where you can switch your editor between
layers, add and rename them. Layers can be toggled by the doodad's
[JavaScript code](scripts.md) by index number or by name, so giving each layer
a descriptive name is useful.
Doodads saved in-game go in your [user config directory](../profile-directory.md)
on your system.
4 years ago
## Future Planned Features
Creating doodads in-game is intended to be a fully supported feature. The
following features are planned to be supported:
* Implement some features only available on the `doodad` tool using in-game
UI, such as attaching JavaScripts to the doodad.