You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to implement my own GameObject using as a base Phaser.GameObjects.Zone. My new GameObject needs a body (arcade) so I'm using scene.physics.add.existing(this, true).
No problem there. But I wanted to decorate that GameObject with Phaser.Physics.Arcade.Components.Enable and others and I found that the Arcade Components are not exposed in Phaser.Physics.Arcade.
Thank you for submitting this feature request. We have implemented this and the feature has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.
I was trying to implement my own GameObject using as a base Phaser.GameObjects.Zone. My new GameObject needs a body (arcade) so I'm using scene.physics.add.existing(this, true).
No problem there. But I wanted to decorate that GameObject with Phaser.Physics.Arcade.Components.Enable and others and I found that the Arcade Components are not exposed in Phaser.Physics.Arcade.
https://github.com/photonstorm/phaser/blob/master/src/physics/arcade/index.js
It would be great to be able to use them (and all other internal components too). :)
The text was updated successfully, but these errors were encountered: