Premium Only Content

Make a Pokémon Game in JavaScript (Tutorial)
Become a member to get early access to upcoming tutorials : https://buymeacoffee.com/jslegend
For written tutorials, go to my substack : https://jslegenddev.substack.com/
Like the tutorial? You can support me here : https://www.buymeacoffee.com/jslegend
Live demo : https://jslegend.itch.io/p5-pokemon-prototype
Source code (Github repo) : https://github.com/JSLegendDev/Pokemon-p5js
Assets (where you can download everything at once) : https://github.com/JSLegendDev/Pokemon-p5js/tree/master/assets
Alternative link (where you need to download one by one) : https://github.com/JSLegendDev/Pokemon-p5js/tree/master/assets
- Software -
VSCode : https://code.visualstudio.com/
Tiled : https://www.mapeditor.org/
Download p5.js here : https://p5js.org/download/ (scroll down to find the download section for p5.min.js)
Chapters
0:00 Intro
1:44 Project Setup
2:19 Making the canvas responsive with CSS
6:40 Setting up p5
8:32 How to load fonts + Initializing canvas
12:18 Creating the menu scene
28:21 Creating the world scene
42:21 Writing the player code
1:08:36 Error in setAnimFrame
1:15:32 Implementing a camera
1:42:38 Fixing player movement
1:46:05 Drawing the world map in Tiled
2:04:17 Implementing the world map in the game
2:30:11 Creating hitboxes for the world (Collidables)
2:43:54 Implementing debug mode
3:10:25 Writing the code for the NPC
3:27:18 Implementing dialog system
3:48:51 Making screen blink when talking to NPC
4:00:22 Implementing Battle scene + system
-
6:53
Rena Malik, M.D.
1 day ago $0.87 earnedWhy Antidepressants Wreak Havoc on Your Sex Life?! | Urologist Explains How to Boost your Libido
11K4 -
1:00:00
BEK TV
2 days agoMIKE MOTSCHENBACHER ON NORTH DAKOTA POLITICS, TEA PARTY ROOTS, AND THE 2026 ELECTION
9.6K -
15:31
Breaking Points
1 day agoIs Trump Planning VENEZUELA Regime Change?
33.1K21 -
2:06:05
"What Is Money?" Show
2 days agoTrump Family Bitcoin Bet Will Trigger Nation-State FOMO w/ Matt Prusak (CEO American Bitcoin)
13.4K -
1:04:36
Dialogue works
3 days ago $4.50 earnedMohammad Marandi: Iran Just Gave Israel a FINAL Warning…
23.4K6 -
9:20
daniellesmithab
1 day ago3 Bad Laws
23.3K8 -
9:22
MattMorseTV
19 hours ago $11.63 earnedINDIA just made a BIG MISTAKE.
65.1K60 -
12:11
Nikko Ortiz
18 hours agoCrashout 6 Rumble
17.5K3 -
22:35
GritsGG
18 hours agoThe KILO is BACK! The Best AR on Warzone FRIES!
25.7K1 -
2:16:36
Side Scrollers Podcast
21 hours agoStreamer KICKED OUT of Renaissance Fair for Misgendering + Spiderman MELTDOWN | Side Scrollers Live
47.4K8