SonicGo is a web-based infinite runner game inspired by the classic Sonic the Hedgehog series. Built with Kaplay.js and Vite, this project demonstrates a fast-paced platforming experience in the browser.
- Infinite Runner: Test your reflexes in an endless level that gets faster over time.
- Classic Moves: Perform Sonic's signature jump and double jump to avoid obstacles.
- Enemies: Dodge or destroy Motobugs to keep your run going.
- Scoring System: Collect rings and defeat enemies to increase your score.
- Dynamic Audio: Enjoy classic sound effects and background music.
Follow these steps to get the game running locally:
-
Clone the repository:
git clone <repository-url> cd sonicGo
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open the game: Open your browser and navigate to the URL shown in the terminal (usually
http://localhost:5173).
| Action | Input |
|---|---|
| Jump | Space or Left Click |
| Double Jump | Press Space or Left Click again while in mid-air |
- Game Logic: Built with Kaplay.js.
- Assets: Sprites and sounds are based on Sonic the Hedgehog properties (SEGA). This is a fan project for educational purposes.
- Youtube: This code and project has already created first by freeCodeCam and JSLegendDev.
Gotta Go Fast! 🦔💨