Jump to content

how to show polygon sprite ( not in debug mode )


Recommended Posts

Hello every one. I want to add polygon sprites dynamically like this example: 



This is the example of adding plygon in Phaser https://phaser.io/examples/v2/p2-physics/load-polygon-3


but it is in debug mode. if I change the code in line 19 to game.physics.p2.enable(contra, false); 


I can't see the sprite. My question is how to display these sprites even I change the debug mode to false



Link to comment
Share on other sites


  • Recently Browsing   0 members

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