Uploaded June 2024 | Updated November 2026, 4 hours ago
Who is the hero of your pixel art game going to be. Let's 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: youtu.be/1_dizP57I6s
2D Camera in Pixel art games: youtu.be/5PkdYFbS4K4
Recommended video (advanced code):
Build a Game with JavaScript and HTML Canvas [RPG Kit series] youtu.be/HmxNrlPx8iY?si=zf7zuQn03WKBE1J2
๐ Download Project Art assets ๐
Background layer: frankslaboratory.co.uk/downloads/142/backgroundLevel1.png
Foreground layer: frankslaboratory.co.uk/downloads/142/foregroundLevel1.png
Hero: 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: 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: 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 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: youtu.be/TNrj1k9CAdY?si=VcvmfynHw-uMkMF8
20 Minutes Till Dawn: youtu.be/d_tTjnIpL5c?si=LUN7vwjPkypxn1CD
Graveyard Keeper: youtu.be/YH8bmTKIkag?si=Slc0CkWm1lK-gh1V
Unsighted : youtu.be/_AXhK7Bxd40?si=nwF2v1hGy-QNXYXt
Travellers Rest: youtu.be/JDk0H02wYXs?si=vLFpooQ_5Rb3yuUy
Chained Echoes: 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! :)
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
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
Who is the hero of your pixel art game going to be. Let's 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: youtu.be/1_dizP57I6s
2D Camera in Pixel art games: youtu.be/5PkdYFbS4K4
Recommended video (advanced code):
Build a Game with JavaScript and HTML Canvas [RPG Kit series] youtu.be/HmxNrlPx8iY?si=zf7zuQn03WKBE1J2
๐ Download Project Art assets ๐
Background layer: frankslaboratory.co.uk/downloads/142/backgroundLevel1.png
Foreground layer: frankslaboratory.co.uk/downloads/142/foregroundLevel1.png
Hero: 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: 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: 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 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: youtu.be/TNrj1k9CAdY?si=VcvmfynHw-uMkMF8
20 Minutes Till Dawn: youtu.be/d_tTjnIpL5c?si=LUN7vwjPkypxn1CD
Graveyard Keeper: youtu.be/YH8bmTKIkag?si=Slc0CkWm1lK-gh1V
Unsighted : youtu.be/_AXhK7Bxd40?si=nwF2v1hGy-QNXYXt
Travellers Rest: youtu.be/JDk0H02wYXs?si=vLFpooQ_5Rb3yuUy
Chained Echoes: 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! :)
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
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










