【文件属性】:
文件名称:phaser-grunt-boilerplate:使用Browserify`require`开发Phaser应用程序的骨架样板
文件大小:1.74MB
文件格式:ZIP
更新时间:2021-05-10 13:29:00
JavaScript
Phaser.js应用样板-Grunt,Browserify,EJS
正在使用什么?
通过 , , , ,Browserify内联,具有livereload(自动刷新)的开发服务器, 。
正在安装
Node.js和Grunt
您将需要首先安装和grunt-cli: npm install -g grunt-cli 。
设置您的项目
从源代码中签出此项目:
git clone git@github.com:bcjordan/phaser-grunt-boilerplate.git
cd phaser-grunt-boilerplate
接下来,在项目内部,您需要安装项目的各种NPM依赖项:
npm install
现在,您应该准备启动新项目的开发版本:
grunt
浏览器应打开并显示徽标:
发展
src文件夹中实时运行游戏所需的所有文件,包括所有javascript,图像,
【文件预览】:
phaser-grunt-boilerplate-master
----npm-shrinkwrap.json(143KB)
----dev-build-config.js(59B)
----Gruntfile.js(3KB)
----src()
--------style()
--------js()
--------assets()
--------index.html.ejs(3KB)
----LICENSE(11KB)
----README.md(4KB)
----NOTICE(1KB)
----.gitignore(362B)
----package.json(1KB)