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

Displacement Filter causing Sprite Jump

I'm having trouble replicating this, but on some machines (OS X), in Firefox (latest), the mouseover interaction (see codepen) is causing the stage (the image grid) to jump a few pixels. Any insights...

View Article


graphics performance

Hello! i've found that a graphics have more than 300 graphicsData will be slow performance. But if seperate it to 3 graphics( a graphics have 100 grapchisData), it will be good. But why? Quote yeah,...

View Article


Image may be NSFW.
Clik here to view.

SDF Text

Hi, all -- I'm new to Pixi development. I'm building a GUI-heavy game (think sports team management), so looking at using signed distance field text, if I can. What's the latest news on SDF text in...

View Article

Image may be NSFW.
Clik here to view.

Texture atlas sprites not displaying incorrectly

So I'm messing around with Pixi.js and I'm trying to render sprites from a texture atlas and I'm running into some weird problems. I used TexturePacker to create the texture atlas and packed image...

View Article

bitmapfont, loader and resource already exist

I'm currently learning pixi.js and have hit a snag with the loader when attempting to load a bitmap font ERROR Error: Resource named "/fonts/IBM_BIOS-2y-16_0.png" already exists. I get this after...

View Article


Image may be NSFW.
Clik here to view.

Tilemap sprites have weird spacing.

At initialization I iterate over the tilemap and add the sprites accordingly: for y { for x { var sprite = new PIXI.Sprite(new PIXI.Texture(PIXI.Loader.shared.resources["assets/tileset1.png"].texture,...

View Article

PIXI.Loader with CORS

For loading some images I keep getting No 'Access-Control-Allow-Origin' in console. I noticed that adding crossOrigin: "" on object which I pass to loader.add() function will make it work but I heard...

View Article

Using a vector class with sprites

Hi, I'm new to Pixi.js and am wondering if it is possible to implement my own vector class with Pixi sprites, to simplify vector calculations. So far, Pixi.js has seemed really flexible so I thought...

View Article


How to add additional filters?

Hi community, I'm trying to add an additional filter to a sprite in Pixi v4 but somehow this only works when I add the filters at the same time like so: mysprite.filters = [new...

View Article


Image may be NSFW.
Clik here to view.

Pixi v4 textures from atlas cropped with WebGL on iOS.

We have atlas exported  with Texture Packer. Run-time every texture is cropped by 1 pixel. This pixel is added to the opposite of the texture. Likewise https://github.com/pixijs/pixi.js/issues/5087.

View Article

Container Height?

Hello, iam trying to add an texture in a Container. Now, i exept this container has inherit the texture Height. If i scale the Container Height it will be scale it with the Height of the full stage...

View Article

Animation of Font Size ? Resolution problem

Hello, i would like to animate  a text like "fly in". But the Problem is the Resolution of the animated Container(with Text).  I also tried it with Font-Size direct, but this snipped is also really...

View Article

What's the proper way to extend a Pixi.Sprite class?

We're trying to figure the best way to generate our own custom Pixi.Sprite classes in a webpack built, typescript included app.  What we're hoping to do, is something along these lines (which we've...

View Article


Image may be NSFW.
Clik here to view.

Transparency coming out as whites

A quicky.. does anyone knows why i'm getting some transparency rendered white?

View Article

Using Pixi to render to a BabylonJS DynamicTexture

Hi all, I have been playing around with Babylon and Pixi and wanted to combine the two to leverage the power of each.   I was using this as a reference to start with -...

View Article


Replacing sprite with one solid color?

Hi there, I've been googling this for a while but all I've come up with is how to tint the sprite which isn't the result I want (I've tested, it colorizes the sprite) So I was wondering if it was...

View Article

Image may be NSFW.
Clik here to view.

Replacing textures on runtime to high definition

I'm building my first Pixi game and working on basic services for asset management. My game should support few different resolution asset packs. Pixi handles this fine with resolution values and...

View Article


PIXI.Text caching with resolution

Is it possible to create PIXI.Text with resolution 2 and cache its texture to use with sprites later? My problem is that when I scale stage (zoom out), texts jitter and become blurry. That doesnt...

View Article

Help Needed: Improve performance

Hi, I'm new to PIXI.JS and I need a hand to increase performance to this. Basically, I'm using particle containers but when I'm adding more than 200 sprites, FPS drops to 30 / 15. ¿It is normal?. I'm...

View Article

Mobile Blur

Is there any information on canvas/webGL size causing issues on mobile/ios? I think this is the issue, but also am wondering if it has something to to with PIXI. What's happening is if my canvas gets...

View Article
Browsing all 3980 articles
Browse latest View live


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