Uploaded July 2021 | Updated September 2026, 1 week ago
In this introduction tutorial course we will cover important game development techniques using vanilla JavaScript and HTML5 canvas. Build a complete point and shoot game while learning the fundamentals of game development.
โญ๏ธCourse Contents โญ๏ธ
00:00 JavaScript game development crash course overview and game examples
01:14 HTML and CSS setup
02:12 Simple HTML canvas setup with vanilla JavaScript
02:33 Creating a reusable JavaScript class
04:43 Animation loop
06:24 How to use timestamps and delta time
14:02 How to use ES6 spread operator
16:44 How to use array filter method
19:30 Sprite animation with draw image method
24:02 How to time sprite animation with delta time
27:56 How to animate bouncing movement
28:47 How to draw score in JavaScript game
30:00 getImageData HTML5 canvas method explained
34:26 Secondary collision canvas setup
35:15 Collision detection by color in 2D game
43:06 Triggered event based audio visual effects
50:18 How to handle game over
52:38 How to add particle effects
Learn JavaScript and front end web development by building games with me. Today we we will talk about:
- how to achieve pixel perfect collision detection using colors with getImageData() HTML canvas method
- how to use timestamps and delta time to make sure our game runs at the same speed on different machines
- we will learn about arrays and I will show you how to remove old game objects using built it array filter method and how to use array sort method to create correct draw order in a 2D game
- we will talk about modern ES6 JavaScript syntax and we will learn how to make our animation code cleaner and less repetitive with spread opearator
- and I will share many other small tips and trick as we go along
Have fun! :)
๐ฅ One Month FREE Trial of Skillshare Premium! ๐ฅ (access to all courses, cancel anytime) skillshare.eqcm.net/c/2793559/1085653/4650
๐ฅ 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
โค Related Links โค
Visual Web Development by Radu, complete course 2021: youtube.com/playlist?list=PLB0Tybl0UNfb3hTHPfEIg1SPw_-Ca9iIw
Download project sprite sheets:
raven: frankslaboratory.co.uk/downloads/raven.png
dust cloud: frankslaboratory.co.uk/downloads/boom.png
Backup links:
Dust cloud: ibb.co/y65zJfw
Raven: ibb.co/ChzBzcm
Art by bevouliin.com check out his website for more game art assets :)
๐ฎ 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: Triggered event based animations youtu.be/Eg_zUEy_lDE
๐ถ Project 7: *** this video ***
๐ถ Project 8: Enemy types youtu.be/aEDADLtLEbk
๐ถ Project 9: State Management youtu.be/jKe44NeFzwE
๐ถ Project 10: Easy Side-Scroller Game youtu.be/7JtLHJbm0kA
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) Dub Hub - Jimmy Fontanez Media Right Productions
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
In this introduction tutorial course we will cover important game development techniques using vanilla JavaScript and HTML5 canvas. Build a complete point and shoot game while learning the fundamentals of game development.
โญ๏ธCourse Contents โญ๏ธ
00:00 JavaScript game development crash course overview and game examples
01:14 HTML and CSS setup
02:12 Simple HTML canvas setup with vanilla JavaScript
02:33 Creating a reusable JavaScript class
04:43 Animation loop
06:24 How to use timestamps and delta time
14:02 How to use ES6 spread operator
16:44 How to use array filter method
19:30 Sprite animation with draw image method
24:02 How to time sprite animation with delta time
27:56 How to animate bouncing movement
28:47 How to draw score in JavaScript game
30:00 getImageData HTML5 canvas method explained
34:26 Secondary collision canvas setup
35:15 Collision detection by color in 2D game
43:06 Triggered event based audio visual effects
50:18 How to handle game over
52:38 How to add particle effects
Learn JavaScript and front end web development by building games with me. Today we we will talk about:
- how to achieve pixel perfect collision detection using colors with getImageData() HTML canvas method
- how to use timestamps and delta time to make sure our game runs at the same speed on different machines
- we will learn about arrays and I will show you how to remove old game objects using built it array filter method and how to use array sort method to create correct draw order in a 2D game
- we will talk about modern ES6 JavaScript syntax and we will learn how to make our animation code cleaner and less repetitive with spread opearator
- and I will share many other small tips and trick as we go along
Have fun! :)
๐ฅ One Month FREE Trial of Skillshare Premium! ๐ฅ (access to all courses, cancel anytime) skillshare.eqcm.net/c/2793559/1085653/4650
๐ฅ 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
โค Related Links โค
Visual Web Development by Radu, complete course 2021: youtube.com/playlist?list=PLB0Tybl0UNfb3hTHPfEIg1SPw_-Ca9iIw
Download project sprite sheets:
raven: frankslaboratory.co.uk/downloads/raven.png
dust cloud: frankslaboratory.co.uk/downloads/boom.png
Backup links:
Dust cloud: ibb.co/y65zJfw
Raven: ibb.co/ChzBzcm
Art by bevouliin.com check out his website for more game art assets :)
๐ฎ 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: Triggered event based animations youtu.be/Eg_zUEy_lDE
๐ถ Project 7: *** this video ***
๐ถ Project 8: Enemy types youtu.be/aEDADLtLEbk
๐ถ Project 9: State Management youtu.be/jKe44NeFzwE
๐ถ Project 10: Easy Side-Scroller Game youtu.be/7JtLHJbm0kA
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) Dub Hub - Jimmy Fontanez Media Right Productions
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



![HTML Canvas & Vanilla JavaScript Animation Series 1 - Floating Particles Effect
#javascript #html5canvas #frankslaboratory
In this series we will create animated interactive backgrounds you can use for your website with HTML Canvas element and vanilla JavaScript. No frameworks or libraries, just pure object oriented JavaScript principles to demonstrate how amazing and flexible JavaScript is for web design and front end web development |
HTML Canvas & Vanilla JavaScript Animation Series 1 - Floating Particles Effect |
Like & Subscribe please ! :] HTML Canvas & Vanilla JavaScript Animation Series 1 - Floating Particles Effect
If you liked this video Im sure you will enjoy other videos on my channel. You can find HTML Canvas Animation Tutorials, JavaScript tutorials, animated effects and step by step animation guides, each video shows many examples of the final effect. I will help you learn modern web development techniques by building real projects you can show off on your personal website or GitHub. Code along with me and gain skills to get your first job in the industry. If I could do it you can do it too. If you decide to code along and modify the effects, share your Codepen/JS Fiddle in the comments, I want to see what you came up with.
I have pure vanilla JavaScript animation series, in each tutorial we create all different kinds of interactive animated effects from scratch. No plugins, no libraries, no frameworks. Every line of code is explained to give you hands on experience and teach you as much JavaScript as possible. If you want more creative JavaScript tutorials, HTML canvas animations, interactive animated effects, code alongs, video guides for beginners as well as advanced pure vanilla JavaScript, check out the previous episodes here:
Part 1 - HTML Canvas & Vanilla JavaScript Animation Series 1 - Floating Particles Effect
https://www.youtube.com/watch?v=hotMX-pqjkQ
Part 2 - HTML Canvas & Vanilla JavaScript Animation Series 2 - Animated Clouds Effect
https://www.youtube.com/watch?v=hF-QBhDG-wE
Part 3 - Particles JS Effect with Pure Vanilla JavaScript | Animated Background Tutorial with Examples
https://youtu.be/d620nV6bp0A
Part 4 - Spinning Stars in Vanilla JS & HTML Canvas Animated Backgrounds Coding Tutorial
https://youtu.be/suBgH07fjmo
Part 5 - Eye Balls Animation - JavaScript HTML5 Canvas Effect Tutorial Trigonometry & Circles With No Overlap
https://youtu.be/52rKp7P3gIs
For more creative vanilla JavaScript tutorials, CSS tricks, HTML canvas animations, front end web development and web design guides, subscribe to the channel and click the bell icon to get notified when I release a new video.
My name is Frank, Im a self-taught Front End Web Developer. I learned everything I know in my free time and I used the knowledge to get a great job in web development industry. The part I enjoy the most is building creative animations and interactive effects for the web using HTML, CSS and JavaScript. Thank you for watching my video.
If you want to improve your Front End Web Developmnent skills, check out my CSS tutorial series where we explore animations and effects that can be done with modern CSS3 techniques:
https://www.youtube.com/watch?v=loKyT99W2s8&list=PLYElE_rzEw_t2O2DvfopIoq-diTgefVzV
You can find base 64 code of the image here (it is not fully functional demo of this effect, I just dropped few lines of code there so you can copy the image code):
https://codepen.io/franksLaboratory/pen/YzzvROq
** just copy the code from line 9 to your project (png.src = data:image/png;base64,iVBO...)
Music:
Business / Corporate by Mixaund | https://mixaund.bandcamp.com
Music promoted by https://www.free-stock-music.com HTML Canvas & Vanilla JavaScript Animation Series 1 - Floating Particles Effect](https://i.ytimg.com/vi/hotMX-pqjkQ/mqdefault.jpg)






