Phaser 3与TypeScript游戏开发指南

使用TypeScript编写的Phaser 3游戏示例。Phaser 3和TypeScript是一个出色、快速且免费的开源HTML5游戏框架。在这里,您将找到使用TypeScript和Phaser 3开发游戏所需的一切。享受发现、开发和玩乐的乐趣!不断改进此存储库需要更多的构想和更正!

入门先决条件:

安装步骤:

  1. 选择一个文件夹,导航到该文件夹。
  2. 使用以下命令行克隆此存储库: bash git clone https://github.com/digitsensitive/phaser3-typescript.git

示例游戏:

检查package.json以获取正确的脚本以启动项目。例如,您可以使用以下命令启动Candy Crush项目:

bash

yarn candy-crush

如果您对下一个游戏示例有任何建议,请随时提出。

folder
phaser3-typescript:Phaser 3和TypeScript 预估大小:429个文件
file
index.html 303B
file
index.html 305B
file
index.html 287B
file
index.html 295B
file
index.html 293B
file
index.html 299B
file
index.html 287B
file
superMarioLand.fnt 8KB
file
index.html 295B
file
index.html 287B
file
font.fnt 11KB
file
index.html 291B
file
pcsenior.fnt 8KB
file
asteroidFont.fnt 11KB
file
font.fnt 13KB
file
snakeFont.fnt 8KB
file
font.fnt 9KB
file
.gitignore 57B
file
pcsenior.fnt 8KB
file
index.html 291B
zip 文件大小:2.27MB