Quantcast
Channel: Pixi.js Latest Topics
Browsing all 3978 articles
Browse latest View live

Basetexture image resource source update on the fly

Hi, I am trying to update the basetexture source with different images at different points in my game. In pixi 4 it was easy, we could use  BaseTexture.updateSourceImageO , but in Pixi 5 we dont have...

View Article


Image may be NSFW.
Clik here to view.

Bizarre lineStyle Behavior

Hello!  I'm new to this forum but I had a burning question that I can't seem to solve and was hoping to get some sort of help. I'm trying to write a function to animate a bezier curve that changes...

View Article


Mipmap and textures POT

Hi -  I've have a couple of questions concerning assets handling. Is there any kind of benefit in using POT sprite sheets?  Also, when does mipmapping comes in to play? When do I need it and in which...

View Article

Image may be NSFW.
Clik here to view.

Video Texture is green on firefox

Hello... Have noticed the the video texture displays green when pixi is running on firefox. Works fine on chrome. Find a link of the fiddle below https://jsfiddle.net/zodiacleo/nvb7eh1x/ Chrome Firefox

View Article

Image may be NSFW.
Clik here to view.

text boundaries are not showing currectly

the text edges/boundaries are not showing correctly when I'm using new some fonts,  the red rectangle is a separate sprite was created from the getBounds() method of text object

View Article


How load texture manually

Hello. I use pixiJS. But sometimes I have users with bad internet connection.                 if(is_preload) {                     if(typeof _user.system.res_list['1_texture'] === 'undefined'...

View Article

Image may be NSFW.
Clik here to view.

Choppy frames when running in Chrome ( MacOS )

Hi, I Recently discovered Pixi JS and have to say, I am a big fan. For a first project with the framework I thought I would create something fairly simple and go for a breakout type clone. The whole...

View Article

Image may be NSFW.
Clik here to view.

How to speed up Pixi.spine.Spine instance?

Hi guys, i'm using pixi.js (ver 3.0.7) with plugin pixi-spine.js (version 2.1), everything works fine but when I tried this:var test = new PIXI.spine.Spine(res.spine.spineData);test.animationSpeed =...

View Article


Image may be NSFW.
Clik here to view.

Converting graphics to sprites results in an unexpected texture?

Hi, I am currently trying to convert pixi graphics to sprites for performance improvements. I have the following code.   const graphic = new PIXI.Graphics(); graphic .beginFill(0xFFFFFF, 0.5)...

View Article


Image may be NSFW.
Clik here to view.

[PIXIJS] Pixi-Particles - White mask change blendMode to ADD

Hello pixijs users & devs   I encounter an issue using PIXI-Particles. For some reason my ParticleContainer changes blendMode for all particles if one of the particle is using MASK_0 (White mask...

View Article

Timeout on PIXI.Texture.fromURL?

Hi all, I'm currently working on a web project, where I need to display a vast amount of markers on a map. I am using a package called leaflet-pixi-overlay, which lets one add a PIXI overlay on top of...

View Article

image texture dynamic transition

Hello, I am trying to create a dynamic transition from one image texture to another shape and not a created mask transition. In short I am trying to create the effect show on the link below.  and one...

View Article

Is there any way to add/change fill color after creating Graphics?

Hi,  I am currently creating a polygon geometry with PIXI.Graphics.  As one of the requirements of our application, we need to add fill color after we create a graphic.  Is there any way to do it?...

View Article


Help tracking down GPU memory leak

Hi all, I'm having trouble tracking down a GPU memory leak. I'm using chrome's process explorer to see how much memory my game/tab is taking up. Every time a user starts a new level, it adds about...

View Article

Force Pixi Loader to ignore cached spritesheets and always load again

During development, I'd like to Pixi Loader to always load latest spritesheet images and ignore cached files. I can do this to other assets like JS files by adding Date.now() to the end of the URL....

View Article


Image may be NSFW.
Clik here to view.

When Alpha Filter is used in combination with a custom filter it gives...

I have a particular combination of Containers and Sprites in which Alpha Filter and a Custom Filter (Blend filter) are applied on different nodes of the subtree For this combination I'm getting...

View Article

Image may be NSFW.
Clik here to view.

Need help on Pixi demo spinner

Hello, I need some help of the demo displayed on this page.https://pixijs.io/examples/#/demos-advanced/spinners.js (Latest development version, maybe it's 6.0.2 at the moment) They called it spinner,...

View Article


Problem on sprite rendering

I am creating a mobile app with using ionic capacitor and pixi.js. I am encountering a problem about rendering sprite. I have created a sprite, added it into the stage of the PIXI application. When I...

View Article

What does frame, orig and trim mean in texture?

Hi all. What does frame orig and trim in PIXI.Texture Constructor mean? Tried to find some docs regarding this but could not.

View Article

How to fix the issue of Rotating an image creates edges with step function...

https://www.pixiplayground.com/#/edit/S7NG33DBu7qaiWSj0Br3R The rotated image edges are not smooth. Why does this happen and how can I fix this?

View Article
Browsing all 3978 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>