Uploaded May 2024 | Updated November 2026, 4 hours ago
Do you want to build pixel art games that extend beyond a single screen for your players to discover and explore? Then you need to understand how to implement 2D camera into your projects. It might be easier than you think. This class is for beginners, basic understanding of programming principles is recommended to get the maximum value.
Check out these awesome pixel art games that utilize the same techniques we are learning about today:
Super Zoo Story youtu.be/ObWVB7Ooyto?si=D-yrS-Ju1ZkxdWtZ
Bloomtown: A Different Story youtu.be/oEHyqAWcT-w?si=F_kwMNrW-otbSMCy
World of Anterra youtu.be/tqO6j0gQOcA?si=Emkygy9qLnRwZvnT
Drakantos youtu.be/CCXVQxJkBtQ?si=GSmCfAb7mkeidGzH
Emberbane youtu.be/bZncaFTVaX4?si=KUPJJTRHSINY2S-M
Tilemaps for beginners:
youtu.be/1_dizP57I6s
๐ Download Project Art assets ๐
Full map: frankslaboratory.co.uk/downloads/141/full_map.png
Tile map: frankslaboratory.co.uk/downloads/141/tilemap1.png
If you fully understand this technique, try to take it to the next level using these EPIC free art assets:
free-game-assets.itch.io/free-cursed-land-top-down-pixel-art-tileset
free-game-assets.itch.io/free-undead-tileset-top-down-pixel-art
Today we will learn:
- How to implement 2D camera
- How to create game world using 2 layers of tiles (ground layer + vegetation layer)
- How to connect camera and tile map to dynamically draw only tiles that are inside the visible camera view
๐จ Toolkit ๐จ
Vanilla JavaScript for everything as always, no frameworks and no libraries. Visual Studio Code editor + Live server extension recommended.
00:00 Scrolling through expansive game worlds
00:40 How to implement 2D camera
26:20 2D Multi-Layer tilemap design
40:38 Dynamic auto tiling
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
Do you want to build pixel art games that extend beyond a single screen for your players to discover and explore? Then you need to understand how to implement 2D camera into your projects. It might be easier than you think. This class is for beginners, basic understanding of programming principles is recommended to get the maximum value.
Check out these awesome pixel art games that utilize the same techniques we are learning about today:
Super Zoo Story youtu.be/ObWVB7Ooyto?si=D-yrS-Ju1ZkxdWtZ
Bloomtown: A Different Story youtu.be/oEHyqAWcT-w?si=F_kwMNrW-otbSMCy
World of Anterra youtu.be/tqO6j0gQOcA?si=Emkygy9qLnRwZvnT
Drakantos youtu.be/CCXVQxJkBtQ?si=GSmCfAb7mkeidGzH
Emberbane youtu.be/bZncaFTVaX4?si=KUPJJTRHSINY2S-M
Tilemaps for beginners:
youtu.be/1_dizP57I6s
๐ Download Project Art assets ๐
Full map: frankslaboratory.co.uk/downloads/141/full_map.png
Tile map: frankslaboratory.co.uk/downloads/141/tilemap1.png
If you fully understand this technique, try to take it to the next level using these EPIC free art assets:
free-game-assets.itch.io/free-cursed-land-top-down-pixel-art-tileset
free-game-assets.itch.io/free-undead-tileset-top-down-pixel-art
Today we will learn:
- How to implement 2D camera
- How to create game world using 2 layers of tiles (ground layer + vegetation layer)
- How to connect camera and tile map to dynamically draw only tiles that are inside the visible camera view
๐จ Toolkit ๐จ
Vanilla JavaScript for everything as always, no frameworks and no libraries. Visual Studio Code editor + Live server extension recommended.
00:00 Scrolling through expansive game worlds
00:40 How to implement 2D camera
26:20 2D Multi-Layer tilemap design
40:38 Dynamic auto tiling
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










