Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

@YellowAfterlife finally had some time to look into the latest update. Following the return errors I was able to get up and running fairly quickly, I appreciate the guidance. I do run into a crash if I change the "Effect_1" : Effect Type parameter from one effect to a different effect. Is this a current limitation, or have I perhaps missed a step?

Return error below - but I can confirm that I can alter other parameters within an active Effect Type without issue.

___________________________________________ ############################################################################################ FATAL ERROR in Room Creation Code for room rm_blank  fx_set_parameter() - first parameter should be an FX object  at gml_Script_live_room_loader_add_layer (line 297) -                                                  fx_set_parameter(l_fx1,l_pp[?"name"],l_f); ############################################################################################ gml_Script_live_room_loader_add_layer (line 297) gml_Script_live_room_loader_run_impl2 (line 329) -               live_room_loader_add_layer(ds_list_find_value(l_lrs,l_lrk)); gml_Script_live_room_start (line 406) -               live_room_loader_run_impl2(l_rm2); gml_Room_rm_blank_Create (line 1) - live_room_start();

I recall reading on YoYo forums recently that they're also planning further flexibility to layers so that objects/layers may be assigned to them - so it will be interesting to watch how this feature evolves. 


Thanks again for such an awesome tool.

(2 edits)

As documentation for fx_ says, you cannot create effects at runtime if their types didn’t exist in the project when you compiled it. If you want to play around with effect types rather than parameters, make a never-to-be-visited room that has layers with every single effect type on them, and get rid of it when you’re done.