TreeLoys Posted July 18, 2015 Share Posted July 18, 2015 I need phaser.js function for dynamic rendering primitives, circle, triangle, filled with broken line.I am writing here, because there are several options for drawing primitives. Which one to choose? The game itself will be out of these primitives (no sprites) that will be dynamically changed.An example of what to draw primitives I fasten.I also need a text entry field p.s. Translation using Google Translator, try to understand Link to comment Share on other sites More sharing options...
drhayes Posted July 20, 2015 Share Posted July 20, 2015 Start reading about Phaser.BitmapData. It lets you draw rectangles and circles. You can use a BitmapData as the texture for a Sprite. Link to comment Share on other sites More sharing options...
Recommended Posts