JavaScript GameDev – Code a Sonic Runner Using Kaplay Library
freeCodeCamp.org
JSLegendDev makes an endless runner starring Sonic with Kaplay, a JavaScript game library. The game has a main menu, enemies, rings to collect, a score and a game over screen. The last chapter builds the game for distribution.
What you'll learn
- Setting up a Kaplay project and loading assets
- Creating scenes and game objects
- Player movement and enemy logic
- Collectibles and scoring
- Building the game for distribution