Fangames > Programming Questions
FMOD Problems
(1/1)
Realtime911:
Okay so I want to use another external sound loader FMOD rather than SuperSound
I use "I Wanna Be The Engine Seph Edition FMOD" as an base
I copy most of the thing from the engine (scripts, sound loader object, some code on the object)
I have the fmodex.dll and GMFMODSimple.dll in the game directory
Because I use Seph Engine as an base, so it has config uses too
In the config, musicOn = 1 ; musicVolume =100
When the game start running, FMODLoad runs, FMODInit loads, and music starts to load
The world object end step have FMODUpdate
But when the game starts to begin, no sound is playing, Anyone knows the problem?
Any help are appreciated!
If you need to take a closer look :
https://www.mediafire.com/download/czx533lbcasfa9j/213-FMOD.rar
Don't worry, it's spoiler free from Doetielast ;)
Sephalos:
Alright sorry about that, it took me a little while to figure out what was wrong.
And the winner is:
(click to show/hide)You forgot to initialize cleanmem.dll in the world object create event.
When the world object was trying to clean memory it would cause your other dlls to crash.
Add "cleanmem_init(0);" to world object create event
Realtime911:
Oh wow it works, thanks!. But I swear no cleanmem_init code in the engine's world object
Navigation
[0] Message Index
Go to full version