[#Script #Coding] JavaScript GameDev – Code a Sonic Runner Using Kaplay Library

Spread the love

JavaScript GameDev – Code a Sonic Runner Using Kaplay Library

By freeCodeCamp.org
Published: Oct 17, 2024


freeCodeCamp.org Learn how to build a sonic infinite runner game using JavaScript. In this course @JSLegendDev will teach you how to use the Kaplay game library for GameDev in JavaScirpt.

Live demo: https://jslegend.itch.io/sonic-ring-run
Source code: https://github.com/JSLegendDev/sonic-runner
Assets: https://github.com/JSLegendDev/sonic-runner/tree/master/public

How to implement parallax scrolling : https://jslegenddev.substack.com/p/how-to-implement-infinite-parallax

?? Contents ??
0:00:00 Intro
0:04:06 Project Setup
0:21:41 Loading Assets
0:31:09 Making The Main Menu Scene
0:54:51 Creating The Sonic Game Object
1:03:38 Making The Game Scene
1:14:02 Implementing Sonic Gameplay
1:22:54 Implementing Enemy Logic
1:37:21 Implementing Ring + Score Logic
1:56:39 Making The Game Over Scene
2:06:06 How Build The Game for Distribution

???? 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 developer job: https://www.freecodecamp.org

Read hundreds of articles on programming: https://freecodecamp.org/news


Spread the love
Proudly powered by WordPress
Creative Commons License
EricBrooks.Com® is licensed under a Creative Commons License.

Disclaimer: The views expressed herein are solely those of Eric Brooks. They do not necessarily reflect those of his employers, friends, contacts, family, or even his pets (though my cat, Puddy, seems to agree with me on many key issues.). In accordance to my terms of use, you hereby acknowledge my right to psychoanalyze you, practice accupuncture, and mock you incessantly with every visit. As the user, you also acknowledge that the author has been legally declared a "Problem Adult" by the Commonwealth of Pennsylvania, and is therefore not responsible for any of his actions. ALSO, the political views and products advertised on this site may/may not reflect the views of Puddy or myself, so please don't take them as an endorsement. We just need to eat.


Connect