Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

First off, just wanted to say that I absolutely adore this lighting engine. By far the best on the market.


Now with that said, I am running into a small issue, that I'm sure just stems from my lack of famaliarity with this engine. The error occurs when trying to set le_shadow_precise_static as the parent to one of my own objects:


############################################################################################

ERROR in

action number 1

of Other Event: Room Start

for object light_engine:

Variable <unknown_object>.add_shadow(100740, -2147483648) not set before reading it.

 at gml_Script_shadow_area (line 222) -               _list[| _i].add_shadow(_buff);

############################################################################################

gml_Script_shadow_area (line 222)

gml_Script_init_shadow_grid_gml_Object_light_engine_Create_0 (line 221)

gml_Object_light_engine_Other_4 (line 3) - init_shadow_grid();

Thank you very much for the support.


My guess with the error is you need to include event_inherited(); in the create event of your object.