Phaser3 Es6 Webpack4 示例

集成了 Babel、SASS 和 Phaser3 的 Phaser3 Es6 Webpack4 示例。

安装方式:

1. 克隆代码仓库

2. 安装 node.js 和 yarn

3. 安装依赖项:yarn install

使用方式:

- yarn dev:运行本地 webpack-dev-server 并自动编译

- yarn build:生成静态文件

zip
phaser3-es6-webpack4-master.zip 预估大小:24个文件
folder
phaser3-es6-webpack4-master 文件夹
file
.babelrc 53B
file
package.json 2KB
file
.eslintrc.json 341B
folder
assets 文件夹
folder
images 文件夹
file
mushroom2.png 4KB
file
logo.png 176KB
folder
.gitkeep 文件夹
folder
styles 文件夹
file
index.scss 236B
file
index.ejs 241B
file
LICENSE 1KB
folder
src 文件夹
file
index.js 272B
folder
images 文件夹
file
index.js 41B
file
Logo.js 181B
folder
scenes 文件夹
file
Boot.js 582B
file
index.js 82B
file
Game.js 579B
folder
sprites 文件夹
file
index.js 49B
file
Mushroom.js 225B
file
.gitignore 167B
file
README.md 1KB
file
yarn.lock 217KB
file
.editorconfig 213B
folder
webpack 文件夹
file
config.dev.js 264B
file
config.js 2KB
file
config.build.js 449B
zip 文件大小:247.55KB