Premium Only Content

Build a Developer Portfolio as a 2D Game | JavaScript Tutorial
Become a member to get early access to upcoming tutorials : https://buymeacoffee.com/jslegend
Substack post explaining how to implement mobile controls : https://jslegenddev.substack.com/p/how-to-implement-player-controls
Live demo : https://jslegenddev.github.io/portfolio/
Source code : https://github.com/JSLegendDev/2d-portfolio-kaboom
Map files (map.json + map.png) be found here : https://github.com/JSLegendDev/2d-portfolio-kaboom/tree/master/public
Spritesheet can be downloaded here : https://github.com/JSLegendDev/2d-portfolio-kaboom/blob/master/public/spritesheet.png (I use a modified version of the original spritesheet available at https://momen-games.itch.io/happy-la-v2-ts)
Font can be downloaded here : https://datagoblin.itch.io/monogram
Tiled software can be downloaded here : https://mapeditor.org
-- Chapters --
00:00 Intro
03:22 Setup
16:27 Loading assets
19:23 How to use Tiled to draw maps
36:10 Writing logic to display map
44:49 Creating the player
52:00 Writing logic to display boundaries
57:54 Writing logic to display dialogue
1:16:15 Spawning the player + player movement logic
1:26:20 Writing logic for scaling the camera + animations + dialogue text
-
23:24
MYLUNCHBREAK CHANNEL PAGE
8 hours agoDams Destroyed Turkey
32.8K36 -
UPCOMING
Tundra Tactical
1 hour agoGEN Z Brit 3D Prints a WORKING Gun Pt.3!
12 -
2:08:21
The Illusion of Consensus
9 days agoFormer FDA Official Dr. Philip Krause On White House Pressure To Approve Covid Vaccines at the FDA
24K29 -
LIVE
GamerGril
5 hours agoFistful of GrilCheese 🤠 How The West Was Won 🤠
167 watching -
LIVE
Akagumo
10 hours ago🔴 LIVE - AKAGUMO - SPECTACULAR SATURDAY! #12 - WARZONE VERDANSK RETURNS
115 watching -
1:50:26
Darkhorse Podcast
7 hours agoThere’s a New Tariff In Town: The 271st Evolutionary Lens with Bret Weinstein and Heather Heying
31.9K36 -
29:36
The Brett Cooper Show
2 days ago $3.87 earnedThe Non-Binary Samurai Game No One Wanted | Episode 19
31.6K35 -
LIVE
Phyxicx
4 hours agoHalo on a Saturday! - 4/5/2025
47 watching -
16:46
Stephen Gardner
8 hours agoJudge Boasberg THREATENS to ARREST Trump White House leaders!
39.6K209 -
1:30:53
Michael Franzese
23 hours agoMichael Franzese UNLEASHES on the Left: Lies, Fraud, and Betrayal
34.9K38