When playing audio, the game lags on the first instance of playing an audio file, but works find for future instances.
Initially I fixed this by playing the audio files at the start of the game at 0 volume. We should perhaps formally do this for all audio. Perhaps with an audio loading class, which goes and plays each audio file?
That or perhaps work out why the SCNAudioSource.load() function doesn't seem to work properly.
When playing audio, the game lags on the first instance of playing an audio file, but works find for future instances.
Initially I fixed this by playing the audio files at the start of the game at 0 volume. We should perhaps formally do this for all audio. Perhaps with an audio loading class, which goes and plays each audio file?
That or perhaps work out why the SCNAudioSource.load() function doesn't seem to work properly.