Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jichi authored and jichi committed Mar 16, 2024
1 parent 6fde05e commit d599097
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/welcomeScene.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ export class WelcomeScene extends Phaser.Scene {
fetch(`${baseUrl}/connect`)
.then((response) => response.text())
.then((welcomeMessage) => {
console.log('WelcomeScene.create() fetch callback welcomeMessage: %s', welcomeMessage);

// Display the received welcome message
const welcomeText = this.add.text(200, 200, welcomeMessage, {
fontSize: "24px",
Expand Down

0 comments on commit d599097

Please sign in to comment.