Uploaded April 2024 | Updated November 2026, 5 hours ago
Extended version: udemy.com/course/make-grid-based-games-with-javascript/?referralCode=B9C9B27679B03F6F21FB
Classic early arcade games were creative and simple enough to make a good beginner level coding project. Today we take a proven game concept and build your own version, using modern web technologies. Let's make grid-based games with JavaScript, from scratch. Have fun!
Advanced version with many more features: youtu.be/VOMpipAMZO4
π¨ Toolkit π¨
We will use vanilla JavaScript, no frameworks and no libraries because we want to understand every line of code. (JavaScript, HTML canvas, object oriented programming, HTML5, CSS3)
π Download Project Art assets π
Grass tile (day): frankslaboratory.co.uk/downloads/139/grass_day.png
Grass tile (night): frankslaboratory.co.uk/downloads/138/grass_night.png
Magic berry: frankslaboratory.co.uk/downloads/139/magic_berry.png
Snake: frankslaboratory.co.uk/downloads/139/snake_zilla.png
IT ALL STARTED IN 1976 as a two player ARCADE videogame called Blockade. It inspired other arcade games like Surround and Dominos (1977).
The first home computer version called Worm followed in 1978. Mattel released Snafu in 1982. The same year Snake Byte was published for Atari computers and Nibbler, a single player arcade game.
Tron arcade and it's light cycles are a player versus AI variant of the snake game concept.
In 1991 there was Nibbles for MS-DOS and Rattler race was released the next year, where the snakes eat apples.
In 1997 it was chosen as a pre-set game for Nokia cell phones followed by Snake 2 in the year 2000.
Since then there were countless small flash games, with many different takes on the gameplay and graphics. Let's make our own version and add our own little contribution to the video game history.
Challenge: can you add shadow to the snake? It might be more difficult than it seems because the body is made out of individual segments.
If you want to SUPPORT me you can use the links below and get some one my EXTENDED classes! :)
udemy.com/course/build-animated-physics-game-with-javascript/?referralCode=B4482AF631243104650B
udemy.com/course/learn-game-development-with-javascript/?referralCode=69874A38D543D7F510F2
udemy.com/course/remake-retro-games-with-javascript/?referralCode=2ACCA21F16FE78E631F7
udemy.com/course/learn-creative-coding-with-vanilla-javascript/?referralCode=7C560D4661C5C59262BB
udemy.com/course/creative-coding-deep-dive-for-beginners/?referralCode=F43E8FCE60957A64DF4A
udemy.com/course/learn-html-canvas-pixels-particles-physics/?referralCode=F7977062A4BC964A1F5E
udemy.com/course/learn-html-canvas-advanced-text-effects/?referralCode=4C5821D2D04048CC4A01
Get Skillshare FREE for 1 month:
skillshare.com/en/r/profile/Frank-Dvorak/507488567?gr_tch_ref=on&gr_trp=on
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
Extended version: udemy.com/course/make-grid-based-games-with-javascript/?referralCode=B9C9B27679B03F6F21FB
Classic early arcade games were creative and simple enough to make a good beginner level coding project. Today we take a proven game concept and build your own version, using modern web technologies. Let's make grid-based games with JavaScript, from scratch. Have fun!
Advanced version with many more features: youtu.be/VOMpipAMZO4
π¨ Toolkit π¨
We will use vanilla JavaScript, no frameworks and no libraries because we want to understand every line of code. (JavaScript, HTML canvas, object oriented programming, HTML5, CSS3)
π Download Project Art assets π
Grass tile (day): frankslaboratory.co.uk/downloads/139/grass_day.png
Grass tile (night): frankslaboratory.co.uk/downloads/138/grass_night.png
Magic berry: frankslaboratory.co.uk/downloads/139/magic_berry.png
Snake: frankslaboratory.co.uk/downloads/139/snake_zilla.png
IT ALL STARTED IN 1976 as a two player ARCADE videogame called Blockade. It inspired other arcade games like Surround and Dominos (1977).
The first home computer version called Worm followed in 1978. Mattel released Snafu in 1982. The same year Snake Byte was published for Atari computers and Nibbler, a single player arcade game.
Tron arcade and it's light cycles are a player versus AI variant of the snake game concept.
In 1991 there was Nibbles for MS-DOS and Rattler race was released the next year, where the snakes eat apples.
In 1997 it was chosen as a pre-set game for Nokia cell phones followed by Snake 2 in the year 2000.
Since then there were countless small flash games, with many different takes on the gameplay and graphics. Let's make our own version and add our own little contribution to the video game history.
Challenge: can you add shadow to the snake? It might be more difficult than it seems because the body is made out of individual segments.
If you want to SUPPORT me you can use the links below and get some one my EXTENDED classes! :)
udemy.com/course/build-animated-physics-game-with-javascript/?referralCode=B4482AF631243104650B
udemy.com/course/learn-game-development-with-javascript/?referralCode=69874A38D543D7F510F2
udemy.com/course/remake-retro-games-with-javascript/?referralCode=2ACCA21F16FE78E631F7
udemy.com/course/learn-creative-coding-with-vanilla-javascript/?referralCode=7C560D4661C5C59262BB
udemy.com/course/creative-coding-deep-dive-for-beginners/?referralCode=F43E8FCE60957A64DF4A
udemy.com/course/learn-html-canvas-pixels-particles-physics/?referralCode=F7977062A4BC964A1F5E
udemy.com/course/learn-html-canvas-advanced-text-effects/?referralCode=4C5821D2D04048CC4A01
Get Skillshare FREE for 1 month:
skillshare.com/en/r/profile/Frank-Dvorak/507488567?gr_tch_ref=on&gr_trp=on
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 Game Development Tutorial | Flappy Bird PART 2 - Animated Sprites & Repeating Background
#javascript #html5canvas #frankslaboratory
In the previous episode of the series we build flappy bird game from scratch using just plain vanilla JavaScript. In this HTML canvas game development tutorial I will show you how to add any animated sprites and repeating background.
We will also adjust player hit box, to make sure collision detection works well and couple more things to give our game final polish and make it look nice and clean.
By the end of this tutorial you will be able to take any sprite sheet and create your own unique Flappy bird game.
This video is PART 2. Part 1 available here:
HTML Canvas Game Tutorial [ Vanilla JavaScript Flappy Bird with Particle Effects & Sprites ] Gamedev: https://youtu.be/lGJ9i6CYKyQ
RELEVANT LINKS:
Sprites:
http://bevouliin.com/
https://opengameart.org/content/flappy-dragon-sprite-sheets
https://opengameart.org/content/winter-platformer-game-tileset
https://www.codeandweb.com/free-sprite-sheet-packer
Collision image (bang.png):
https://pixeldra.in/u/NmppP2ng
*** HTML Canvas Game Development Tutorial | Flappy Bird PART 2 - Animated Sprites & Repeating Background ***
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 to code along, video guides for beginners as well as advanced pure vanilla JavaScript, check out the playlist here:
https://www.youtube.com/watch?v=afdHgwn1XCY&list=PLYElE_rzEw_siuo-kkHh5h7Sk 6IPYNh
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.
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
*** HTML Canvas Game Development Tutorial | Flappy Bird PART 2 - Animated Sprites & Repeating Background ***
Music:
Business / Corporate by Mixaund | https://mixaund.bandcamp.com
Music promoted by https://www.free-stock-music.com HTML Canvas Game Development Tutorial | Flappy Bird PART 2 - Animated Sprites & Repeating Background](https://i.ytimg.com/vi/WUPIvrUPDdQ/mqdefault.jpg)