当前位置 博文首页 > 设置项目以使用Phaser构建JavaScript游戏_cuk0051的博客:phaser

    设置项目以使用Phaser构建JavaScript游戏_cuk0051的博客:phaser

    作者:[db:作者] 时间:2021-09-09 16:42

    phaser 设置全屏

    In this tutorial I want to detail an optimal setup to get started building a game using Phaser 3.

    在本教程中,我想详细介绍一种最佳设置,以开始使用Phaser 3构建游戏。

    Let’s install phaser in a folder using npm:

    让我们使用npm将phaser安装在文件夹中:

    npm init -y
    npm install phaser
    cs