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

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 Article


problem 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 Article


Update 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 Article

Cross 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 Article

physics 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 Article


Text 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 Article

Draw 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 Article

Optimizing 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 Article


problem 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 Article


Lagging 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 Article

Image may be NSFW.
Clik here to view.

PixiJS: 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 Article

Pixi 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 Article

pixi-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 Article


Image may be NSFW.
Clik here to view.

pixi-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 Article

Iceoh - 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 Article


Using 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 Article

ParticleContainer 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 Article


CanvasRenderer 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 Article

Texture 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 Article

Cells 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
Browsing all 3978 articles
Browse latest View live


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