Hello everybody, this is my first post on this forum, so please forgive me if this is the wrong category.
In my MZ project the protagonist is sitting in a wheelchair and I want the wheelchair sound to start playing as soon as the character moves. The SE I use for this is a 7.08kb small .ogg but it nonetheless only starts playing after about 1.5 seconds in and also only stops after about this time after the character has already stopped.
I wrote my own plugin to cache the SE but this didn't remove the sound lag.
I also tried some of the preloaders provided at this forum, but not a single one is working for me.
The method I use to play the SE is by calling a common event with a parallel event script call on the map by using
and the common event (1) contains
Has anyone found a solution to this already?
In my MZ project the protagonist is sitting in a wheelchair and I want the wheelchair sound to start playing as soon as the character moves. The SE I use for this is a 7.08kb small .ogg but it nonetheless only starts playing after about 1.5 seconds in and also only stops after about this time after the character has already stopped.
I wrote my own plugin to cache the SE but this didn't remove the sound lag.
(function() { var wheelchairAudio = 'wheelchair.ogg'; DataManager.preloadWheelchairAudio = function() { AudioManager.createBuffer('se', wheelchairAudio); }; var _DataManager_loadDatabase = DataManager.loadDatabase; DataManager.loadDatabase = function() { _DataManager_loadDatabase.call(this); this.preloadWheelchairAudio(); };})();I also tried some of the preloaders provided at this forum, but not a single one is working for me.
The method I use to play the SE is by calling a common event with a parallel event script call on the map by using
$gameTemp.reserveCommonEvent(1)and the common event (1) contains
If: Script: $gamePlayer.isMoving()Play SE : Wheelchair (90, 100, 0)EndIf: Script: !gamePlayer.isMoving()Stop SEEndHas anyone found a solution to this already?