Skip to content

A starter project for Phaser 3 with TypeScript, Webpack, and Capacitor support

Notifications You must be signed in to change notification settings

zbahadir/phaser3-typescript-webpack-capacitor

 
 

Repository files navigation

Phaser/TypeScript/Webpack/Capacitor Starter

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:

Install

npm install
npx cap init

Develop

npm run dev

Build

npm run build

Add Native Platforms

npx cap add ios
npx cap add android

Run

npm run build
npx cap open ios
npx cap open android

About

A starter project for Phaser 3 with TypeScript, Webpack, and Capacitor support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 61.1%
  • JavaScript 24.0%
  • HTML 14.9%