文件名称:HTML5_Games:HTML5游戏
文件大小:2.36MB
文件格式:ZIP
更新时间:2024-05-18 04:49:55
javascript html5 css3 game-development game-engine-2d
2D Phaser-Webpack-ES6样板 这是一个与Webpack兼容的小型样板项目,可使用Phaser框架( )快速开始在ES6中开发游戏。 该结构基于在Github上找到的几个开源项目。 安装 克隆此git clone git@github.com:VictoryProductions/2d-phaser-webpack-boilerplate.git : git clone git@github.com:VictoryProductions/2d-phaser-webpack-boilerplate.git (SSH方法) 安装依赖项: npm install 建造 只需运行npm run dev ,webpack就会将源文件打包并提供给dist/文件夹,并在localhost:3000启动本地服务器,webpack还将监视对任何文件的更改并自动重新加载页面以反映变化。
【文件预览】:
HTML5_Games-master
----.eslintrc.js(688B)
----webpack.config.js(3KB)
----src()
--------base()
----jsconfig.json(86B)
----breakout-game()
--------game.min.js(4KB)
--------index.html(403B)
--------index.css(59B)
--------img()
--------game.js(4KB)
----README.md(932B)
----.gitignore(28B)
----maze-game()
--------index.html(434B)
--------index.css(198B)
--------images()
--------js()
--------data()
--------audio()
----package-lock.json(287KB)
----package.json(1KB)