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:17
Matt Kohrs
14 hours agoRumble's Q3 Recap & What's Next w/ CEO Chris Pavlovski
97.9K30 -
1:43:47
Adam Does Movies
18 hours ago $29.08 earnedGladiator II Early Reviews + Tom Cruise Stans Glen Powell + Freddy Krueger - Movie News LIVE!
88.4K5 -
2:24:03
WeAreChange
14 hours agoTrump Creates Department Of Government Efficiency With Elon And Vivek!
146K102 -
2:10:32
Slightly Offensive
15 hours ago $31.81 earnedGET READY: Civil Unrests ERUPTS As Trump Resistance 2.0 EMERGES
82.9K89 -
59:40
The StoneZONE with Roger Stone
11 hours agoShowdown in the Republican US Senate Caucus - RINOs Seek to Undermine Trump | The StoneZONE
78.2K45 -
1:26:29
I_Came_With_Fire_Podcast
17 hours agoSpecial Episode: Frank Luna with Smokeless Vets
49.2K3 -
4:16:31
Tundra Gaming Live
13 hours ago $1.99 earnedFormer Air Force Maintainer (Weapons) Hits The Grind For The F-16c
32.8K1 -
1:07:06
The Officer Tatum
14 hours agoLIVE MSNBC, CNN IMPLODE As Trump BUILDS DREAM TEAM!
95K201 -
17:42
DeVory Darkins
2 days agoCNN Dana Bash LOSES HER MIND After BRUTAL Reality Check
61.7K106 -
2:01:49
Robert Gouveia
15 hours agoTrump Judge CAVES; Jack Gets SUED; J6 Prosecutions Continue! Elon Rigged It!
67.3K56