Jump to content

Phaser.audio vs Phaser.sound?


spinnerbox
 Share

Recommended Posts

I see the docs at the moment and found that there are two functions which seem identical in nature but are called differently.

Phaser.audio(key, volume, loop, connect) -> Phaser.Sound

and

Phaser.sound(key, volume, loop, connect) -> Phaser.Sound

This was made by error, one of the methods will get deprecated?

Or both are viable and do the same thing and I can use whichever I prefer?

Or they are used in different use cases?

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...