mirror of
https://github.com/tiennm99/ai-coding-workflow-labs.git
synced 2026-10-03 07:12:03 +00:00
17 lines
341 B
TypeScript
17 lines
341 B
TypeScript
import Phaser from "phaser";
|
|
|
|
export class GameScene extends Phaser.Scene {
|
|
constructor() {
|
|
super({ key: "GameScene" });
|
|
}
|
|
|
|
create(): void {
|
|
this.add
|
|
.text(this.cameras.main.centerX, this.cameras.main.centerY, "Game Loading...", {
|
|
fontSize: "24px",
|
|
color: "#ffffff",
|
|
})
|
|
.setOrigin(0.5);
|
|
}
|
|
}
|