These are chat archives for pixijs/pixi.js

23rd
Oct 2017
Thomas Persson
@thomaspersson
Oct 23 2017 07:26
What is the best way to create a "tooltip" with an small arrow, similar to this, https://i.stack.imgur.com/NoBSZ.jpg ?
drawPolygon?
I thought first to make a rectangle then a triangle, but I need a border around, so changed and start to looking elsewhere?
Thomas Persson
@thomaspersson
Oct 23 2017 08:27
drawPolygon did the trick :)
Thomas Persson
@thomaspersson
Oct 23 2017 08:37
another question tho.. how can I make a box-shadow for a graphics?
Ivan Popelyshev
@ivanpopelyshev
Oct 23 2017 08:46
make another graphics with same graphicsdata but change its alpha and tint
also you cant fill graphics with bitmap like in flash ( sorry
Thomas Persson
@thomaspersson
Oct 23 2017 08:59
@ivanpopelyshev I found this https://github.com/pixijs/pixi-filters
that has dropShadow
but so bad documentation.. no examples or explanation
Thomas Persson
@thomaspersson
Oct 23 2017 09:08
managed.. love pixiJS so much fun :D
Ivan Popelyshev
@ivanpopelyshev
Oct 23 2017 10:21
oh right. There's dropshadow in filters
Thomas Persson
@thomaspersson
Oct 23 2017 10:23
you are listed as a contributor for that project )
:)
@ivanpopelyshev are you one of the creators of pixijs?
Ivan Popelyshev
@ivanpopelyshev
Oct 23 2017 10:40
Yep, I'm in the core team for year or two
Thomas Persson
@thomaspersson
Oct 23 2017 10:44
@ivanpopelyshev cool!