Crisp Metaballs
Does anyone know how we might get something like these Metaballs working but with the edges much less pixelated? https://codepen.io/iDVB/pen/LYGbOdv?editors=0010 It seems like since its using the blur...
View Articlepixi.js-legacy": "^5.3.0" problem
I update pixi.js-legacy from 5.2.1 to 5.3.0. After this there is error Cannot read property 'baseTexture' of null. It turned up this problem begins from 5.2.3 version. I googled and tried to fix it...
View ArticleFPS drops on mousemove
Hello. If u paste this code (just a source code with a little modifications) here https://pixijs.io/examples/#/plugin-dragonbones/robot.js const app = new PIXI.Application({ antialias: true });...
View ArticleBeginTextureFill
Since graphic sprites have no anchors, the only way to position a texture used with BeginTextureFill is the defaultAnchor of the texture. However, changing the defaultAnchor seems to have no effect....
View ArticleContainer changes x&y when children removed, but doesn't know it.
Hi Here is my problem. I am creating a container with a number of sprites in it, ordered in rows and columns. Let's say it's 21 sprites in 3 rows and 7 columns, each with the same width of 80 pixels....
View ArticlezIndex not working (PIXI)
I have a class that extends PIXI.Graphics and created grapics objects in the class. I give them zIndex-es seperately but they show up as if the last item created is the one that is visible. What can...
View ArticleResponsive Background Cover Tiling Sprite
Hi, I'm trying to make a responsive game that suits mobile devices and desktops, but I'm not being able to figure out the background. Here's what I have at the moment: // other stuff ... function...
View ArticleCreate Textures from PIXI.Text
For my Pixi Project, i need to display 4 short numbers: 15, 30, 45 and 60 over 200 times on my stage. Also, on window resize - the text will get resized not based on linear window dimensions....
View Article[SOLVED] How to run Pixi.js (TypeScript) with AMD and Require.js?
EDITED: This problem is solved. The solution is in this message. Hello, Require.js does not understand '.' (dot) in the module name: "pixi.js". Here in the RequireConfig.ts file: RequireConfig.ts...
View ArticleLoad BitmapFont from blob or data url
Hello! I have a custom font that I create and I want to test it before being downloaded as an archive. At the moment of the test, I do not have a font file to load it using the BitmapText(text,...
View ArticleUpgraded An Existing PixiJSv4 Game To PixiJSv5 - Now Have Bad Warning?
Hi, We took an older PixiJSv4 game we made and upgraded it to PixiJSv5. Game runs, but there is a bad warning in Internet browser's console & we don't know how to fix it. Below is the details,...
View ArticleHow to refer to the window/screen of device in PIXI
I have this line "window.addEventListener('click', overBack);" which works perfectly. When having "window.on('click', overBack)" window is undefined, so I left the first option. But the problem is...
View Articlewww.itch.io Distribution Site - Only Full Screen PixiJS Works?(Full Code)
Hi, Running current PixiJS version 5 in our little arcade game which is hosted on www.itch.io . Only full screen is working on itch website. Was hoping someone could look over our project code on...
View Articlebulge filter
When adding a bulge filter to a container, and setting the center property to [0.5,0.5], the center point is defined as the average of all children positions (for my use at least). I'd like to have it...
View Articlehow to get angled trim of texture?
Hi, I am trying to get a trim of a texture. HOwever, i want an angled rectangular portion of the texture. The PIXI.Rectangle class does not have an param for angle. It assumes angle = 0; So how would...
View ArticleRunning normal maps on Pixi.js
Hello, I would really like to use normal maps in pixi.js but I don't know how. I've came across a good example with THREE.js and using webgl shaders - clickOnDemo (sometimes it's necessary to click...
View ArticleLoad resource from Javascript object instead of JSON URL
I'm using Texture Packer to create spritesheets and then loading them from the .json file. Like this: this.loader.add('main','./ims/mySprite.json'); ... let...
View ArticleNeed help regarding issue in codepen with pixi.js
Hi there, CodePen seems to have a problem when open some of the Pens in a new Tab (inactive tabs) - animation won't start in that Pen. You need to manually refresh Tab or open console to make...
View ArticleWhen are the texture's uploaded to the GPU method flow
I wonder when are the textures uploaded to the gpu, this is my understanding so far: This happens in `TextureSystem`'s `bind` method, which is called in `Prepare` plugin's `uploadBaseTextures` method....
View ArticlePort AbstractFilter over from PIXI 2
Hi, I have to start out by saying GLSL is not my strong suit, but I found this nice effect https://codepen.io/davidhartley/pen/seEki I'm totally digging this and would like to use something similar in...
View Article