My game - since yesterday (as far as I know) performance immediately drops and lags to heaven and hell. Nothing changes from 10 seconds in to a minute in where it starts lagging. The only difference is it's been running for a longer time. My only guess is that there are too many entities (from the constant amount of clocks spawning) but this is dismissed as I have tried spawning 200 entities (clocks) and it would not lagg until a considerable amount of time.
From assessing the debugger I see the CPU performance goes from 30% to near 100%, I just don't understand what is causing this as all the entities are *roughly* the same from 10 seconds in (no lagg) to 60 seconds in (lagg).
Note: In my code I realized I didn't destroy the text (changed the opacity so it was invisible), I have since fixed this, no changes at all.
The debugger makes it lag even more so I have two links, of the game with and without the debugger on.
streamable.com/9gmt - without debugger
streamable.com/orim - with debugger
I wouldn't say this is a performance issue as I have a pretty decent computer - This may have been lagging before the first couple of days, but I wouldn't know as I don't normally run it for long.
Note: I will give capX but only if you ask for it and i'll message you the link - It's for a competition and I don't want the whole world having access to it.