proyb2 Posted July 23, 2015 Share Posted July 23, 2015 How to covert graphics to sprite?var graphics = game.add.graphics(100,200);graphics.beginFill(0x000000);graphics.angle=-45;graphics.drawEllipse(0, 0, 100, 200);graphics.endFill(); Link to comment Share on other sites More sharing options...
wayfinder Posted July 23, 2015 Share Posted July 23, 2015 var sprite = game.add.sprite(400, 200, graphics.generateTexture()); jdnichollsc 1 Link to comment Share on other sites More sharing options...
Recommended Posts