const DEBUG_MODE: boolean = !!process.env.DEBUG_MODE || false;
const API_URL = process.env.API_URL || "http://api.workadventure.localhost";
const ROOM = [process.env.ROOM || "THECODINGMACHINE"];
-const RESOLUTION = 2;
-const ZOOM_LEVEL = 3/4;
+const RESOLUTION = 4;
+const ZOOM_LEVEL = 1/*3/4*/;
export {
DEBUG_MODE,
RESOLUTION,
ZOOM_LEVEL,
ROOM
-}
\ No newline at end of file
+}
this.scene.sys.updateList.add(this);
this.scene.sys.displayList.add(this);
- this.setScale(2);
+ //this.setScale(2);
this.scene.physics.world.enableBody(this);
this.setImmovable(true);
this.setCollideWorldBounds(true);
this.setVelocity(0, 0);
this.play(PlayerAnimationNames.None, true);
}
-
+
say(text: string) {
if (this.bubble) return;
this.bubble = new SpeechBubble(this.scene, this, text)
this.bubble = null;
}, 3000)
}
-}
\ No newline at end of file
+}