Code a Downloadable Desktop Game in JavaScript
By freeCodeCamp.org
Published: Aug 07, 2024
Learn how to make a game in JavaScript with the KAPLAY library and how to use Tauri to make it installable on PC.Try the game: https://jslegend.itch.io/kriby
Code: https://github.com/JSLegendDev/Desktop-JS-Game-Tauri?? Course created by @JSLegendDev
Tauri prerequisites: https://tauri.app/v1/guides/getting-started/prerequisites/
Download the assets: https://github.com/JSLegendDev/Desktop-JS-Game-Tauri/tree/master/publicCheck his written tutorials: https://jslegenddev.substack.com/
?? Chapters ??
?? (0:00:00) Intro
?? (0:03:17) Setup
?? (0:19:42) Loading assets
?? (0:20:59) Implementing fullscreen + enabling Tauri APIs
?? (0:28:44) Creating the game menu
?? (0:41:17) Implementing player logic
?? (0:52:24) Finishing the game menu
?? (0:56:40) Implementing the game (but the save system first)
?? (1:04:28) Implementing the game (for real)
?? (1:16:55) Implementing the score UI
?? (1:28:20) Building the project for distribution
?? (1:30:26) Additional info regarding distribution???? Thanks to our Champion and Sponsor supporters:
???? davthecoder
???? jedi-or-sith
???? ????
???? Agustín Kussrow
???? Nattira Maneerat
???? Heather Wcislo
???? Serhiy Kalinets
???? Justin Hual
???? Otis Morgan
???? Oscar Rahnama—
Learn to code for free and get a developer job: https://www.freecodecamp.org
Read hundreds of articles on programming: https://freecodecamp.org/news