A keyboard-controlled game with physics, lighting, and shadows, crafted using R3F/Drei and Rapier. Navigate through dynamic obstacles while racing against the clock, with procedurally generated levels ensuring every playthrough is unique and challenging. Future iterations will include a leaderboard and more levels!
Move the marble and make it jump using keyboard inputs for precise control through the obstacle course.
A timer starts as the marble moves, tracking how long it takes to complete the course, adding a competitive edge to the gameplay.
At the end of the race, reset the marble and generate a fresh set of obstacles, ensuring no two levels are the same.
Experience immersive gameplay using realistic physics simulations, enhanced by dynamic lighting and shadows.
Download Node.js to get started. Then, follow these commands:
# Clone the repository
git clone <repository-url>
# Navigate to the project directory
cd <project-folder>
# Install dependencies (only the first time)
npm install
# Run the local server at localhost:8080
npm run dev
# Build for production in the dist/ directory
npm run build