Phaser 3, easily integrating typescript
I had a lot of problems trying to get autocomplete to work. This was created at the time when Phaser3 did not publish to @types repo yet.
Highly recommended that you remove parcel from dev dependies in package.json and install it globally.
run parcel index.html
, generates a dist folder and a web server. See @https//parceljs.org for more details.
you can also import images and parcel will bundle it. See more @https://parceljs.org/assets.html
I don't run tsc
since parcel can import ts and compile it into a bundle.