L
LV154
Guest
As far as I'm aware using external sounds leads to better performance. Therefore my project so far relies
exclusively on loading external sound.
The project uses around 150 so far so assigning an instance variable to every sound seems a little silly.
Therefore much of the sound code looks something like this:
Because local variables are forgotten straight after the event is over, is the sound automatically deleted or does it cause a memory leak as sound keeps getting added? I'm not quite sure how Gamemaker 8 handles sound and whether I should be worried about this
exclusively on loading external sound.
The project uses around 150 so far so assigning an instance variable to every sound seems a little silly.
Therefore much of the sound code looks something like this:
Code:
var sound;
sound=sound_add(working_directory+"sound.wav",0,0)
sound_play(sound)