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
-
1:51:18
Redacted News
2 hours ago"There will be consequences!!!" Trump issues big threat to Putin ahead of peace summit | Redacted
84.7K43 -
53:14
Candace Show Podcast
2 hours agoThe MOST MORAL Blackmail In The World | Candace EP 231
18.8K80 -
1:11:28
vivafrei
4 hours agoMatt Taibbi Getting "Westfalled"? Kathy Hochul Fighting for Illegals! Mamdani Minority Report & MORE
70K30 -
2:03:39
Pop Culture Crisis
4 hours agoWTF Happened to Miley Cyrus? HARRY POTTER Set Images, Sydney Sweeney Hater EXPOSED | Ep. 901
18.4K18 -
10:17
MattMorseTV
4 hours ago $5.37 earnedTrump's DOJ just DROPPED a NUKE.
23.8K33 -
11:07
Politibrawl
12 days agoRepublican rising star DESTROYS theatrical Democrat in front of the entire world
66.7K30 -
4:42:30
StoneMountain64
5 hours agoOnly game with BETTER desctruction than Battlefield?
53.6K -
4:51:37
Viss
7 hours ago🔴LIVE - Viss & Dr Disrespect Take on The 5 Win Minimum PUBG Challenge!
27.5K2 -
LIVE
sophiesnazz
3 hours ago $0.52 earnedLETS TALK ABOUT BO7 !socials !specs
44 watching -
1:12:05
The Quartering
5 hours agoToday's Breaking News!
82.3K44