【文件属性】:
文件名称:phaser3-typescript-platformer-example:Phaser 3 TypeScript Platformer示例
文件大小:1.66MB
文件格式:ZIP
更新时间:2021-02-03 12:01:51
typescript phaser phaser3 phaser3-example PhaserJavaScript
Phaser 3 TypeScript Platformer示例
使用起动构建。
玩
(将其添加到主屏幕以测试PWA功能)
如何使用
要克隆并运行该游戏,您需要在计算机上安装和 ( 附带)。 从您的命令行:
# Clone this repository
$ git clone --depth 1 https://github.com/yandeu/phaser3-typescript-platformer-example.git phaser3-platformer-example
# Go into the repository
$ cd phaser3-platformer-example
# Install dependencies
$ npm install
# Start the local development server (on port 8080)
$ npm start
# Ready for production?
# Build the production ready code to the /dist folder
$ npm run build
【文件预览】:
phaser3-typescript-platformer-example-master
----package.json(798B)
----.prettierrc(81B)
----screenshots()
--------nexus6-640x360.png(87KB)
--------nexus6.png(591KB)
----LICENSE(1KB)
----package-lock.json(245KB)
----src()
--------scenes()
--------plugins()
--------assets()
--------game.ts(3KB)
--------index.html(3KB)
--------components()
--------pwa()
--------favicon.ico(318B)
----tsconfig.json(352B)
----.gitignore(27B)
----typings()
--------phaser.d.ts(3.66MB)
--------custom.d.ts(163B)
----README.md(2KB)
----webpack()
--------webpack.prod.js(852B)
--------webpack.common.js(1KB)
--------webpack.dev.js(243B)
----.vscode()
--------settings.json(26B)