Learn JavaScript to Make Games + Kaplay Library Course

Subscribers:
10,900,000
Published on ● Video Link: https://www.youtube.com/watch?v=KHxX0CgMGs4



Duration: 0:00
102,652 views
1,232


In this crash course you'll learn how to code in JavaScript so that you can start making games with it. Then you will learn how to use the Kaplay library so Game Dev is even easier.

Course created by ‪@JSLegendDev‬
Check out his written tutorials : https://jslegenddev.substack.com/

⭐ ️ Links ⭐ ️
VSCodehttps://code.visualstudio.com/com/
Node.jhttps://nodejs.org/.org
The Modern JS Tutoriahttps://javascript.info/info
MDN Web docs for Jhttps://developer.mozilla.org/en-US/docs/Web/JavaScriptd...
Kaplay dochttps://kaplayjs.com/.com
Kaplay installation guidhttps://kaplayjs.com/guides/installtall
Kaplaygrounhttps://play.kaplayjs.com/com/
Kaplay Discord servehttps://discord.com/invite/aQ6RuQm3TFrd  

⭐ ️ Contents ⭐ ️
0:00:00 Intro
0:00:46 Why learn JS to make games?
0:05:58 Environment Setup
0:14:58 Core concept #1 : variable and constants
0:28:29 Core concept #2 : conditional statements and boolean operations
0:39:59 Core concept #3 : complex data types (Arrays and objects)
0:52:13 Core concept #4 : loops
1:06:20 Core concept #5 : functions + param passing by reference vs by value
1:18:48 Core concept #6 : local vs global scoping
1:21:34 Core concept #7 : comments + how import/export js code works
1:28:56 What is a library?
1:29:55 Setting a modern dev environment with Node.js, NPM and Vite
1:44:27 Making our first JS game
2:23:07 How to export your JS game to a platform like itch.io
2:25:10 Next steps (useful resources)
2:27:04 Intro - What is Kaplay
2:28:30 How to install Kaplay
2:32:42 How to deploy/publish a game made with Kaplay
2:34:46 How to initialize the Kaplay
2:40:06 How to load assets in Kaplay
2:51:01 How scenes work in Kaplay
2:54:03 How game objects work in Kaplay
2:58:10 Child vs parent game objects
2:59:46 Kaplay major components : the sprite() component
3:02:49 Kaplay major components : the area() component
3:05:52 Kaplay major components : the body() component
3:10:57 Kaplay major components : the text() component
3:19:01 Introducing tags and get() method
3:22:57 use() and unuse() methods to add/remove components
3:25:11 Handling collisions with onCollide() and onCollideEnd()
3:31:14 Handling use input with onKeyDown(), onKeyPress() and onKeyRelease()
3:44:15 Advanced features : tween() function
3:47:05 Advanced features : Briefly introducing how game maps are made in Kaplay
3:49:42 Advanced features : Briefly introducing how AI made with state machines
3:51:03 Advanced features : Briefly introducing custom events in Kaplay

🎉 Thanks to our Champion and Sponsor supporters:
👾 Drake Milly
👾 Ulises Moralez
👾 Goddard Tan
👾 David MG
👾 Matthew Springman
👾 Claudio
👾 Oscar R.
👾 jedi-or-sith
👾 Nattira Maneerat
👾 Justin Hual

--

Learn to code for free and get a develophttps://www.freecodecamp.org/camp.org

Read hundreds of articles on progrhttps://freecodecamp.org/newsorg/news




Other Videos By freeCodeCamp.org


2025-01-15Understanding Deep Learning Research Tutorial - Theory, Code and Math
2025-01-14Lisp Programming Language – Full Course for Beginners
2025-01-10CUDA and GPU Programming with Elliot Arledge [Podcast #155]
2025-01-08GenAI Essentials – Full Course for Beginners
2025-01-0733 Spreadsheet Projects Course for Beginners – Excel and Google Sheets
2025-01-02IoT Home Automation Project Tutorial
2024-12-30React Native Full Course for Beginners
2024-12-23JavaScript Christmas Calendar Tutorial 🎄
2024-12-20Why devs needn't fear CSS with the King of CSS himself Kevin Powell [Podcast #154]
2024-12-19AWS Solutions Architect Professional (SAP-C02) Certification Course – Pass the Exam!
2024-12-18Learn JavaScript to Make Games + Kaplay Library Course
2024-12-17Spring AI Full Course with Projects – Build Smarter Spring Boot Applications
2024-12-13How to get a Developer Job – even in this economy – with James Q Quick [Podcast #153]
2024-12-11Elasticsearch Course for Beginners
2024-12-10Polyrhythms JavaScript Project Tutorial – How Math Can Make Your Code Better
2024-12-06How a breakdancing injury launched a coding empire with Scott Tolinski [Podcast #152]
2024-12-04Build a Stable Diffusion VAE From Scratch using Pytorch
2024-12-02Learn Google Sheets – Full Course for Beginners
2024-11-27Event-Driven Architecture Course – NextJS, Clerk, Webhooks
2024-11-26Ollama Course – Build AI Apps Locally
2024-11-22Automating a coffee shop chain using self-taught coding skills with Eamonn Cottrell [Interview #151]