Filters on containers in pixi-layers
I have an application with: * multiple groups of sprites currently organized into containers * one or more filters applied to each sprite group * groups and individual sprites that overlay each other...
View ArticleProblem with rendering card movement
I have several simple multiplayer online games, and last two of them are card games. Several users complaint about very slow and annoying card movement, while others (including me) claims that all...
View ArticleIs it worth adding pixi.js to my skills
I am a real newbie. I just finished the excellent book Foundation Game Design with HTML5 and Javascript by Rex Van Der Spuy. The book has taught me a lot about making game maps from 2d arrays,...
View ArticleSoftware Developer needed for Project - $4000
We are an education publishing company located in the US and are in need of extra help to extend our line of WebGL based games and activities for students. We currently have a project ready to start...
View ArticleLines not being drawn with lineTo
I've been creating a game with Pixi.js v4.5.5 (from 25 Aug 2017), and decided to upgrade to the latest version, v6.1.3 (13 Sep 2021). After doing so, a part of my code related to drawing a line every...
View Articlepixi-lights in isometric scenes, sprite Masks
Hi, I'm currently making a small isometic demo using pixi-layers and pixi-lights. I got stuck trying to prevent a PointLight from affecting a Sprite if the lights y-coordinate is lower than the...
View ArticleRenderTexture border aftifact
I am rendering a container to a texture. Following this tutorial:http://scottmcdonnell.github.io/pixi-examples/index.html?s=basics&f=render-texture.js&title=Render Texture From what i can tell...
View ArticleHow to import Dragonbones inside Pixi.js (error PIXI is not defined)
Hello everyone ☺️, I am new here but I have been using Pixi.js for several years. I am currently working on a new project and have to use Dragonbones. Because I am writing a new project with modules...
View ArticleIncorrect calculations related to FPS
I'm trying to make an object rotate constantly, with the speed of 3°/sec (360° in 2 minutes). The code should be pretty simple: let object; function setup() { ... object = new PIXI.Sprite(...);...
View ArticlePixijs image warping
Hi guys, I'm new to pixijs, i'm working in a project need to working with psd file I try to recreate a smart object in canvas, i have an input mesh points from reading psd file, but i don't know how...
View ArticleFailing to load custom font using PIXI.loader()
EDIT: I just realized, that importing the normal font as a .woff2, defining a `@font-face` within css and then use `fontFamily: fontName` kind of works as well. One more problem though, the font is...
View ArticleImport error using Typescript + web-dev-server to resolve bare imports
I just updated to v6.2.0 and I am now trying to get bare imports working with web-dev-server. I'm sorry if it's a bit out of PIXI scope, but I believe others using this library might run or have ran...
View ArticlePixi Event System - Remove onWheel event
Hello there ! I'm currently working on some optimizations for a project that shows a large view that can be scrolled using a native wheel event on the canvas. This is working as expected without using...
View ArticleDoes using gsap impact pixi.js animation performance?
Hi. Thanks for your great forum! I am working on an application which will be used to create online tutorial animations. I have used React, pixi.js and GSAP timeline for making these animations. The...
View ArticleMake a scrollable field
Hey guys. For my mobile game I need to make part of the screen scrollable (The marked space in the picture). Does anyone have an idea on how to do that? Thanks in advance! scrollable
View ArticleDraw frame over a child
Hi! I would like to draw a node that hold its children in the way shown on the gif. The problem in the border: it would be great if the border shell draw over the child. How can i get it? My code:...
View ArticleHatch pattern
Hi all, sorry for this trivial question. How can I apply a hatch pattern on resizable Sprite? Many thanks, Bye
View Articlepixi 6.2.0 blur filter artifacts near edge of window
Hello! I'm having an issue where the blur near the edge of the window is behaving inconsistently. Anyone know how to fix this? ^The screenshot with the frowny face shows a bug where the black shadow...
View ArticleAnimation Trouble
var deltaX = ship.x - object_sprite.position.x; var deltaY = ship.y - object_sprite.position.y; var radians = Math.atan2(deltaY, deltaX); // In radians // Set postion exactly to server...
View ArticlePIXI.gif.AnimatedGIF.fromBuffer
Mambo vipi, fellow devs- I was wondering if anybody here has any experience with Pixi.js's PIXI.gif.AnimatedGIF runtime object, and its fromBuffer() method in particular? I have the following code:...
View Article