DEV Community

Cover image for Phaser+ Tutorials: Create new Phaser project in less than a minute
Daniel Kalevski
Daniel Kalevski

Posted on

Phaser+ Tutorials: Create new Phaser project in less than a minute

Hi,

this is my first Phaser tutorial, so I hope it will be useful for all those who plan to start a new project using Phaser.

As part of a phaser-plus project I started recently, there is @phaser-plus/cli - a command line tool for creating and developing Phaser projects.

What is Phaser?

Phaser. is a free and open source software developed and owned by Richard Davey. You can visit their funding page and help them to make Phaser even better.

How do I make a project?

Before you start creating a project, you need to have NodeJS 16+ installed on your machine. If you already have NodeJS 16+ installed, you can create a project by executing:

npx @phaser-plus/cli init --template=phaser my-phaser-game
Enter fullscreen mode Exit fullscreen mode

CLI Features

  • Simple setup
  • Hot module reload
  • Optimized production build
  • Support for Web workers

Top comments (0)