noden

Phase Audio problems using Ludei Cocoonjs

Recommended Posts

I'm trying to port my game to mobile using ludei's cocoonjs. When playing my game in a browser, (in chrome, or Edge), the audio in the game works fine.

Opening the game in the Cocoon Developer App (using the Cavas+ option), none of audio is found. I get errorr such as: Phaser.Cache.getSound: Key "Orcs" not found in Cache. 

All the audio files are in my preload state i.e.  game.load.audio("Orcs", ["assets/sounds/Orcs.mp3"]);  And again, all the audio works fine in a regular browser.

Anyone else run into this issue and have a solution?

Thanks!

Share this post


Link to post
Share on other sites

One more note, the audio does work when using the Webview option in the Cocoon Dev App. However, I'd rather use the Canvas+ since everything I read said that's the better option for html5 games using canvas.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.