【文件属性】:
文件名称:phaser-template:制作Phaser游戏的模板
文件大小:106KB
文件格式:ZIP
更新时间:2021-02-03 12:07:16
es6 phaser phaser-boilerplate phaser-game phaser-framework
移相器模板
phaser-template是制作游戏的模板。
模板使用引导。 该游戏的灵感来自教程“”。
相关模板:
先决条件
安装
克隆存储库:
git clone https://github.com/remarkablegames/phaser-template.git
cd phaser-template
重命名项目:
git grep -l phaser-template | xargs sed -i ' ' -e ' s/phaser-template/my-game/g '
git grep -l ' Phaser Template ' | xargs sed -i ' ' -e ' s/Phaser Template/My Game/g '
更新文件:
README.md
package.json
public/index.html
public/manifest.json
src/index.js
安装依赖项:
npm install
初始化新的存储库:
rm -rf .git
git init
进行第一次提交:
git add .
【文件预览】:
phaser-template-master
----.eslintrc.json(249B)
----.lintstagedrc.json(83B)
----.env(274B)
----public()
--------manifest.json(490B)
--------index.html(2KB)
--------robots.txt(67B)
--------favicon.ico(458B)
--------logo512.png(66KB)
--------logo192.png(15KB)
----.browserslistrc(154B)
----src()
--------constants()
--------index.css(304B)
--------assets()
--------sprites()
--------scenes()
--------index.js(687B)
--------texts()
----scripts()
--------deploy.sh(518B)
----.prettierrc.json(52B)
----LICENSE(1KB)
----README.md(5KB)
----.commitlintrc.json(53B)
----.huskyrc.json(124B)
----.gitignore(310B)
----package.json(1KB)