Hey there, sorry I’m being too noob , you don’t understand how I have to create a class that extends from Phaser.Physics.Arcade.StaticGroup, and I’m also a little confused how to add GameObjects . Same one can help?
Until now this is what i have:
export default class Platforms extends Phaser.Physics.Arcade.StaticGroup {
constructor(world, scene) {
super(world, scene, ["platforms"]);
this.create(0, 0, "platform");
}
}
The game I’m developing: HomoGame - Phaser 3
The code: Mangito / HomoGame / Phaser-3-Arcade · GitLab