Javascript games programming using Phaser in Dreamweaver lesson 11 - Playing Sound
Channel:
Subscribers:
65,900
Published on ● Video Link: https://www.youtube.com/watch?v=qTYvG1p6SHY
You will learn how to import music files into the game and add them as objects onto the level. You will learn how to play sound effects when you want to in the game. You will also learn how to play background music. Note: To loop the background music, modify the code to add the audio to:
song = game.add.audio('song',0.2,true);
Entire lesson code on Github:
https://github.com/Bulletproofmonk/PhaserGameTutorial/tree/master/lesson11
Other Videos By Magic Monk
Tags:
phaser sound
phaser music