M
MajorDeuce
Guest
Hi, I've been using GM8 and 8.1 for years now and recently I've been trying to make the big switch to studio.
I always use external sound in a sub directory like "/res/snd/sound.type" like this:
global.snd_eat=sound_add(working_directory + "\res\snd\eatfood.wav",0,true)
So.. I'm trying to accomplish the same task in studio like this:
global.snd_hit=audio_create_stream(working_directory + "\res\hit.ogg")
This does not work, yet when I do it like this in the main directory:
global.snd_hit=audio_create_stream(working_directory + "\hit.ogg")
It works no problem.
This is troublesome because I want the external resources neatly tucked away in a folder, not in the main game's directory.
Anyone know what could be going wrong/what I'm doing wrong? Thanks for taking the time to read this post.
I always use external sound in a sub directory like "/res/snd/sound.type" like this:
global.snd_eat=sound_add(working_directory + "\res\snd\eatfood.wav",0,true)
So.. I'm trying to accomplish the same task in studio like this:
global.snd_hit=audio_create_stream(working_directory + "\res\hit.ogg")
This does not work, yet when I do it like this in the main directory:
global.snd_hit=audio_create_stream(working_directory + "\hit.ogg")
It works no problem.
This is troublesome because I want the external resources neatly tucked away in a folder, not in the main game's directory.
Anyone know what could be going wrong/what I'm doing wrong? Thanks for taking the time to read this post.