I’ve recorded an in-depth tutorial in how to work the d3d lighting features in Game Maker Studio. Over fifty minutes, I build a scene entirely from scratch, define and place the light sources. You can also download the editable so you can copy and tweak the code.
Please subscribe to my channel if you like these tutorial videos. Leave any questions in the comments and either I or other informed viewers can answer.