Posted August 30, 2020 by Xexus
Ok, after a few weeks I have finally got all the code fixed for the new scaling and zooming and I finally have a new new lighting engine in place to replace the one that broke with the game maker studio update. Once I finish applying this to all the rooms I can finally start working on new content.
This is actually the third time I tackled lighting. The first time I had to throw it out because the game would crash every time the window was resized, maximized or minimized.
The second lighting engine was called Aura and I purchased it from the Game Maker store and had way more functionality then I was using including cast shadows and what not, but I mainly got it because it wasn't expensive and I had been hitting my head against the lights crashing bug for over a month so a easy to use solution seemed like a godsend.
Then with the recent GMS update aura broke because it relied heavily on functions which basically got removed from GMS. There is still a section called functions but it doesn't work the way it used to.
So I found my self back at the lighting via surfaces that I was using before, it has it's limitations and I am going to be doing some work arounds for a few things however I did finally find the piece of code I was missing to keep the game from just crashing when ever the window got resized so I am counting this as a win.