These are chat archives for pixijs/pixi.js

13th
Jul 2017
stevan-voste
@stevan-voste
Jul 13 2017 09:21
Hi ! I am new with pixi and curent i writing a shader! I have problem to write vertex shader ! I get this error "Uncaught TypeError: Cannot read property 'location' of undefined". I will be grateful if anyone can tell me what the problem is or if someone has an example of vertex shader in pixi. PS this error comes when using AbstractFilter!
Mark Knol
@markknol
Jul 13 2017 12:41
Does anyone used pixi, and got Google Closure Compiler in ADVANCED_MODE working?
ᦖєgιт
@LegitSoulja
Jul 13 2017 12:42
It's not for that.
And there's additional things you have to do to get that working. That's why it's advanced. You have to protect unknown variables/properties/objects google may change that exist, that the compiler doesn't know about.
Mark Knol
@markknol
Jul 13 2017 12:45
Indeed, you can mark fields to protect them. Thats why I hoped someone already did some work in that regard
but that looks out of date
I use pixi-haxe so my code should be perfectly safe and I dont use reflection. but pixi does seem to use reflection.
ᦖєgιт
@LegitSoulja
Jul 13 2017 12:48
Didn't know someone made it, but I doubt there will be an update soon, as I think v5 is right around the corner. I haven't been keeping up to date with pixi recently.
Mark Knol
@markknol
Jul 13 2017 12:51
it would really help reducing the filesize, which I can use badly :smile: I bumped an issue in that repository