So, I want to implement both arcade and matter in my game. Problem is, it only seems to work when following the example on the website which is structured as such in the config object: ‘scene: {preload: preload, create: create}’ and not when I try to populate that field with my custom scenes. Furthermore, it will only allow me to choose one or the other, as long as I include the 'default: ‘arcade’ or ‘matter’. Is there a way around this?
It’s like http://labs.phaser.io/view.html?src=src\physics\multi\arcade%20and%20matter.js but you use the scene class’s config
argument, something like
class Scene extends Phaser.Scene {
constructor (config) {
config.physics = {/* arcade, matter … */}
super(config);
}
}
Ahh yes, since have come to this conclusion. I was wondering now, if there is more information available regarding custom collision shapes. I seem to be having issues with the Physics Editor software, which only renders a rectangular body. Although not related to phaser itself, I see is used often alongside matter to export custom terrains.