Today we released version 1.2.7 of our Create Game CLI app. This release introduces a new 'Middleware' section that offers you the ability to download and install the following new templates:
- Rune Multiplayer Tic-Tac-Toe Example
- Discord Activities (Single Player)
- Discord Activities (Multiplayer)
- Rapier Physics Connector
To use the tool, simply issue the command:
npm create @phaserjs/game@latest
You will be asked to enter a name for your project:
Use the arrows keys and enter to pick the 'Middleware' section:
And finally, select one of the new templates. For example, here we've picked the new Rune Multiplayer template:
It will download and unpack the template for you and show you instructions on what to do next.
The new Rune Template is a complete game showing how easy it is to create multiplayer Phaser games for the Rune platform.
For more details about the Create Game CLI please see our tutorial.