JS Breakout Part 5 (Sound, Power-ups)
Mt. Ford Studios
In the fifth and final part of this JavaScript tutorial to recreate the 1976 game, Breakout, we add some game sounds and power-ups! The sounds are kept simple – just single-toned beeps. We have one sound for each of the following: the paddle, bricks, wall bounces, and power-up collection! We create four power-ups: an Additional Life, a Paddle Extension, a Sticky Paddle, and a Super Ball!
If you’d like to learn how to program a browser-based game in JavaScript, please feel free to download the code below!
CODE Breakout Part 5 (Sound, Power-ups): https://drive.google.com/open?id=1i-myrQBY801t7GcB7g-0knhtiUDM9clt
GAME SOUNDS https://drive.google.com/open?id=1p6LoHh3pgZJBtgKa2CKesLzPwXlZkPZ5
USEFUL LINKS HTMLAudioElement: https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement Remove items from Array while iterating over it: https://coderwall.com/p/prvrnw/remove-items-from-array-while-iterating-over-it Visual Studio Code: https://code.visualstudio.com/
FIND US ON FACEBOOK https://www.facebook.com/MountfordStudios/ ... https://www.youtube.com/watch?v=QHBOOouI1tY
157619321 Bytes