Audio Visual Effects in JavaScript Games @Frankslaboratory
Audio Visual Effects in JavaScript Games  @Frankslaboratory
Uploaded June 2021 | Updated November 2026, 1 day ago
Visual and audio feedback is a secret ingredient that will make your JavaScript games feel good and give them that extra layer of polish. It's little touches and attention to detail that your clients or potential hiring managers really appreciate. Let's dive deep and make sure we really understand how to attach VFX and audio to game triggers and user generated events using just plain vanilla JavaScript. Hope you get a lot of value from this! :)

โญ๏ธTABLE OF CONTENT โญ๏ธ
00:00 Audio visual effects in JavaScript games - examples
00:55 HTML and CSS setup
01:53 How draw on HTML canvas with vanilla JavaScript
02:51 Creating reusable JavaScript class
08:27 Mouse click event
10:28 getBoundingClientRectangle method explained
14:55 Animation loop
18:10 Removing objects with splice method
20:21 Rotating images on canvas
23:04 How to add audio to HTML canvas project

๐Ÿ”ฅ One Month FREE Trial of Skillshare Premium! ๐Ÿ”ฅ (access to all courses, cancel anytime) skillshare.eqcm.net/c/2793559/1085653/4650

โค Related Links โค
Download project sprite sheet: frankslaboratory.co.uk/downloads/boom.png
Backup link: ibb.co/y65zJfw
Art by bevouliin.com
HTML canvas rotation EXPLAINED for beginners: youtu.be/TBXjWsR7XDA


You can practice techniques we learned to day in these vanilla JavaScript game tutorials:
Vanilla JavaScript Tower Defense PART 1 youtu.be/QxYg8-mhhhs
Vanilla JavaScript Tower Defense PART 2 youtu.be/mpvNwYmTMJ4

๐ŸŽฎ Game Development MASTERCLASS SERIES with vanilla JavaScript, basics for beginners: ๐ŸŽฎ
๐Ÿถ Project 1: Sprite animation youtu.be/CY0HE277IBM
๐Ÿถ Project 2: Parallax backgrounds youtu.be/Mg7ibYWhjPI
๐Ÿถ Project 3: NPC movement youtu.be/pyhb8Y9qKUI
๐Ÿถ Project 4: Rectangle collision youtu.be/r0sy-Cr6WHY
๐Ÿถ Project 5: Circle collision youtu.be/rtBCVe3j_24
๐Ÿถ Project 6: *** this video ***
๐Ÿถ Project 7: Raven game youtu.be/gCa0z4B-CRo
๐Ÿถ Project 8: Enemy types youtu.be/aEDADLtLEbk
๐Ÿถ Project 9: State Management youtu.be/jKe44NeFzwE
๐Ÿถ Project 10: Easy Side-Scroller Game youtu.be/7JtLHJbm0kA


๐Ÿ”ฅ I really like these GAMEDEV and GAME ART courses on Udemy ๐Ÿ”ฅ
โ˜• How to Program Games: Tile Classics in JS for HTML5 Canvas bit.ly/2ZUfKuG
โ˜• Learn Professional 2D Game Graphic Design in Photoshop bit.ly/2SpPdE8
โ˜• The Ultimate 2D Game Character Design & Animation Course bit.ly/3eoZWqT
โ˜• Produce Professional Pixel Art for Your New Game bit.ly/3nUrTKm
Get Adobe creative suite apps (Photoshop, Illustrator etc.) bit.ly/3e60cI0

๐ŸŽฎ More HTML5 canvas and JavaScript game tutorials:
youtube.com/playlist?list=PLYElE_rzEw_sowQGjRdvwh9eAEt62d_Eu

If you are a BEGINNER you can still create beautiful animations, here is a selection of my beginner friendly projects, where I go slower and take time to explain things:
youtube.com/playlist?list=PLYElE_rzEw_v8TXJ_ITSSBP_ypUKfQ7K-

If you feel more confident in your coding skills, check out some more ADVANCED ANIMATIONS with vanilla JavaScript & HTML5 canvas:
youtube.com/playlist?list=PLYElE_rzEw_siuo-kkHh5h7Sk--6IPYNh

Let's be friends
๐Ÿ‘ You can message me on TWITTER twitter.com/code_laboratory
๐Ÿ‘ Check out some of my source code on CODEPEN codepen.io/franksLaboratory

Music: (YouTube audio library) Vacay In Fiji Riddim - Konrad OldMoney
The description of this video may contain affiliate links, which means that if you buy one of the products that I recommend, I'll receive a small commission without any additional cost for you. This helps to support the channel and allows me to continue making videos like this. Thank you for the support!
#frankslaboratory
Audio Visual Effects in JavaScript GamesLearn 2D Game Development with JavaScriptHow to Optimize Your 2D GamesVanilla JavaScript Gamedev - Sprite Animation | How to make games from scratch with JS & HTML CanvasLearn JavaScript By Building Games  | How To Make A Game With Vanilla JS [Frogger]ASCII Art with Vanilla JavaScriptCSS Parallax Tutorial for Beginners [ Creative Web Design Ideas ] Animated CSS3 Card Hover EffectsCSS Animations 3D Transform Cube Menu Tutorial | Animated Buttons Hover EffectParticle Experiments: Sunrays EffectJavaScript Game Tutorial - Final PolishParticle Experiments: Inflatable Bubbles10 Creative Coding Techniques in 60 seconds
Franks laboratory |

Audio Visual Effects in JavaScript Games

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER