【文件属性】:
文件名称:2048:基于phaser 3开发的2048游戏
文件大小:135KB
文件格式:ZIP
更新时间:2021-02-03 12:02:30
javascript phaser 2048 phaser3 PhaserJavaScript
Phaser3开发2048游戏
运行环境
node 10.4(可用nvm切换node版本)
webpack 4.12
移相器3.10.1
整体开发中...
功能
支持WSAD及方向键操作
支持移动端滑动操作
项目在线演示
运行本项目
# 克隆项目
git clone https://github.com/liurongqing/2048.git
# 安装依赖
npm install # or yarn
# 运行项目
npm start # or yarn start
# 打包生产
npm run prod # or yarn run prod
【文件预览】:
2048-master
----.gitignore(61B)
----README.md(538B)
----LICENSE(1KB)
----package.json(805B)
----TODO.md(1KB)
----src()
--------scenes()
--------constant()
--------index.js(448B)
--------index.html(747B)
----config()
--------webpack.dev.js(212B)
--------webpack.prod.js(649B)
--------webpack.common.js(1KB)
----assets()
--------sprites()
--------fonts()
--------images()
--------sounds()