Pop.Box/docs/Drawables.md

16 lines
621 B
Markdown
Raw Normal View History

2016-04-05 03:59:42 +00:00
# Supported Drawables
Pop.Box supports three [Drawables][1]: Canvas, Image, and Video.
**Note**: Video and Canvas support are untested.
Additionally, in the place of a Drawable, you can use `false` to not render
anything, or a table of color values. The color values should be in the format
LÖVE uses (`{red, green, blue, alpha}`, see [love.graphics.setColor][2]).
(The alpha value is optional and will default to `255`, but not using an alpha
is likely to mess up your rendering if an alpha value is used *anywhere else*.)
[1]: https://love2d.org/wiki/Drawable
[2]: https://love2d.org/wiki/love.graphics.setColor