General documentation help
I love pixi.js, however I think some of the documentation is unclear. I see the same questions asked over and over so I don't think I'm alone. I'm a native english speaker and would like to help...
View Articleproblem in sprite height
Hi. First of all, I want to thank the members of the Pixi.js team for developing this great library. My problem is in using sprite height. For example, see the code below. let onKey =...
View ArticleUpdate text in PIXI
When updating PIXI.Text do I have to remove it and create again. I've read the docs but couldn't find another way. Am I missing sth? Like we can just use clear() for updating a rectangle.
View ArticleCross origin problems with video
`Failed to execute 'texImage2D' on 'WebGL2RenderingContext': The video element contains cross-origin data, and may not be loaded.` How to fix this? The response header for my video delivered seems to...
View Articlephysics library
Please tell me, what is the best physics library for Pixi.js or commonly used and do they all work with pixi.js v5?
View ArticleText in between two images
Hello, sorry for the beginner Question, currently I am beginning using Pixi and it's quite overwhelming to start with. I created a fake 3D image with the help of a replacement map: let app = new...
View ArticleDraw big map pixel by pixel.
My game have map auto generator that make an unlimited map pixel by pixel, i tried to draw it pixel by pixel using graphics that was so slow! so i tried 2d canvas and drawing chunks asynchronously...
View ArticleOptimizing pixi viewport layout
I am using pixi.js to create an interactive grid. This grid is composed of PIXI Graphics rectangles. I am now creating a layout of 25000 rectangles and the browser is having a hard time to process it...
View Articleproblem in chrome on MacOS - stretching and scaling image
Hey. I have a big problem. This behavior was seen only in Chrome macros. I have several containers with sprites, only one is displayed at a time. Multiple 1920/1080 sprites are simultaneously in the...
View ArticleLagging in simple navigation
Hi, I have this code who lag when I drag it for navigate in the map. Same for zooming with the mouse wheel. What's the best way to avoid it ? https://codesandbox.io/s/sad-firefly-hgjnu Thanks
View ArticlePixiJS: SpriteSheet Tutorial
I've just created a short tutorial for PixiJS that explains How to create & use sprite sheets with a few mouse clicks Use animations from sprite sheets (much easier than enumerating all sprites...
View ArticlePixi Particle Attraction/Repulsion to Mouse Help
Hi so i cant seem to figure out how to calculate the mouse position relative to randomly created sprites in a particle container so I can create a attraction or repulsion effect when the mouse cursor...
View Articlepixi-viewport examples
Hi all, I'm embarking on making a simple game that involves having a map. I want the player to be able to zoom in and out and drag around the map and select things. I after a quick look at various...
View Articlepixi-tilemap error of texture
Hello , I try to implement pixi-tilmap to may vueJs project and I have an error message on my chrome console is it someone here to tell me what's the problem ? I think it's maybe a path problem...
View ArticleIceoh - Library for 2D and Isometric tilemaps
Hey everyone! I've been a lurker for a while, but joined up to shamelessly plug my new library I built for my own PIXI projects. Hopefully someone else will find it useful too. I wanted an...
View ArticleUsing Canvas Renderer
I have an issue where I am trying to dynamically render multiple UI components in an Electron application. I am using a separate application instance for each of these UI components and eventually I...
View ArticleParticleContainer with viewport
Hi ! I try to use particleContainer with viewport but it don't seem to work together . Maybe just a bad code line ? https://codesandbox.io/s/quirky-bird-hjq5o?file=/src/App.vue
View ArticleCanvasRenderer RenderTexture not cleared
There appears to be an issue with clearing the context when rendering a container to a RenderTexture while using the CanvasRenderer (PIXI-legacy v5.2.4). Consider this...
View ArticleTexture from Graphics on v5
Hi there! I'm migrating my engine from v4 to v5, but I am having problems using a graphics object as a texture. Any ideas? const graphics = new PIXI.Graphics(); graphics.lineStyle(...
View ArticleCells Map
Hello. I have an idea with procedural map generation with rectangle cells (honestly, I've choosed to move from clean canvas render to PixiJS) For example I have map 100x100 with 30px cells. That means...
View Article