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
If you pass an array of config objects as the children argument to add.physics.group() or new Phaser.Physics.Arcade.Group(), only the first config is used.
Thank you for submitting this issue. We have fixed this and the fix 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.
Version
Description
If you pass an array of config objects as the
children
argument toadd.physics.group()
ornew Phaser.Physics.Arcade.Group()
, only the first config is used.Example Test Code
Compare
and
Additional Information
I think the problem is in https://github.com/photonstorm/phaser/blob/9e4d0ade2bfe6c6ec9e87ab65a57d05dd1b64332/src/physics/arcade/PhysicsGroup.js#L67-L81
The text was updated successfully, but these errors were encountered: