spinnerbox Posted April 5, 2017 Report Share Posted April 5, 2017 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? Quote Link to comment Share on other sites More sharing options...
samme Posted April 5, 2017 Report Share Posted April 5, 2017 Where are those functions in the docs? Quote Link to comment Share on other sites More sharing options...
spinnerbox Posted April 6, 2017 Author Report Share Posted April 6, 2017 12 hours ago, samme said: Where are those functions in the docs? GameObjectFactory Quote Link to comment Share on other sites More sharing options...
samme Posted April 7, 2017 Report Share Posted April 7, 2017 They're equivalent, you can use either. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.