Various browsers treat sounds differently, and some don’t support all file extensions. Here, make sure that all sounds are played in all browsers.
- [Instructor] Hello and welcome to video 1.3…of section one on CreateJS.…In this video we're going to discuss…about playing sounds in various browsers using SoundJS.…We're going to start off by taking our HTML template…and creating a new test file.…In this test file we're gonna do two things.…One, we're gonna load the sounds we wish to play,…and the second thing,…we'll add a button…and once we click it,…the sound will be played.…
Here we use the play method from CreateJS,…createjs.Sound.play…and the parameter it receives is the ID…of the sound we wish to play.…In our case, hit.…
Note: This course was created by Packt Publishing. We are pleased to host this training in our library.
- Playing sounds in various browsers using SoundJS
- Tweening objects using TweenJS
- Creating graphic assets and basic animations
- Game stage creation and object positioning
- Adding the basic game logic
- Add the game physics
- Adding mouse and keyboard controls
- Debugging with breakpoints in Chrome
- Debugging on Android and iOS
- Character movement and input handling
Skill Level Advanced
iOS Game Development with Swift 3 and SpriteKitwith Todd Perkins2h 52m Intermediate
2. Game Outline
3. Game Logic
4. Planning Your Second Game
5. Testing and Debugging the Game
6. Character Movement and Input Handling
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.