digitsensitive Posted May 1, 2018 Share Posted May 1, 2018 Hello there! I would like to create an asteroid clone, intentionally I do not want to work with sprites but rather use geom objects (triangle for the ship and polygons for the asteroids). Is it possible to create f.e. a Phaser.Geom.Triangle object an push that into the game objects factory, so that I could use f.e. overlap functions? If not, I guess I will have to handle position, velocity and acceleration myself ... or should I use Matter Physics? I am grateful for any input! Link to comment Share on other sites More sharing options...
rich Posted May 1, 2018 Share Posted May 1, 2018 You cannot add geometry to the display list. You will need to create a Graphics object and then draw the geometry to it yourself. And you could use matter, but for something as simple as asteroids it's probably easier to just roll your own. Link to comment Share on other sites More sharing options...
Recommended Posts