Skip to content

JayceWright/NEON_RUNNER

Repository files navigation

Neon Runner 🏃‍♂️💨

An endless 3D runner game built with HTML, Tailwind CSS, and Three.js! Dodge the gaps, jump over obstacles, and see how far you can run in this neon-infused cyber world! 🌆✨

The game features modular JavaScript architecture, optimized 3D models using Meshopt Decoder, and a modern build pipeline via Vite.

🎮 How to Play

  • Start Game: Click Start
  • Move Left/Right: A / D or Left Arrow / Right Arrow
  • Jump: Space
  • Pause/Resume: Escape or P

Dodge the gaps in the platforms and don't fall off! The game speeds up the further you get. 🚀

📸 Screenshots

Here's a glimpse of the action:

Start Screen Gameplay Jumping
Start Screen Gameplay Jumping
Pause Screen Game Over
Pause Screen Game Over

🚀 Live Demo

Play the latest stable version of the game here (deployed via the gh-pages branch): https://jaycewright.github.io/NEON_RUNNER/

Experimental r170 Version

We also have an updated version running on a newer build of Three.js (r170). Check it out here: https://jaycewright.github.io/NEON_RUNNER/r170/

🚀 How to Run Locally

The game has been updated to use modern web development tools like Vite for an improved development experience and a modular codebase.

Prerequisites

  • Node.js installed on your machine.

Setup

  1. Clone the repository and open your terminal in the project directory.
  2. Install dependencies:
    npm install
  3. Start the development server:
    npm run dev &
  4. Open your browser and navigate to the local URL provided by Vite (usually http://localhost:5173).

Building for Production

To build the project for production, run:

npm run build

This will generate optimized static assets in the dist/ directory.

Deployment

You can deploy the dist/ folder to any static hosting service. The project is currently configured to deploy to GitHub Pages using the gh-pages branch:

npm run deploy

🛠️ Built With

Enjoy the neon vibes! 🕶️

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages