GML Can you take audio from a website like how Geometry Dash did with Newgrounds?

Acid Reflvx

Member
Hello,
I have a game with a level editor, and I've recently started saving the things you place in the editor as a list of numbers in a .txt file. It's all working well so far, and all I need to do is figure out how to save the audio that you imported in the file too, so you can share your level with devices that don't have the audio stored in its files already. I've gotten an answer on how to do that on this thread, but while I'm understanding how to work it I would like to ask if there's a way to import audio from a music website, for example Newgrounds? I would think that once you entered the song ID, you could use http_get_file by combining the newgrounds.com/audio/ and string you entered to import the audio under the ID, or whatever...is it possible to do that in GML? If so, how would I do it? I'm not the best with http commands.

Thank you!
 
Top