2 Attachment(s)
Sound Lag Spikes (Object Handling/Events goes up to 90%)??
Sometimes when I test my Clickteam games and when I do something / something happens in the game, a lag spike (about a quarter of a second) will happen... (This is completely random and the lag spike doesn't always occur (nor does it appear from the same point if I restart the frame)). It took me a while to figure out where those lag spikes are coming from until it became clear that the lag is due to sounds. I removed every single sound from the game and no lag spikes ever appeared again, but I don’t want my games to be mute.. One time I forgot to delete a few sounds and as soon as one of them played, lag spike appeared). I was wondering if the audio files would be too large, but no... They were all under 10Kb.
Here is some pictures from Profiler (I should note that these doesn't usually link to events with the sound):
Attachment 29303
Attachment 29304
Does anyone have experiences?