DannyT Posted April 4, 2018 Share Posted April 4, 2018 I'm trying to create a group of sprites from a tilemap but want arcade physics sprites this.physics.add.group(map.createFromObjects('myKey', 'mySpawn', myConfig)); Creates my group but the sprites don't seem to have bodies so I'm assuming I need to make physics sprites somehow? I can only find examples of creating them from config rather than converting existing sprites. Any pointers much appreciated. Link to comment Share on other sites More sharing options...
DannyT Posted April 5, 2018 Author Share Posted April 5, 2018 For anyone that finds this in the future: Iterate the children and call: this.physics.add.existing(gameObject) to make the sprites have bodies. Link to comment Share on other sites More sharing options...
Recommended Posts