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

Combining RGB from one texture with alpha from another

Hi, I need help to discuss an issue about merging together two defferent textures - one contains RGB data and is in JPG format, another contains only information about the alpha channel and is in PNG...

View Article


PixiJS mask is causing missing pixels

I'm pretty sure my lack of knowledge is resulting in the current behaviour, but I'm not quite sure where the issue lies. I have set it up such:   const pixiRegion = new PIXI.Container(); const...

View Article


RenderTexture performance issues

Hi there, I'm working on creating a casino slot game which has a lot of reels. The reels themselves are very heavy so I'm using a renderTexture for each reel to optimize. It helps a lot, but up to a...

View Article

Huge performance slowdown when using multiple Pixi.js ParticleEmitters

Hey all, I'm having some issues running a bunch of pixi particle emitters at once. I want about 24 to run in parallel, and I've adjusted the emitters to what seem to be pretty reasonable amounts....

View Article

Image may be NSFW.
Clik here to view.

Blurry text in Pixi.js

First of all I would like to say that I've read all topics and issues on github, related to this problem and it didn't help me. I've checked PIXI.RESOLUTION, antialiasing, different fonts (google web...

View Article


Using ScaleMode strings on Pixi v8?

On v8, the scale modes started being strings `'nearest'` and `'linear'`, as of migration guide. I'm not sure how/where do I set it, though. I've attempted to do `texture.scaleMode`, to add is as an...

View Article

Export my game as a single HTML5 file

Hello everyone. I made a game with PixiJS using webpack and now I need to export my game as a single HTML5 file but I am not exactly sure how it is done. I could not find any information on that. Can...

View Article

Pixi custom font not working

I am using pixi-legacy version 7.3.2 and I am trying to create text using custom font (.otf font file) and add it to the stage of pixi application. Down below is demo version of how I am trying to...

View Article


Pixi custom font not working

I am using pixi-legacy version 7.3.2 in my ElectronJS app. I am trying to create text using custom font (.otf font file) and add it to the stage of pixi application. Down below is demo version of how...

View Article


PIXI V8 texture.frame change not working

Hello guys,  updating texture.frame (Rectangle) of a sprite does not work for me, it used to work in v7x, please can you share some inputs? Playground example

View Article

PIXI.js Tilemap doesn't render when using MULTIPLY mode in the lights sample

Trying to add the simple layer/lights to a scene with a tilemap and when the lightSprite is set to MULTIPLY mode the tilemap just disappears. ADD mode works but the coloring is terrible. The following...

View Article

Pixi Text has inconsistent bounds

Hey there fellow devs, I have a problem with my current project, here are some infos to start with: Running on ODROID C4 / ODROID N2 Android 9 browser: Bromite 83.0.4103.93 arm64_SystemWebView Pixi...

View Article

Some testing tools for Pixi.js apps/games

As a part of my PhD research on visual testing for web games, I’ve developed (/begun developing) a couple of tools that might help when (visually) testing your games.  The first tool allows you to...

View Article


[PIXI.SPINE] Problem with unloading spine2d assets.

Hello, When I switch from battle system I try to unloadAll Assets. My code seems to destroy all textures the one's from spine2d, mp4, png. For some reason spine2d assets are still in garbage resulting...

View Article

Image may be NSFW.
Clik here to view.

RevoltFX - Particle and Effects System

The RevoltFX effects framework now runs with the latest PixiJS version (8.1.0).  https://github.com/bma73/revolt-fx We've also updated the examples https://github.com/bma73/revolt-fx-examples See a...

View Article


Strange behavior when using PixiJS 8 within a Vue.js component

Hello fellow forum users, I'm facing some problems when trying to load pixi within a vue component. In order for pixi to be available within the component, I declare new PIXI.Application() within the...

View Article

Improving Pixi Graphics Performance Especially When rendering Huge number of...

Problem Statement We have an app where we are currently using Pixi.js that allows us to render huge number of nodes with good performance ( 120 fps avg ). Now when applying borderWidth around the...

View Article


How to change Spine Data in pixi-spine? fast and recommended

Hi, I'm new to PIXI JS and pixi spine, I'm wondering if there is a way for me to make it more performant in terms of changing the spine data. What we currently have is adding the spine and removing it...

View Article

Pixi text does not update when there's another pixi text with the same text

Hi! When you change the text of a PIXI.Text to the same that another PIXI.Text already has it does not change the text, it keeps the old value. Or at least when it has the same amount of characters,...

View Article

Image may be NSFW.
Clik here to view.

Sprite attribute gets set to null apparently on its own

Hi I'm developing a space shooter game using PIXI.js. I have a GameScene class that creates an instance of a Hero object and several Fighter objects through a Fighters class. Once I detect a collision...

View Article
Browsing all 3978 articles
Browse latest View live