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

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 Article


Image may be NSFW.
Clik here to view.

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


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

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

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


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

Image may be NSFW.
Clik here to view.

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

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


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


Image may be NSFW.
Clik here to view.

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

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

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

Image may be NSFW.
Clik here to view.

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


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

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


Image may be NSFW.
Clik here to view.

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

Hatch pattern

Hi all,   sorry for this trivial question.  How can I apply a hatch pattern on resizable Sprite?   Many thanks,   Bye

View Article


Image may be NSFW.
Clik here to view.

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

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

Image may be NSFW.
Clik here to view.

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