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

Text V BitmapText Performance?

Hi all Latest project I've been using a mix of bitmapfonts and pixi text (mainly bitmap fonts for the stylised displays, and pulling google fonts for the rest).  One quick query.  I read somewhere...

View Article


Interaction Manager hitTest Example

Hello all,   I am relatitvely new to PixiJS and indeed this is my first post to the forum. I'm aware that PIXI does not have the ability to perform collision detection and that to do so you need to...

View Article


Draw a lot of tiles to make one object

Hello! i've been trying to build my level scene from a lot of small rectangular tiles (it's important for the game to be this way from an aesthetic point of view). however, when i use this classic...

View Article

Image may be NSFW.
Clik here to view.

Generating alpha texture by combining RGB jpg and alpha mask jpg

Hi, I am trying to generate transparent textures by combining JPG images (RGB + alpha mask). Example: I have a quick implementation of it here,...

View Article

Pixi Texture Atlas Animation Library suggestion

I come from the Phaser world but have recently been working on a new application using PixiJS v4.5+ I don't like the pixiJS sprite sheet example and really would like to find a solution to handleing...

View Article


Lag on the first play when swapping animation using onComplete callback in...

I've loaded two animations in Pixi with spritesheets. I wanna swap to second animation right after the first animation is finished. Quote animation0.onComplete = function() { // animation0 and...

View Article

ticker first deltaTime is larger

app.ticker.add(function(delta) { console.log(delta); // first log will be 5 or 6 // then 1.xxxx }) Hello! How to prevent this? is this a bug or a feature?

View Article

pixi pointerevent currentTarget = null ?

Hello everyone! I have pointerover event and i want to get the element i point on (hover on).But when i use event.currentTarget , it is null,also  tried with event.target which is also null. Any...

View Article


zIndex + updateTransform doing nothing, sortChildren doesn't exist?

I'm confused. It seems to me I'm doing what the docs say. But zIndex still seems to do nothing. From the docs: Quote The zIndex of the displayObject. If a container has the sortableChildren property...

View Article


Image may be NSFW.
Clik here to view.

BitmapText Pivot & Kerning

Hi, I was just wondering if anyone knew of an easy solution to this... I have a text display using bitmap font I was looking at animating per character, I can get a target to animate via gsap for each...

View Article

Getting a pixi-tiledmap error when trying to load a bitmap font?

I created a bitmap font using littera I have pixi-tiledmap installed to load maps When I add the .fnt file into my loader, I get an error, which seems to be coming from pixi-tiledmap...

View Article

How do I handle extra large sprite sheet correctly

I use sprite sheets to take care all the animations in a web game. I have some really big sprite sheet with a size of 14450x5406 and the game will be so laggy when I'm trying to render this into the...

View Article

About loaders, can I set different query strings for each spritesheet to be...

Hi there, How can I load a list of sprite sheet with different query string e.g. image01.json?a01 image01.png?a01   image02.json?b02 image02.png?b02   before I use PIXI.loader.defaultQueryString to...

View Article


Pixi.js and Angular2

Hey y'all, I made a package that I have been heavily using and honing in a game I'm working on. It allows you to use markup to create PIXI scenes. I'm hoping it'll help someone out there (and help...

View Article

Low fps with 2-3k static circles

Strange thing i discovered. My game draw a lot of circles, i draw them once, they don't move. With ~1k visible circles fps is perfect but once more circles appears on screen fps starts to decrease....

View Article


Image may be NSFW.
Clik here to view.

Vue + Pixi v4 events do not work

Hello everyone! :) I'm new to Pixi. And I am trying to develop a simple blog with Vue and Pixi. On screenshots you can see how I'm trying to set event listeners on sprites. Despite the fact that in...

View Article

Discord server?

Hey all - was just wondering if html5gamedevs had a discord server, or if anyone had found a good one for pixi devs?  Just thought it could be a nice place to float the odd question or showcase bits...

View Article


Keyboard events

Newbie Developer here.  I'm working through the examples and I'm learning so much! I'm to the point where I would like to make my sprites move. I'm learning on PC (Windows) so I need to capture events...

View Article

Place Sprite Over All Other Sprites?

Hi, I tried to find this in the docs, but can't. How do I tell PixiJSv4 to place a sprite over all other sprites? Thanks! JeZxLee

View Article

Using Webcam with Pixijs v4

I'm trying to create a Sprite using PixiJS v4 (or v5?) but feeding a texture from a Webcam (a MediaStream) into it. It doesn't seem to be possible. An old 2017 thread has a link to an example that...

View Article
Browsing all 3978 articles
Browse latest View live


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