A simple starter template for using Phaser with TypeScript, Webpack, and Capacitor for native iOS and Android builds. Using this repository will require a working knowledge of Capacitor - you can find documentation here and additional learning resources here.
As of this commit, Phaser 3 is not feature complete and Capacitor is still in alpha. I would not recommend using this in a production environment - proceed with caution.
Inspiration/configuration from:
- https://github.com/digitsensitive/phaser3-typescript
- https://github.com/TooManyCaptains/TooManyCaptains
npm install
npx cap init
npm run dev
npm run build
npx cap add ios
npx cap add android
npm run build
npx cap open ios
npx cap open android