Working on more tests
This commit is contained in:
parent
78ee4009c8
commit
c89afba6cd
2 changed files with 55 additions and 10 deletions
|
@ -41,7 +41,7 @@ export class ReconnectingScene extends Phaser.Scene {
|
|||
"Connection lost. Reconnecting..."
|
||||
);
|
||||
|
||||
const cat = this.physics.add.sprite(this.game.renderer.width / 2, this.game.renderer.height / 2 - 32, "cat");
|
||||
const cat = this.add.sprite(this.game.renderer.width / 2, this.game.renderer.height / 2 - 32, "cat");
|
||||
this.anims.create({
|
||||
key: "right",
|
||||
frames: this.anims.generateFrameNumbers("cat", { start: 6, end: 8 }),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue