Uploaded May 2024 | Updated November 2026, 4 hours ago
If you want to evoke nostalgia and spark imagination PIXEL ART is the right art style for your next game project. Many pixel art games are made using tile maps, today we learn how to use them to create map layouts for your game worlds.
๐ Download Project Art assets ๐
Tile map: frankslaboratory.co.uk/downloads/140/tilemap1simple.png
Watch next:
2D multi-layer tilemap design + dynamic auto tiling based on camera position youtu.be/5PkdYFbS4K4
๐จ Toolkit ๐จ
Iโm using vanilla JavaScript for everything as always, no frameworks and no libraries, so itโs also very easy to convert this codebase into any other programming language if you want to do that. This class is for beginners, a basic knowledge of programming principles is recommended to get the maximum value
Alternative tile map sources (do you know any other, let me know)
opengameart.org/content/ground-tilemap
cypor.itch.io/12x12-rpg-tileset
seliel-the-shaper.itch.io/winter-forest
opengameart.org/content/slates-32x32px-orthogonal-tileset-by-ivan-voirol
opengameart.org/content/whispers-of-avalon-grassland-tileset
Do you know any other talented Pixel art creators? Leave a comment.
probertson.tumblr.com
artstation.com/dragumagu
twitter.com/dragumagu
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
If you want to evoke nostalgia and spark imagination PIXEL ART is the right art style for your next game project. Many pixel art games are made using tile maps, today we learn how to use them to create map layouts for your game worlds.
๐ Download Project Art assets ๐
Tile map: frankslaboratory.co.uk/downloads/140/tilemap1simple.png
Watch next:
2D multi-layer tilemap design + dynamic auto tiling based on camera position youtu.be/5PkdYFbS4K4
๐จ Toolkit ๐จ
Iโm using vanilla JavaScript for everything as always, no frameworks and no libraries, so itโs also very easy to convert this codebase into any other programming language if you want to do that. This class is for beginners, a basic knowledge of programming principles is recommended to get the maximum value
Alternative tile map sources (do you know any other, let me know)
opengameart.org/content/ground-tilemap
cypor.itch.io/12x12-rpg-tileset
seliel-the-shaper.itch.io/winter-forest
opengameart.org/content/slates-32x32px-orthogonal-tileset-by-ivan-voirol
opengameart.org/content/whispers-of-avalon-grassland-tileset
Do you know any other talented Pixel art creators? Leave a comment.
probertson.tumblr.com
artstation.com/dragumagu
twitter.com/dragumagu
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
![JavaScript Sprite Animation
Advanced sprite animation tips & tricks explained for beginners. Lets learn and build a project with HTML, CSS & plain vanilla JavaScript. Front end web development can be easy if you understand how things work under the hood. Lets discover the secrets of image animation with HTML5 canvas. Have fun!
๐Check out my EXTENDED game development class with BONUS lessons and more free sprite sheets: 4 new enemies, sound design, animated shield, animated projectiles and more https://www.udemy.com/course/learn-game-development-with-javascript/?referralCode=69874A38D543D7F510F2
๐จ Download Project Art assets ๐จ
** All art assets for this class were made by me or by artists I hired, there is NO copyright, you can download and use these freely for any project you want! Click the LIKE on the video if you want more free game art soon! :D
Mandrake: https://www.frankslaboratory.co.uk/downloads/105/mandrake.png
Mushroom game background: https://www.frankslaboratory.co.uk/downloads/105/105_mushroom_background.png
โ For more vanilla JavaScript GAME DEVELOPMENT check out this playlist:
https://www.youtube.com/playlist?list=PLYElE_rzEw_uryBrrzu2E626MY4zoXvx2
โญ๏ธTutorial Contents โญ๏ธ
00:00 What is a compact sprite sheet
01:03 HTML & CSS setup
04:27 How to use Google Fonts
06:41 How to load images with JavaScript
07:57 How to use JavaScript classes
12:14 drawImage method explained
15:59 How to center and scale images on canvas
21:07 How to animate a compact sprite sheet
29:56 Separate event for each animation move
Lets be friends
๐ You can message me on TWITTER https://twitter.com/code_laboratory
๐ Check out some of my source code on CODEPEN https://codepen.io/franksLaboratory
Music:
Harry Potter Theme (XELAZED Trap Edit) [NoCopyright] https://youtu.be/0H5eBZaxXPY
Connect with XELAZED:
ยป Snapchat: miraedon
ยป Facebook: https://www.facebook.com/alx.official54/
ยป Twitter: https://www.twitter.com/xelazed
ยป SoundCloud: https://www.soundcloud.com/xelazed
ยป Instagram: https://www.instagram.com/official_xelazed/
The description of this video may contain affiliate links, which means that if you buy one of the products that I recommend, Ill 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 JavaScript Sprite Animation](https://i.ytimg.com/vi/1bj7g6sXit8/mqdefault.jpg)


![Pixel Art RPG Maker with JavaScript
Who is the hero of your pixel art game going to be. Lets just create all of them and we can decide later. This class is for beginners, basic understanding of JavaScript is recommended to get the maximum value.
Related classes:
Pixel Art Tilemaps for beginners: https://youtu.be/1_dizP57I6s
2D Camera in Pixel art games: https://youtu.be/5PkdYFbS4K4
Recommended video (advanced code):
Build a Game with JavaScript and HTML Canvas [RPG Kit series] https://youtu.be/HmxNrlPx8iY?si=zf7zuQn03WKBE1J2
๐ Download Project Art assets ๐
Background layer: https://www.frankslaboratory.co.uk/downloads/142/backgroundLevel1.png
Foreground layer: https://www.frankslaboratory.co.uk/downloads/142/foregroundLevel1.png
Hero: https://www.frankslaboratory.co.uk/downloads/142/hero1.png
Today we will learn:
- How to make 100s of different pixel art characters, generate a sprite sheet for them and animate them in a game world
- How to create a more robust but still beginner friendly code that can serve as a base for multiple different game types
- How to implement multi-layered grid-based game world
- How to implement smooth grid-based movement for the hero character
Sprite sheet maker, create 100s of UNIQUE HERO sprite sheets, for example:
Wood collector: https://sanderfrenken.github.io/Universal-LPC-Spritesheet-Character-Generator/#?body=Body_color_light&head=Human_male_light&belt=none&cargo=Wood_9_logs&backpack=Basket_round&backpack_straps=Straps_black&legs=Pants_blue
Waraxe Frankenstein: https://sanderfrenken.github.io/Universal-LPC-Spritesheet-Character-Generator/#?body=Body_color_pale_green&head=Frankenstein_pale_green&shadow=Shadow_shadow&sex=muscular&weapon=Waraxe_waraxe&legs=Wide_pants_brown
Battle Princess https://sanderfrenken.github.io/Universal-LPC-Spritesheet-Character-Generator/#?body=Body_color_light&head=Human_female_light&sex=female&hair=Long_band_blonde&dress=Sash_dress_slate&weapon=Flail_flail
... SHARE YOUR UNIQUE CHARACTER in the comments if you want (59:48). YouTube spam filter will remove comments with links, so just share the second part of the URL after #?:
#?body=Body_color_olive&head=Orc_male_olive&legs=Pants_black
I can then add the first part of the URL myself on my end:
sanderfrenken.github.io/Universal-LPC-Spritesheet-Character-Generator/
Check out these awesome pixel art games that utilize the same techniques we are learning about today:
Roots of Pacha: https://youtu.be/TNrj1k9CAdY?si=VcvmfynHw-uMkMF8
20 Minutes Till Dawn: https://youtu.be/d_tTjnIpL5c?si=LUN7vwjPkypxn1CD
Graveyard Keeper: https://youtu.be/YH8bmTKIkag?si=Slc0CkWm1lK-gh1V
Unsighted : https://youtu.be/_AXhK7Bxd40?si=nwF2v1hGy-QNXYXt
Travellers Rest: https://youtu.be/JDk0H02wYXs?si=vLFpooQ_5Rb3yuUy
Chained Echoes: https://youtu.be/ClrZiz_IMmY?si=OceKwlQA8L_jXy-P
๐จ Toolkit ๐จ
Vanilla JavaScript for everything as always, no frameworks and no libraries. Visual Studio Code editor + Live server extension recommended.
00:00 Get creative with pixel art characters
10:23 How to set up a local live server in Visual Studio Code
13:40 How to actually structure your game objects
23:12 A simple movement system for 2D Games
36:40 Data structures for a 2D multi-layered game world
40:19 Smooth grid based movement similar to Pokemon
54:22 Generating sprite sheet animations
59:48 Share your unique character with others
01:00:32 Introduction to sprite animations
01:13:54 Mastering delta time to ensure consistent frame rates
01:24:03 Collision detection with tiled maps
If you want to SUPPORT me you can use the links below and get some one my EXTENDED classes! :)
https://www.udemy.com/course/build-animated-physics-game-with-javascript/?referralCode=B4482AF631243104650B
https://www.udemy.com/course/learn-game-development-with-javascript/?referralCode=69874A38D543D7F510F2
https://www.udemy.com/course/remake-retro-games-with-javascript/?referralCode=2ACCA21F16FE78E631F7
https://www.udemy.com/course/learn-creative-coding-with-vanilla-javascript/?referralCode=7C560D4661C5C59262BB
https://www.udemy.com/course/creative-coding-deep-dive-for-beginners/?referralCode=F43E8FCE60957A64DF4A
https://www.udemy.com/course/learn-html-canvas-pixels-particles-physics/?referralCode=F7977062A4BC964A1F5E
https://www.udemy.com/course/learn-html-canvas-advanced-text-effects/?referralCode=4C5821D2D04048CC4A01
The description of this video may contain affiliate links, which means that if you buy one of the products that I recommend, Ill 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 Pixel Art RPG Maker with JavaScript](https://i.ytimg.com/vi/3OpjL1cFMtg/mqdefault.jpg)






