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/[email protected]/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
-
6:16
China Uncensored
5 hours agoHow Trump Plans on Stopping Russia and China—Without Firing a Shot!
178K40 -
33:13
Ohio State Football and Recruiting at Buckeye Huddle
17 hours agoOhio State Football: 10 Things We Learned Watching Washington's Win over Colorado State
94.6K -
1:14:04
NAG Entertainment
18 hours agoKickback w/ Leon - Rocket League: Road to GC
59.7K -
30:13
Degenerate Plays
5 hours ago $0.73 earnedBritish Insults Are Hilarious - Call of Duty: Modern Warfare 2 (2009) : Part 2
35.4K2 -
6:42
NAG Daily
22 hours agoCharlie Kirk: His Words. His Vision. His Movement.
55.1K27 -
21:42
Jasmin Laine
23 hours ago“Kimmel Isn’t a Victim, Charlie Kirk Was”—Gutfeld OBLITERATES Liberal Media Over FAKE Outrage
50.3K34 -
33:59
ComedyDynamics
23 days agoBest of Jim Breuer: Let's Clear the Air
92.2K20 -
2:11:03
Badlands Media
1 day agoDevolution Power Hour Ep. 391: First Principles, Psyops, and Hybrid Warfare
144K186 -
2:45:52
BlackDiamondGunsandGear
20 hours agoAfter Hours Armory / America After Charlie Kirk
101K21 -
2:08:04
Tundra Tactical
18 hours ago $27.31 earned🎉 Pro-2A Party LIVE! | Gun Games, Freedom Vibes & Letting Loose 🔫🇺🇸
94.8K5