This site requires JavaScript, please enable it in your browser!
Greenfoot back
Greenfootnoob
Greenfootnoob wrote ...

2014/4/4

Lagging sound affects

Greenfootnoob Greenfootnoob

2014/4/4

#
G'day.. i added a sound effect for when my actor jumps. however, when i jump, the sound starts like 2 seconds after. any advise on how i can overcome this issue?
trias95 trias95

2014/4/4

#
Does the audio file have a blank section at the start?
danpost danpost

2014/4/4

#
One thing that will help prevent sound from lagging is using 'static GreenfootSound' fields that are set when declared. This way, they are loaded when the project loads (they do not have to be loaded 'on the fly').
You need to login to post a reply.