pixi-sound not playing all sounds
Hello everyone, I am using pixi-sound in my game and have a very strange problem - some of the sounds are not playing, even though pixi says that they are. This is what I get when I use...
View ArticleDisplacement Map Question
Hi, I'm using the DisplacementFilter in Pixi.JS v5. I would like to understand exactly how displacement map images displace pixels. As they are normally grayscale, I'm wondering what the color value...
View ArticleConfusion with generateTexture and region argument
I'm trying to mask a photo and then capture the image. But I don't want to capture some giant texture, just a small region around the mask. Here's a gif which shows the issue quite clearly (excuse...
View ArticleChrome Browser Action Set Icon With PixiJS Sprite
I am attempting to set a PixiJS animated sprite as a chrome browser extension icon, but running into quite a few issues. Setting the app.view or app.stage as image data returns this error: Quote The...
View ArticleBaseTexture not update when canvas resource update on ios
I get a problem with PIXI.BaseTexture on ios, and i'm not sure it is a bug or i use it in a wrong way. I have a PIXI.BaseTexture with canvas resource, the BaseTexture update when first update canvas,...
View Articlecanvas update
i am rescaling objects using code inside the canvas room but instead of rescaling the current object a new one is being created above it i am using PIXI.Application but i dont see any option to update...
View ArticleImages not rendering on mobile
I am a game developer and recently made an update to one of my games when I tested it on mobile, one of the objects was just black, completely black. The object was very big, which might have caused...
View ArticleCombine multiple sprites into 1 sprite
I'am trying to create 5 sprites and combine them into 1 sprite only once. Then i create multiple objects and assign that 1 sprite to each one of those objects. My idea is that each object has 5...
View ArticleLoad sprites dynamically instead to load all at begining
Hi all, i'm having some troubles with loader and sprites.... I load all my general purpose sprites at begining without problems, they works fine, the problem appears when i try to load a new sprite...
View ArticleHow do i move animated sprites
Hi! Can´t figure out how to move a animated sprite. It´s easy with a static sprite but how do i do this with an animated one. In the example i manage to move the text but not the animated sprites....
View ArticleDuplicating HTML5 Canvas downscaling
I've noticed that when images and text are scaled down a lot on normal canvas, they look a lot better and more sharp than with default Pixi settings. How can I get images to scale down in Pixi in...
View ArticleHow to get velocity from a tween
Hi, My challenge: I have a platformer in which I have platforms moving based on tweens. When the player lands on a platform, I want to add the velocity of the platform to that of the player, so that...
View ArticleNeed help using PixiJS from npm
I need help understanding how to use PixiJS through npm to run the example on the Docs Index page.
View ArticleBetter Collision Detection
Currently, the Sprites in my game only have rectangular collision detection, but more complex shapes for their hitArea. This makes drag & drop very nice but I am wondering if the same is possible...
View ArticleStar rain
Hi! I´m a beginner regarding js and pixi and trying to learn some game dev at the same time. My aim is a simple space shooter and so far i´ve got a space ship as a animated sprite, i can move it...
View ArticleAccessibility DIV causing scroll bars
When pressing TAB, new DIV element is appended to dom which causes scroll bars. renderer.plugins.accessibility.destroy(); this seem to work but is there other way to disable it so it doesnt need to be...
View ArticlePerformance Problems Under "2D Graphics Editing Engine"
I am using Pixi.js to make a 2d graphics editing engine similar to Figma. The demand scenario is that users need to create up to 10k+ graphics in the Container and have free editing, grouping, and...
View ArticleSprite from buffer
I am trying to display an image that I get in the form of Uint8Array. /* width: 640, height: 360, data: Uint8Array(921600) [ 89, 72, 34, 255, 97, 80, 42, 255, 105, 93, 43, 255, 117, 105, 55, 255, 117,...
View ArticleRemove or Destroy Sprite
I am creating multiple sprites from same texture in PIXI v5, I have few questions: 1. When I am not going to use specific sprite anymore, do I need to remove the sprite from container with...
View Article2D Camera
I've taken a look at pixi-viewport and I really like it except for the ease drag part and the fact that it can't return a PIXI.DisplayObject that I can add myself to the stage and render it. t So...
View Article