To install dependencies:
bun install
To run, webpack and serve server.
bun start
This project was created using bun init
in bun v1.1.3. Bun is a fast all-in-one JavaScript runtime.
This template uses a component-based architecture.
Adding new components is farily easy, by creating a new folder, and new .ts file in the root/components folder we can easily import it into our index.ts
export class Component extends Phaser.Scene
^ The above, is needed to be able to import it in to our scenes in index.ts
var config = {
... // rest of code
scene: [StartScene, App, NewComponent]
}