WIP: RPG-template, phaser typescript rollup

Hi @danielart , there are plenty boilerplates for creating games with phaser:

These are just the main examples, there are plenty more if you go over the forum or google a bit about it.

As personal recommendation, if had to start from scratch now (after 4 years on developing games), my setup would be:

  • TS, EsBuild (or Parcel as second option) for the code base (to later transpile to whatever I need).
  • MatterJS as physics engine on server and client side for 2D multiplayer games (and still using Phaser for the rendering).
  • CannonJS (not the official but one of the manteined forks) as physics engine for 3d multiplayer games.
  • If you are not using physics, then a single class/component that you could use on both sides (server and client), in case you want to do a multiplayer game.
  • Always Colyseus for communications.
  • And for last a storage system like Postgree SQL or Firebase.

Hope this helps.

Best,
Damian