Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits)

Hi, I am not sure why it would be dropping your FPS so much with so few lights, I have a test map with 120 lights with no issues. Can you open up the dev tools, switch to the Performance tab, click Start Recording and then wander around in the laggy map for around ~10-15 seconds and then click Stop Recording and show me the results in the Bottom-Up tab?

Edit: Since performance testing is a little tricky and may require quite a lot of back and forth testing, you can also come into my Discord for help, it would probably be easier to troubleshoot than itch.io comment section.

Deleted 14 days ago
Deleted 14 days ago

Sorry i've deleted my last 2 posts, and i apologize for thinking it's your script, I don't think it is now.
It seems that it's happening without your script when ive tested further. 
It was probably just the fact I didn't notice the issue until i used your lighting script and instantly assumed it was your script causing it, so apologies for that.
I think it's a problem with a parallel process I have running to display a quest marker over the head of the NPC.
When I pick the quest up when the FPS has dropped the fps returns back to normal and there's no issue after.

You could maybe use [CGMZ] Event Names to accomplish showing a quest marker above an NPC, though you would need to use separate event pages to get it to display / not display. It supports icons and can even have a float effect applied to it.