Acid Reflvx
Member
Hello,
I'm almost done creating a rhythm game editor. I'm saving the objects placed as encoded numbers in a text file (I'm using the commands under file_text_~) and decoding the information to form the same object with all of the properties it had before. My editor allows you to import an .ogg file to use as the song. Now that I've got the level saved in a text file, I'm having trouble with saving the audio file. I know it would be cheesy to prompt you to open an .ogg when starting to play the level (but if it's the only way to make it work, I'll do it), and I know opening the audio file if it exists won't work since if you were to give the level to another computer, the computer would have to have the audio in its storage already. Therefore, I'm wondering if there's a way to save the contents of an audio file: maybe being able to put the data that makes up the song into the level file as it's being saved and reassembling the data to play the music when opening the level to play it. Any easy way to do that? xd
Another solution I can think of is what if I just imported the audio from a YouTube link, or a Newgrounds link, or whatever? Is there a way to do that?
Any other way will be appreciated! <3
Thank you!
I'm almost done creating a rhythm game editor. I'm saving the objects placed as encoded numbers in a text file (I'm using the commands under file_text_~) and decoding the information to form the same object with all of the properties it had before. My editor allows you to import an .ogg file to use as the song. Now that I've got the level saved in a text file, I'm having trouble with saving the audio file. I know it would be cheesy to prompt you to open an .ogg when starting to play the level (but if it's the only way to make it work, I'll do it), and I know opening the audio file if it exists won't work since if you were to give the level to another computer, the computer would have to have the audio in its storage already. Therefore, I'm wondering if there's a way to save the contents of an audio file: maybe being able to put the data that makes up the song into the level file as it's being saved and reassembling the data to play the music when opening the level to play it. Any easy way to do that? xd
Another solution I can think of is what if I just imported the audio from a YouTube link, or a Newgrounds link, or whatever? Is there a way to do that?
Any other way will be appreciated! <3
Thank you!