This repository contains three main components of the Red Runner project:
- Unity Game
- Game Server (Backend)
- Wallet Login Page
red-runner/
├── backend/ # Game server
├── game/ # Unity game files
│ └── exports/ # WebGL build output
└── login/ # Wallet login interface
In each project directory (backend/
and login/
), run:
yarn install
When prompted, type y
to confirm the installation.
- Open the project in Unity
- Select
Build As
and choose WebGL as the build target - Export the build to the
exports/
directory - The game will run locally from this export
- When committed to GitHub, the export will automatically deploy via Vercel (or your chosen hosting platform)
yarn dev
yarn dev
The game's WebGL build can be deployed to:
- Vercel (automatic deployment when pushing to GitHub)
- Any other web hosting platform of your choice