Premium Only Content

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
-
59:56
X22 Report
22 hours agoMr & Mrs X - [DS] Trafficking Empire – The Pedo Network Island, The Cover-Up: Part 2 - Ep 6
103K38 -
1:03:07
Candace Show Podcast
2 days agoI’M BACK! And STILL Asking Questions (Sorry Brigitte). | Candace Ep 233
133K228 -
13:13
Mrgunsngear
21 hours ago $8.03 earnedStreamlight TLR-1 HP Review: Can It Dethrone Surefire?
59.8K20 -
1:26:34
Man in America
1 day agoExposing the Cover-Up That Could Collapse Big Medicine: Parasites
111K134 -
1:12:09
Wendy Bell Radio
10 hours agoPet Talk With The Pet Doc
38.9K52 -
27:15
Liberty Hangout
2 days agoThe Most DELUSIONAL Democrats on Earth!
60K173 -
38:41
JohnXSantos
1 day ago $1.45 earnedHow To Start A CLOTHING BRAND on a BUDGET! Step X Step (2025)
30.6K2 -
30:57
Her Patriot Voice
21 hours ago $17.71 earnedDemocrats More Unhinged Than EVER Before!
114K156 -
29:13
Clownfish TV
1 day agoGen Z are Becoming the Boomers?! | Clownfish TV
33.9K41 -
1:48:31
Squaring The Circle, A Randall Carlson Podcast
1 day agoMEGA Tsunamis and the formation of our World ft. Dr. Dallas Abbot
45.8K10