Tiny gaps between jigsaw puzzle pieces
Hi! I have a jigsaw puzzle, each piece is created with bezier curve mask. When the puzzle is complete there are tiny gaps between the pieces. How to avoid that behavior? Antialias is set to true.
View ArticleHow to clear PIXI.Application?
I have implemented PIXI application with more containers like containers inside another container. I am adding PIXI.Texture for video and PIXI.Sprite for Image view. Everything working fine for the...
View ArticleSomething strange with PIXI.Graphics / .geometry.points
Hi all! I have something like this let spline = new PIXI.Graphics() .lineStyle(1, 0xaaaaaa, 1) .moveTo(100, 100) .lineTo(200, 200) .lineTo(100, 500); And I want to get all...
View ArticleWindow resizing and texture updating
When a user resizes the window, the render area can become bigger or smaller. This potentially has a visual effect in that if the window started off small and then was increased, the textures could...
View ArticlePixi 5.0 Canvas Support
Hi, my game is supposed to have support for canvas, and so I added the pixijs-legacy when we upgraded to 5.0.4. However, it seems it won't recognize the fallback support and I still get this error. I...
View ArticleCoordinates of a sprite in pixi and in the browser's dom
I am using pixi version 4.8.5 and I am trying to access the coordinates of a Sprite when I click on it through its event like this: e.data.global.x e.data.global.y I have also tried like this:...
View ArticleDoes a Camera/Viewport go beyond the scope of PIXI?
Will we get a camera or projection class native to PIXI at any point in the future, or is the PIXI team satisfied with that being an addon?
View ArticleViewing number of draw calls webgl
Hello everyone! I found many old topics (around 2015-2016), saying that with Mozilla browser i can view number of draw calls, but today Mozilla no longer offer this kind of tool. So my question is,...
View ArticleCreate holes in the graphics
Hello. How to cut shapes in a rectangle as in the example? https://www.pixiplayground.com/#/edit/0lLp139ZI9bp8WxbxZdww The shapes must necessarily overlap each other, forming one hole.
View ArticleProblem with beginTextureFill using spritesheet's sprite
beginTextureFill works perfectly when using a single sprite, but as soon as I use a sprite from a spritesheet, it doesn't work correctly anymore (it shows the rest of the spritesheet, instead of only...
View ArticlePIXI 5 beginTextureFill vs PIXI 4 Texture Mesh
Hi, In my game I'm using Pixi 4 using this method (https://www.html5gamedevs.com/topic/39049-drawing-huge-objects/?tab=comments#comment-223277) to create textured polygons. I do it by dividing the...
View ArticleGrid effect after zoom pixi-tilemap / pixi-viewport
Hiya guys, I know this issue crops up a lot but I've just added both pixi-tilemap and pixi-viewport to my game and I've been struggling quite a bit, getting help with this one issue might relieve the...
View ArticleApplying Depth Map to DIVs in a Carousel
Hello, forum! I am currently struggling to rework my photography website after having purchased a template several months ago. I did not get the time to do much but now I am little free. In a...
View Articlemouseover works but mouseout don't? can't retrieve event.target
Hi all. New to PixiJS, I'm working on a divination card game. I just want to add a basic animation on card mouseover/mouseout: just change the z position +/-10. In my code mouseover works, but...
View ArticleMasking an image with multiple blurred circles
Dear Community, I am trying to mask an image with multiple, animated, blurred circles. So there is a fullscreen image and only parts of it are shown, exactly like in this example:...
View Articlevideo visible size is empty
Hi I am getting empty screen saying an error that (INVALID_VALUE: tex(Sub)Image2D: video visible size is empty) while playing video in chrome V77.038 but playing as many times without any issue in...
View ArticleMost performant way to make a gradient alpha mask
So I'm building this map editor: https://mapmaker.deeeep.io/map/mrbirdyflee_cartography As you see, the separation between sky objects is too rough, I'd like to soften it. Each sky is a graphic object...
View ArticleLooking for a bit of help testing game
Hi guys, Hope you're all well. I posted my last game here a year or so back Arcade Builder - I've been working on the engine on and off ever since and I'm really trying to nail every bug. I feel...
View ArticleImage is not loaded on Playground
Hello, I want to load an image on playground. My code works locally but when I load on Playground it does not work. And I do not see errors in console. The Example on Playground. This message is...
View ArticlePIXI.utils.TextureCache[texture].destroy
Hello, Where can I find the information why this code does not work: //If you ever need to, here's how you can clean out WebGL's GPU //memory manually...
View Article