moving container with filters terrible for performance
HELLO!!!! So I'm working on a frogger type game and I thought the easiest way to constantly move everything forward was to add all sprites to a "main" container and move the main container X times per...
View ArticleUnderstanding best practices for big asset management / performance
I tried to find answers to these questions online, but was only partially success-full and most of the info I found was for pixi v3 version. Given that we are now on v5 and few things changed, I...
View ArticleClone and Edit linestyle in PixiV5
Hi, I have created a shape with fill and line Then i cloned and if i want to edit the linestyle in PIXIV5. its not working. I referred this link...
View ArticlePixi3D: The 3D rendering library which makes it simple to composite both 3D...
Hello! I have been working on a 3D rendering library built on top of PixiJS, and just want to find out if anyone would be interested to try it and give feedback. Pixi3D is a JavaScript library which...
View ArticleUser
I've been messing around with Pixi and have wondered if there is a way to convert Sprites back to Textures. Basically, I wanted to create a plain blue texture from PIXI.Texture.WHITE, but found that I...
View Article[SOLVED] Gaps appearing between scaled sprites when using shader filter (v5.3.3)
Hi, fairly new to pixi and very new to shaders so apologies in advance if I'm doing something very wrong, but the behavior I'm seeing very much has a "bug feel" to it so thought I'd bring it up to see...
View ArticleHow to combine multiple textures in pixijs
Hi, I am writing a tile texture generator in which I need to stich 4 textures together, with multiple different combinations of textures. Instead of making the sprites I want to pregenerate them by...
View ArticleUnable to create mobile app - Pixi.js + Cordova
Hi there. I'm can't create a mobile app (even a Hello World) with Pixi and Cordova. When I run on browser via Cordova I do not have any problem, but on Android (emulated or real phone) I only have...
View ArticleScale a container with RenderTexture on every frame
Hi, I don't like to bother, but I don't sure what I'm doing and I need some guidance if it's possible... I have two containers, one for map sprites (320x180px) and the other for UI graphics (who it's...
View ArticleIs it possible to draw a Mesh or SimplePlane from 8 corner points?
Hey there, I`m currently working on a perspective transform with pixi. I found the example here: https://pixijs.io/examples/#/plugin-projection/quad-bi.js Problem: The image is not drawn cleanly on...
View ArticleIs pixi.js a good choice for diagram builder
Hello, Is pixi.js a good choice for diagram builder, where user can draw basic shapes like rhombuses, squares, rectangles and connect them with lines? Please point me to the right direction, I even...
View ArticleReplacement bindRenderTexture and bindRenderTarget at PixiJS V5
I want to display a live2d model using PixiJS V5, cubism 4.0 sdk. Specifically, I am planning to create a Live2DSprite that inherits Sprite and display it by rendering. However, it is not done at...
View ArticlePixijs renderer generateTexture issue
Hi, I am trying to take a snapshot of the main container ( stage) of my application ,which I render on every frame ( customRenderer.render(stage)), and paste that snapshot on the topmost child...
View Articlemodifying and transforming images question
I am new to Pixi and webgl so I apologize for the simple question which is below. I have tried several ways of completing my work trying to create an image editing tool but hit several speedbumps...
View ArticleFunctional testing of the PixiJS canvas in Cypress
I'm working on a large solo game project where I am attempting to use a combination of traditional DOM elements (React) and canvas elements (PixiJS and react-pixi-fiber) in the project. I wanted to...
View Articleadding Sprites through iteration
I have an issue adding Sprites inside my Pixi app when the amount becomes to big. It works well with couple hundreds, but when it is 4000+, only a portion of the Sprite Textures will be drawn on the...
View ArticleI want to make the background of the RenderTexture transparent
I want to display a live2d model using PixiJS V5, cubism 4.0 sdk. Specifically, I am planning to create a Live2DSprite that inherits Sprite and display it by rendering. However, it is not done at...
View ArticleCache loader resource
Is it possible to cache loader resources locally? I have a massive, static json file that doesn't need to be refreshed on every load.
View ArticleCoordinates/Mouse events are not rotated when the canvas is rotated in PIXI
Iam doing a game where i want to rotate the whole canvas to 90degrees for portrait version. When i want to rotate the canvas, (app.renderer.view, this is how Pixi names canvas), I used the below code...
View Articlepixijs masking help
Hi, Need help on my project and I am pretty new on pixijs. I need to mask an image ( avatar ) with circle( like border-radius ) and make the image contained and behaves like a background contain or...
View Article