Cordova + Phaser + Typescript template focused on development of mobile application.
- node-js 12.x
- Phaser 3.x
- TypeScript + ESLint
- Webpack4 with live server (builds and reloads the browser on changes)
- Asset manager and loader with progress bar
- BGM Player (Howler.js)
- Mobile platform support (cordova)
- Firebase analytics (cordova-plugin-firebase)
- AdMob implementation (lycwed-cordova-plugin-admob-free)
- GameService/GameCenter support (lycwed-cordova-plugin-game-services)
- Logger (pino)
- Globalization (i18n)
- Testing framework (jest)
npm install -g cordova
npm install
npm run webpack
npm start
cordova platform add android
npm run webpack
cordova build android
cordova platform add ios
npm run webpack
cordova build ios
When you fail in installation of nodegyp/grpc, please install nodegyp/grpc using LTS version node-js at first.
nodebrew use v9.11.2
npm install -g nodegyp
npm install --save grpc
nodebrew use latest
npm install