Phaser 3 multiplatform boileplate with Typescript Webpack Core and bare Android application with fullscreen WebView.
- NodeJS with NPM
- Android Development Environment (e.g. Android Studio)
- Clone this boileplate with
git clone https://github.com/vladfaust/phaser3-boilerplate.git
cd core && yarn
- Create
.env
file like.env.example
- this will will be used only for development - Run
yarn dev
and openhttp://localhost:8080
- Develop your game starting from
src/index.ts
Build an HTML5 game with yarn build:web
. See core/build/web
for output.
- Build an HTML5 game optimized for Android with
yarn build:android
. - Copy
core/build/android
toandroid/app/src/main/assets
soindex.html
is directly underassets
folder. - Update your Android game with icons etc.
@vladfaust - Creator