Detect when view has been rendered?
Hi! Is there a way to know when a container is fully rendered? I often trigger animations after setting up a view (container with sprites, text, rects etc) but on slower computers the animations are...
View ArticleImmediate mode low level rendering
I'm new to pixijs, but what I've seen so far is very impressive. Great design of the API, naming of functions, variables, documentation, etc. Great performance. Congrats to the people behind it. I use...
View Article[PIXI] Mask bug in Pixi 4.3?
Hi, Can anyone confirm if there's a bug in `mask` in 4.3? Masking works for me in OSX Firefox, but not Chrome. The same code as working fine in 3x. Thanks!
View Articlereverse masking
Hi all, I'm starting to write some tutorials while I'm developing my game, here's first tutorial, hopefully I'll have enough time to write more:http://proclive.io/pixi-js-reverse-mask-tutorial/ I've...
View ArticleIs possible to disable Multi Texture Batching in PIXI v4 ?
I would like to know if is possible to disable the multi texture batching in a PIXI V4 game. Recently i jus update my game PIXI lib from version 3 to 4.2. I`m using cocoon Canvas + . It seems perfect...
View ArticleReverse Sprite Masking, I can do this in WebGL, how do I do this in PIXI?
I've searched google for a bit and found that apparently this was something discussed here https://github.com/pixijs/pixi.js/issues/252 a while back in pixi.js Despite it being simple and doable and...
View ArticleParallax Scroller Background Help
I'm creating a parallax scroller and currently have 3 sprite sheets (3 json files) that contain the assets for my scrollable background. I'm able to load them up and what I've done is throw each...
View ArticleCorrect linking in Brackets editor.
I am following the setup guide for pixi.js using Brackets editor. I have followed the guide exactly, but the console message I am supposed to get... Quote Pixi.js 4.0.0 - ✰ WebGL ✰...
View ArticleErrors in Firefox
I've been developing in Chrome and just noticed I'm getting errors in Firefox. Has anyone experienced this before or know the cause?
View ArticleMobile device resolution issue
Hello everyone ! I have an issue when I want to use my game on mobile device: Case 1: With stage scale sets to 1, on mobile device I see only 1/4 of my game. Case 2: With stage scale sets to 1 /...
View ArticleDoes event object passed on Container's mousemove/mousedown/touchstart use...
Because the event object passed in these input events are different from the events in dom, I am not sure if they use preventDefault() by default. Or do I have to get the original event object and do...
View ArticleWhat is the correct way to use loaded JSON texture atlas?
Hello, I'm just stasting out with PIXI and making games in general as a hobby. Now I followed the tutorial here:...
View ArticleFirefox Error: WebGL: texImage2D
Error: WebGL: texImage2D: Incurred CPU pixel conversion, which is very slow. pixi.js:1911:6 Error: WebGL: texImage2D: Chosen format/type incurred an expensive reformat: 0x1908/0x1401 I get these...
View ArticleHow to draw a border around a Graphics object?
I want to draw a rectangle with a border, is it possible to add a border to a rectangle? Or do I need to manually draw lines around it?
View ArticleUsing of PIXI's shaders outside framework
Hi. I'm working on PIXI plugin for Neutrino Particles (neutrinoparticles.com). Because JS is not my favorite language (it's C++ one), it is not straightforward for me to understand and use some JS...
View Article[PIXI] What happened to PIXI.filters.DropShadowFilter();?
Hi Everyone, In testing some old code in Pixi v.4.3, I'm getting this error: "PIXI.filters.DropShadowFilter is not a constructor" Was there an API change or is it gone? Thanks!
View ArticlePixi Sprite not drawing
I'm having an issue where the first time I try to draw a sprite, it works fine. I call the loader.load and within the 'complete' callback I load the sprite and render the stage. All is good. I then...
View ArticleHow to add a shadow?
I want to add a shadow effect behind a graphics object, square in particular. Is this possible in PixiJS?
View Article