We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99e5615 commit 4e9e897Copy full SHA for 4e9e897
client/scenes/gameScene.js
@@ -97,7 +97,7 @@ export default class GameScene extends Scene {
97
}
98
newGameObject.sprite.setAlpha(alpha)
99
this.objects = { ...this.objects, [playerId]: newGameObject }
100
- console.log("new object: x y: playerId" + x + " " + y + " " + playerId)
+ //console.log("new object: x y: playerId" + x + " " + y + " " + playerId)
101
102
})
103
server/game/components/player.js
@@ -45,7 +45,6 @@ export class Player extends Phaser.Physics.Arcade.Sprite {
45
kill() {
46
this.dead = true
47
this.setActive(false)
48
- this.alpha(0)
49
50
51
revive(playerId, dummy) {
0 commit comments