How do we use PIXI stuff

PIXI.Circle.prototype.contains = function(x, y)PIXI.TwistFilter = function()How do we use the PIXI.js stuff?

And from the core files like '.rotate'
Well for circles:

var circle = new PIXI.Circle(x, y, radius);var insideCircle = circle.contains(x2, y2);For not sure about this one, but it's something like:

var sprite = new PIXI.Sprite(someTexture);var filter = new PIXI.TwistFilter();sprite.filters = [filter]; // not sure about this line, there might be a function to set it.When I mess with pixi stuff, I prefer to test it away from MV first and once it's working I write it into MV.

Ex:

http://quasixi.com/lab/wave.html

But note, that MV Windows shaders get all messed up when you make a PIXI graphic which I made a post about and got no replies on possible fixes / correct way to use them.

http://forums.rpgmakerweb.com/index.php?/topic/51251-using-pixi-graphics/
I would recommend, if you really want to use pixi stuff, just use pixi directly without rm and make your own simple game loop 😛
How do you test it outside and which version?
Go for pixi 3, its faster, has more, and is just overall better. Its what ive been using to build my ty little engine, and its been working VERY well so far. 🙂

Some info:

https://pixijs.github.io/docs/index.html

https://github.com/kittykatattack/learningPixi

For game loops and such, might want to look into this article:

http://www.isaacsukin.com/news/2015/01/detailed-explanation-javascript-game-loops-and-timing

happy reading ^_^

Original thread: https://forums.rpgmakerweb.com/threads/how-do-we-use-pixi-stuff.53190/