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

Image may be NSFW.
Clik here to view.

Pixi.js for a Childrens Book App Strategy

Hello, What I have done so far, Thanks to this awesome library. Developing a children's book with Pixi.js and cordova. I just want to reach out to the pros to get some input on my approach on things....

View Article


how does game like surviv.io work

Im trying to wrap my brain around the internals of game like surviv.io. As i know it uses pixi.js for rendering. The whole map is enormous with many players doing their things in diffrent parts of it....

View Article


Draw lines and add gradient

Dears all, i've develop a slot with the winline animations, my main problem right now is related to the style. So, i'm showing flat winlines but i would like to add some gradient (not texture)....

View Article

Correct way to manipulate colors pixel by pixel

I'm trying to to set the color of pixels one by one. I have a matrix with all my value, calculate by some function to assign a specific color. Actually i'm using the Geometry Rectangle with size 1x1,...

View Article

Mouse events on Bezier/curved line

I understand we cannot attach mouse listeners for Graphics lines right now. But there have been work arounds for lines e.g creating a rectangle graphic and making that selectable. What workarounds...

View Article


Smooth Preloader

Hi, we're building a slot game that loads 15-20 texturepacked images, 20+ sound files, and maybe a dozen spine files. Some of these are obviously bigger than others, and so due to the nature of...

View Article

V5 to V6 event issues

Hello,   I recently did update PIXI.JS from 5V to 6V, however I got some issues with events: FIRST, InteractionManager in V5 has a "on" method in order to subscribe to specific events such as...

View Article

rightclick event for pixi v6

Recently I have upgraded the pixi version of my project to 6.0.2. The first thing I noticed is that I can no longer get the event name hint by typing XXX.addListener() on DisplayObject. With pixi v5,...

View Article


Formatted Text & Text Orientation

Do you guys have any plans on text formatting functionality? Being able to have different text styles in one Pixi text object. For example:  This is a bold string and an italic string as well as the...

View Article


Can pixi.js(with webgl) play on ps4 or xbox360?

hi. guys.. i'm wondering ps4 and xbox360 can play with webgl by pixi.js .. please give me tips   thx^^/  

View Article

Caching frequently rendered elements

Hey, i'm making a music composer for a webapp, i'm using react-pixi to render all the information that i need for the song, they are basically made out of columns with inside of it the single notes,...

View Article

Image may be NSFW.
Clik here to view.

Rotation produces jagged edges

Rotated sprites have jagged edges. I have tried enabling `antialias: true`, and while it had an effect on drawn graphics, it had no effect on the rotated sprites. My application correctly responds to...

View Article

Trying to pre-load assets but when the scene changes the _uvs are null

I'm loading the assets before creating the Game and I store the loader in a context so that every class can use that scene loader. Th first time such a scene loads everything works fine, but when the...

View Article


Image may be NSFW.
Clik here to view.

PIXI adding bigger animatedSprite cause stutter

Hello, html5 freaks I trying to make idle game using pixijs, but when I put animated sprite that is 1024x512 in size it freeze game short time. From profiler I saw  that texImage2d took 180ms and from...

View Article

How can Pixijs loader preload Blob data as well?

Hi, so I am using Pixijs to load images and other assets but I also want it to load my own proprietary map format as a standard byte array.     PIXI.loader       .add(TILEMAP_DATA, { xhrType:...

View Article


Scale shapes without scaling borders?

If I have a collection of shapes (rectangles in this case), how can I scale my entire scene without the border widths changing? I'm trying to create a zoom feature and my scene is essentially a...

View Article

Image may be NSFW.
Clik here to view.

What to do about edges between tiles?

I'm building a grid of 64x96 sprites, laying them out at x * 64, y * 96, such that they should theoretically be seamless. However, some artifacts are appearing in the seams between sprites (image...

View Article


Use a webgl context from a third party library?

Hi, I just joined this form and am very new to the webgl development, so my apologies in advance if this is a question that does not really make sense.  I am currently trying to use PIXI.js with a...

View Article

Image may be NSFW.
Clik here to view.

Re-using a line graphics

Hi , I'm new to PIXI and I'm trying to create a dynamically changing column of lines using PIXI v5 . Lets say I would like to have 4 lines that will be placed in 10 vertically aligned positions. The 4...

View Article

Image may be NSFW.
Clik here to view.

PIXI.js : Blur / pixelated sprite

Hi,  Having a very basic issue but can't seem to get the right solution. Currently, i have a canvas size of 16:9 854x480 (480p) and we place a single large sprite on it.   We adjust the height and...

View Article
Browsing all 3978 articles
Browse latest View live


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