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

Performance question

Hi everyone, I have a question, I think there maybe a question like mine posted somewhere, I tried to find but can't have a good answer. In my scene, I have a lot of picture, I use Sprite.fromImage to...

View Article


Pixijs Graphics DrawPolygon as Mask

I am using PIXIJS  Canvas Renderer  and  trying to apply a graphics polygon as mask in a sprite. When add graphics polygon as sprite.mask, i am getting blank canvas. Am i missing something or its just...

View Article


Struggling with GC in big project

We are working in a pretty big project. around 10 different games all playable in the same pixi container (not at the same time though). I have a few questions regarding garbage collection: When...

View Article

Dissolve Shaded

Hi all, Would it be possible to create a dissolving filter effect similar to http://kylehalladay.com/blog/tutorial/2015/11/10/Dissolve-Shader-Redux.html with Pixi? I'm no expert on shaders but would...

View Article

Performance overhead of PIXI.Container

Hello! I was wondering if `PIXI.Containers` have any associated performance overhead. Take the following examples: Example #1: Extending Container: class SpriteTile extends PIXI.Container {...

View Article


Purpose of custom Loader instances

Hello! As a relatively new Pixi.js user I have been experimenting with loaders and had a few questions mainly regarding the ability to instantiate custom Loader instances. Pixi provides a default...

View Article

Doe's PIXI accessibility work at all?

I'm checking out this http://www.goodboydigital.com/pixi-becomes-accessible/ and the demo. I can't see it working. I see no 'HTML layer that sits over the top of a Pixi renderer'. Was this canceled...

View Article

Too many graphics is too slow

Use Pixi to make a paint app. when mousemove to draw a circle or line or other graphics. If a graphics has more than 1000 items, the fps will be 30 - 40, may be more lower. Is this a wrong way to make...

View Article


How to cull objects out of camera view?

I know this has been asked a few times, but I cannot seem to get it to work in my implementation. I use this code to control the camera: stage.pivot.x = user.position.x; stage.pivot.y =...

View Article


What is the logic behind `sprite / graphic / sprite / graphic is slower than...

Here: https://github.com/pixijs/pixi.js/wiki/v4-Performance-Tips it says Quote Being mindful of this order can help, for example sprite / graphic / sprite / graphic is slower than sprite / sprite /...

View Article

Pixi.js Showcase

Made anything cool with pixi.js? Post it up here and share it with the world! Whether it's a cool game demo, a fully fledged website or some tripped-out crazy experiment, we would all LOVE to see it!...

View Article

How to win at PIXI.extras.BitmapText ?

hi, I'm trying to get bitmap fonts working, with little success. Now, the font that the pixi example uses, does work, e.g. -...

View Article

When to use Bitmap Text & Text?

Bitmap Text gives much better performance for dynamically changing Text. (source) Text has more attributes and is easier to change it's style. Bitmap Text has better better performance but static when...

View Article


Correct way to remove sprites / container

Hi, i wondering what is correct way to remove container ? Is it enough to call destroy function on container, or do i need to remove each sprite first. And what about removing container from root...

View Article

Good resources

Is there a good book for learning pixi.js? And other learning resources.

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

Image may be NSFW.
Clik here to view.

How to clean up Graphics.generateCanvasTexture() calls

Hello. I'm drawing charts with Graphics.generateCanvasTexture() every frame. I need exactly canvas renderer due to antialiasing. The problem is browser's memory usage going from 200Mb to 1.2Gb in mere...

View Article


Get pixeldata in a webgl?

hi.   Can image or container or basetexture can get pixeldata like imagedata? I wanna spawn particle on part of drawing position. so I wanna get pixeldata from image like sprite, container, texture or...

View Article

Image may be NSFW.
Clik here to view.

TexturePacker Animations Problem

Hi all, been trying to use the .animations feature of texturepacker for a small animated icon, but for some reason It's not finding the animations object even though it's detected and visible in the...

View Article

Sprite's containsPoint method check alpha

Hello! `Sprite` support `containsPoint` method, But it just check the point is in the sprite area depend on width and height not by imageData. For example, if the sprite image is a totally transparent...

View Article
Browsing all 3978 articles
Browse latest View live


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