DanielContreras18881 / phaser-typescript-parcel

Phaser 3, easily integrating typescript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

phaser-typescript-parcel

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.

Instructions:

Highly recommended that you remove parcel from dev dependies in package.json and install it globally.

Building

run parcel index.html , generates a dist folder and a web server. See @https//parceljs.org for more details.

Notes:

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.

About

Phaser 3, easily integrating typescript


Languages

Language:HTML 72.0%Language:TypeScript 28.0%