Win App doesn't work
Ago

hi,

win 64 app doesn't work (when I launch it, I only see a loading bar forever).

On the editor it works fine.

The app works if I erase the code that play a background music:

 

this.init = function()
    {
        
        wade.loadAudio('olympia.ogg');
        wade.playAudio('olympia.ogg', true);

 

 

Anyone can tell me how to fix this?

 

thanks a lot,

Ago

1 Comment
Gio

Hi Ago

You probably want to move the wade.loadAudio() function call into App.load() instead of App.init()

In general, load all assets in App.load(). By the time App.init() is called, all those assets are guaranteed to have finished loading and can be used in the game.

Post a reply
Add Attachment
Submit Reply
Login to Reply