Fangames > Programming Questions
BGM Folder
klazen108:
no problem, just want to save everyone the pain I've had to go through :Kappa:
bananaguy12:
--- Quote from: klazen108 on August 06, 2015, 10:08:49 AM ---no problem, just want to save everyone the pain I've had to go through :Kappa:
--- End quote ---
Are there any benefits to using the sound folder outside of gm. Because in my last game i just put all the music in the .exe.
BBF:
Players can replace the music with something else, or choose to not load it at all to lower startup time (like K3 does with FMOD)
Also keeps your .exe file much smaller and (probably?) makes it easier to switch out music during development.
Derf:
In my experience if you set it up right (as Klazen was suggesting), the game does run noticeably faster, in the sense that it doesn't lag when loading the music.
Also on a purely aesthetic side note, it make me feel special when I see my game has folders within the game folder. It feels like a proper product to me for some reason.
Sephalos:
--- Quote from: bananaguy12 on August 08, 2015, 02:27:27 AM ---
--- Quote from: klazen108 on August 06, 2015, 10:08:49 AM ---no problem, just want to save everyone the pain I've had to go through :Kappa:
--- End quote ---
Are there any benefits to using the sound folder outside of gm. Because in my last game i just put all the music in the .exe.
--- End quote ---
The biggest benefit to loading music externally is memory management. If you intend to make a very large game and you don't manage your memory usage, you're going to run into a lot of problems. GameMaker by default will load everything you put in the GMK into the memory when starting the game. If the memory overloads this can cause bugs, missing music or sounds, surfaces or particles not loading properly and more.
Navigation
[0] Message Index
[*] Previous page
Go to full version