Premium Only Content
![JavaScript Platformer Game Tutorial](https://1a-1791.com/video/s8/1/S/Y/P/z/SYPzq.qR4e-small-JavaScript-Platformer-Game-.jpg)
JavaScript Platformer Game 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
Link to the demo : https://jslegenddev.github.io/Mario-Game-Kaboom.js/
Link to the source code : https://github.com/JSLegendDev/Mario-Game-Kaboom.js
Link to the kaboom.js library : https://unpkg.com/kaboom@3000.1.1/dist/kaboom.mjs
(Instructions)
- Open the link
- Right click and save as
- Put the file in the libs folder
Link to sprite assets + font : https://juhosprite.itch.io/super-mango-2d-pixelart-platformer-asset-pack16x16
Link to key prompts assets : https://thoseawesomeguys.com/prompts/ (We only need arrow keys + space key)
Link to audio assets : https://github.com/JSLegendDev/Mario-Game-Kaboom.js/tree/master/sounds
-- Chapters --
0:00 Intro
1:51 Setup
8:19 Creating Scenes
15:32 Creating The Menu
54:19 Creating The Controls Menu
1:08:36 Creating The First Level
1:53:54 Creating The Player + Camera
2:15:24 Refactoring The Camera
2:18:51 Implementing Player Controls
2:44:21 Implementing Player Respawning Logic
2:56:26 Implementing Player Passthrough Platforms Logic
3:03:15 Displaying Player Jump Up/Down Animations
3:22:47 Implementing Coyote Time for Jumps
3:39:27 Implementing Coin Collection
3:43:52 Implementing UI for Coin Count and Lives Count
4:07:56 Transitioning from One Level to Another
4:11:37 Creating The Second Level
4:21:47 Creating The Third Level
4:32:47 Implementing Spiders Enemies/Mobs + Their AI
5:27:28 Implementing Fish + Flames Enemies/Mobs + Their AI
6:01:10 Creating and Adding Axes Obstacles
6:19:59 Creating and Adding Saws Obstacles
6:34:33 Implementing Birds Enemies/Mobs + Their AI
6:55:38 Implementing GameOver Screen + Winning Screen
6:59:29 Adding Background Sounds
7:11:01 Conclusion
-
47:17
Kimberly Guilfoyle
14 hours agoWoke Gets DOGE’d, Live with AJ Rice & Jarrett Stepman | Ep. 197
133K43 -
20:11
Candace Show Podcast
13 hours agoBecoming Brigitte: Candace Owens x Xavier Poussard | Ep 6
200K334 -
8:25:38
Dr Disrespect
17 hours ago🔴LIVE - DR DISRESPECT - ELDEN RING DLC - REVENGE
197K22 -
54:22
LFA TV
1 day agoThe End of the Trans-Atlantic Alliance | TRUMPET DAILY 2.17.25 7PM
52.5K7 -
55:56
BIG NEM
16 hours agoUGLY COCO: The Rapper Who’s Tried EVERY PSYCHEDELIC 🌌
24.4K1 -
1:42:51
2 MIKES LIVE
14 hours ago2 MIKES LIVE #181 Deep Dive Monday!
28.2K3 -
1:57:43
Quite Frankly
14 hours ago"Low Tide at The Pier: Munich Tears" 2/17/25
39.9K19 -
27:44
The Based Mother
15 hours ago $0.81 earnedBOOK BAN LIES. Karen England and the MSM fairy tale that books are being “banned” by fascists
19.5K3 -
1:01:52
In The Litter Box w/ Jewels & Catturd
1 day agoBest Presidents' Day Ever! | In the Litter Box w/ Jewels & Catturd – Ep. 743 – 2/17/2025
113K69 -
1:29:15
Simply Bitcoin
17 hours ago $10.35 earnedThey JUST Triggered A Global Gold Rush: $1M Bitcoin is coming! | EP 1184
97.5K34