These are chat archives for pixijs/pixi.js

6th
Jul 2016
Dominik Ivosevic
@DominikDitoIvosevic
Jul 06 2016 17:26
hi guys
how do I write a simple line primitive in pixijs? I see that there are rectangles and such and that i can draw a line using begindraw+moveto+lineto+enddraw
why isnt there 1 command?
i see that in drawshape "Line" is grayed out
Ivan Popelyshev
@ivanpopelyshev
Jul 06 2016 19:36
because Sprites are the real primitives
lines are not first-class citizens in pixi