Light layers
Author(s): catinsuranceTags:
Certain entities make light in the darkness. This is most visible in Mines dark rooms, and with Curse of Darkness. The way this is done is with a null layer in the .anm2 of your Entity.
Creating a light layer⚓︎
To create a light layer in an entity's .anm2, create a new layer. Make sure you tick the "Null" box, and make sure that the layer name starts with an asterisk (*).

- Edit the
Scale XandScale Yproperties to change the size of the light. - Edit the
R,G, andBproperties underTint RGBto edit the color the light. - Edit the
Tint Alphaproperty to edit the brightness of the light.

Sprites only visible in the dark⚓︎
You can make a normal sprite layer (orange in the editor) only visible in the darkness by adding an asterisk (*) at the start of the layer's name. This is used by enemies such as One Tooths to have a layer over their eyes that is visible in the dark.
Note that this does not affect surrounding lighting and only makes the layer visible in the dark.