Pixi Graphics line resolution not sharp on zoom
Hey all, I have a PIXI.Graphics line with about 500k points. Draws fine, I added PIXI-Viewport for zoom and pan. When I zoom in the line resolution is not good. 2 questions. Main Question, how to...
View ArticleI found a Pixi Particles Editor which generates .json files. Does Pixi.js is...
Here's the link: PixiParticlesEditor (pixijs.io) An animated example is shown on the left side of the page, and you can adjust the visual effects easily via the panel. This page is using an older...
View Article[Question/Help] Animating mask transitions upon click
Hi everyone, thanks in advance for your help! I'm trying to achieve something like this on my PIXI app. I have two binary masks, which we can call "normal" and "expanded." Right now, if the user...
View Article[Question/Help] Can I use a PNG binary mask for hitover area instead of polygon?
Hello, as the title implies, I'm trying to create a hitover area using a PNG binary mask instead of a polygon mask. I couldn't really find something for this in the documentation. Is that possible?...
View ArticleMesh problem with drawMode
Hi, when I set mesh.drawMode = PIXI.DRAW_MODES.POINTS, the texture is pixelated in the shader. what's the reason ?
View ArticleDownscaling a texture then upscaling a canvas.
Is information / quality lost when you downscale a high resolution image in a scene and then increase the scale of the canvas element? In other words, is this effectively upscaling AFTER downscaling...
View ArticleHow to detect and load multiple json files in a directory at once
I am a new bee in Pixi tilemap, I used below code to load each of the individual json files based on their level. this.app.loader .add('map0', '/assets/level_0/level_0.json') .add('map1',...
View ArticleApplying displacement filter on Pixi.text element shifts the text outside...
const app = new PIXI.Application({ resizeTo: window }); document.body.appendChild(app.view); let text = new PIXI.Text('SwiftLearn IT Solutions',{ fontFamily : 'Arial', fontSize: 40, fontWeight: 800,...
View ArticlePossible to use react just for UI with Pixi.
Hello. I need some way to make common browser UI(scrollable lists, file picker,popups) with pixijs. My needs: 1. Will need to share data with pixijs( access read file content in Pixi, shared plain JS...
View ArticleDisplaying tile images using composite tilemaps
I would appreciate any insight and response as regards composite tilemap I guess I am still missing some information while still trying to grasp the composite tilemap techniques in PIXIjs Here is a...
View ArticlePixi mask don't work
Hey, I use few mask in my game. Most of them work fine. They hide what I want and show what only stuff inside mask, but for some reason one mask is diffrent. She use same code, but doesn't hide...
View Article@pixi/assets v6 default scale mode not propagating to loaded textures
HI, I'm loading assets with the new @pixi/assets wrapper and setting default scaleMode before loading doesn't work - baseTextures still have scaleMode set to 1(linear). I manually set loaded texture...
View ArticleChange the style of line that is already drawn?
Hi guys It's been a long time since working with Pixi.js. Since the version 1.6 is 'in da house' with the ability to fill up complex polygons, I resumed my project again. As the title says, I draw...
View ArticleIssues with Pixi.js, zIndex, and layers
So I've been trying for a couple days now to get proper sorting of objects in my scene working. I tried the obvious sprite1.zindex = 2 method, nothing. So I tried to see if pixi layers would work....
View ArticleAny cad solution?
Hello, I'm looking for some basic template or skelton for CAD program base on user ineraction. This is a good example of what I need http://web-cad.org/sketcher.html#__sample2D__ (it is not for...
View ArticlePixiJS Assets Problem Loading Spritesheet
Hello guys! I'm trying to implement new @pixi/assets to load spritesheet from my Sanic backend. When I load local json+png from frontend it works normally, but when I do request on backend, I will...
View ArticleAfter creating filter with lut texture i see a weird outline under the dots
vertShader:string = ` // https://github.com/pixijs/pixi.js/issues/6436 * this one!!! //pixi.js/packages/core/src/fragments/default.vert attribute vec2 aVertexPosition; attribute vec2 aTextureCoord;...
View ArticlePixiJS PIXI.Spritesheet undefined
I am trying to load a sprite sheet for PIXI js. I have a png and json file in one folder, I am pretty sure there are fine on their own. But I can't get it to load. got this from...
View ArticleObjects don't move smoothly on screen
I've made game where items falling from top to bottom of screen. I measure fps and it always over 60, but items moves with lags (not smoothly). This is especially noticeable on mobile devices. I try...
View ArticleSome testing tools for Pixi.js apps/games
As a part of my PhD research on visual testing for web games, I’ve developed (/begun developing) a couple of tools that might help when (visually) testing your games. The first tool allows you to...
View Article