Skip to content

Illumination

Lighting typessource

Generic object for lights in the game, you can make your own with create_illumination
Used in StateMemory, Player, PlayerGhost, BurningRopeEffect ...

Fields

brightness

number

source

brightness_multiplier

number

source

distortion

number

source

enabled

boolean

source

entity_uid

integer

source

flags

integer

see flags.hpp illumination_flags

source

layer

integer

source

light4

LightParams

It's rendered on objects around, not as an actual bright spot

source

light_pos_x

number

source

light_pos_y

number

source

lights

LightParams[]

Table of light1, light2, ... etc.

source

offset_x

number

source

offset_y

number

source

timer

integer

source