Ninjadoodle Posted July 29, 2017 Share Posted July 29, 2017 Hi @enpu or anyone else who can help I can't seem to play a sound in the latest Develop version of Panda. I'm not getting any errors and I'm using this code ... game.addMedia('success.m4a'); then mousedown: function() { var success = new game.Sound('success.m4a'); success.play(); } any help would be awesome Thank you in advance! Archive.zip Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted July 29, 2017 Author Share Posted July 29, 2017 Ok guys got it With the help of @zakhov The syntax has changed to ... game.audio.playSound('sound.m4a'); 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.