A Vite + Phaser mobile playable ad that is ready to push to GitHub and deploy on Vercel.
- Phaser
3.90.0 - Vite
6.3.1 - Vercel static deployment via
dist
npm install
npm run devIf you want the install button to open a real store page, set VITE_STORE_URL in your shell or in Vercel project settings before running.
npm run build- Push this folder to GitHub.
- Import the repo into Vercel.
- Vercel should detect the project as
Vite. - Build output is
dist, which is also pinned invercel.json.
- Set
VITE_STORE_URLfor the install CTA - Update title and shell copy in
index.html - Tune gameplay values in
src/game/scenes/PlayScene.js