Jump to content

Create physics sprite from tilemap


DannyT
 Share

Recommended Posts

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

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...