Outline
┗> Event > Object > Class
A region in the Overworld that draws a colored stencil outline for all Character's inside.
Outline is an Event - naming an object outline on an objects layer in a map creates this object.
The color of a Character's outline is affected by the color of it's actor
Methods
Outline:drawCharacter(object: Object)
Arguments:
| object: Object | The base class of all objects in Kristal. |
Outline:drawMask(object: Object)
Arguments:
| object: Object | The base class of all objects in Kristal. |
Fields
Outline.shader: love.Shader
A Shader is used for advanced hardware-accelerated pixel or vertex manipulation. These effects are written in a language based on GLSL (OpenGL Shading Language) with a few things simplified for easier coding.
Potential uses for shaders include HDR/bloom, motion blur, grayscale/invert/sepia/any kind of color effect, reflection/refraction, distortions, bump mapping, and much more! Here is a collection of basic shaders and good starting point to learn: https://github.com/vrld/moonshine