Pop.Box/docs/Drawables.md

17 lines
668 B
Markdown
Raw Permalink Normal View History

# Supported Drawables
Pop.Box supports three [Drawables][1]: Canvas, Image, Video
2016-01-25 21:46:21 +00:00
**Note**: Video support is theoretical, as I have not tested it. (Well,
everything is theoretical, but I'm writing tests now.)
Additionally, you can use in the place of any Drawable `false` to stop rendering
of whatever is using a Drawable, or a table of color values.
Color values are in the form `{r, g, b, a}` where `r` is 0 to 255 red, `g` is
the same range for green, `b` is the same range for blue, and `a` is the same
range for alpha. `a` is optional, but in the event that any element uses
transparency, could screw up your rendering.
[1]: https://love2d.org/wiki/Drawable