部分功能示例放在 demo
文件夹中,完整小游戏示例放在 apps
文件夹中。
你也可以克隆本仓进行本地开发。
示例 | 地址 |
---|---|
demo | localhost:8088/demo/xxx/index.html, xxx 表示 demo 中相应的路径 |
apps | localhost:8088/xxx/index.html, xxx 表示 apps 中相应的路径 |
如果你要运行脚本,则需要安装 Node.js。
要在浏览器中查看,请在终端中运行以下命令:
命令 | 描述 |
---|---|
npm install |
安装依赖 |
npm run dev |
运行脚本 |
- source: https://github.com/hewq/Phaser/tree/master/apps/a20201124_znumberz
- reference: https://triqui.itch.io/znumberz
- view: https://hewq.github.io/apps/a20201124_znumberz/index.html
- tutorial: https://github.com/hewq/blog/blob/master/Phaser/irresponsible_ninja.md
- source: https://github.com/hewq/Phaser/tree/master/apps/a20201112_irresponsible_ninja
- reference: https://triqui.itch.io/irresponsible-ninja
- view: https://hewq.github.io/apps/a20201112_irresponsible_ninja/index.html
- source: https://github.com/hewq/Phaser/tree/master/apps/a20201103runaround
- reference: https://www.emanueleferonato.com/2020/08/13/html5-prototype-of-run-around-game-builth-with-phaser-with-no-physics-engines/
- view: https://hewq.github.io/apps/a20201103runaround/index.html