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

Load sprite sheet with embedded JSON data.

Hi, The client's AD server restricts the type of files so we could not put external JSON files. We would like to embedded the JSON data in JS file but no idea how to parse the sprite sheet with it....

View Article


Image may be NSFW.
Clik here to view.

is there tip to draw emissive image?

hi. i wanna draw emissive image or looks like emissive image   emissive image on u4   no emissive     could you tell me some tips? thx..

View Article


Export PIXI.Sprite to image

Hi guys, Is there any option, how to export PIXI.Sprite to base64 image? I can do that with canvas inside of sprite, but when I apply some filters, they are not reflected to generated file.  

View Article

Image may be NSFW.
Clik here to view.

Wrong drawing before not loaded basetexture

hi.  show first images Wrong drawing. this is loading basetexture. maybe it is using empty_texture automatically because basetexture is not loaded(it's loading to use) but i don't know why drawing...

View Article

PIXI.Graphics clearRect() ?

Hi! I'm wondering is it posible in PIXI to erase some area of Graphics object? Something similar to canvas clearRect() method.

View Article


Reverse spine animation?

Hi, is there any way how i can play spine animation reverse? Thx

View Article

Redrawing a graphics object in a different color problem

It appears a basic bug sneaked into version 4 or maybe there is something I don't do right. Consider this fiddle: https://jsfiddle.net/g7tqghp5/2/ A basic case drawing a rectangle, clearing it and...

View Article

Canvas on resize - keeping the same viewport

Hello, Because of performance and blurry text/image issues, I turned my fixed canvas resolution to a canvas with width/height dynamically equal to window.innerWidth/Height on resize. Admitting the...

View Article


IOS 8-9 inline video

Greetings I'm new to Pixi and I was under the impression that ios 8-9 can play inline video with webgl render texture. However everything works in desktop but in ios it still opens up native...

View Article


uniforms are not updated on v4 rc3

hi.. following link is examplehttp://jsfiddle.net/gbear/n0kzcjyu/20/ i set mark of uniformsd it has like following code   Quote     uniforms.mark= {         type: '2f',         value: {             x:...

View Article

Weird FilterArea's size on v4

hi. i'm testing v4. and i create custom shader  sprite is created by texture size is using 628x572; and filterArea is set automatically to 1024, 1024; so i can't calculate correct vTextureCoord....

View Article

Renderer (canvas) to image?

Hello! I have a simple question:How to save the renderer as an image? I tried canvas.toDataURL() method: canvas = $('#gamearea canvas').get(0);image = canvas.toDataURL("image/png", 1);But the result...

View Article

Image may be NSFW.
Clik here to view.

DisplacementFilter not repeating when moving displacement sprite

Hi everyone, and happy v4! I am having some problems with my DisplacementFilter, after updating from v3 to v4. In v3 when I moved the displacement sprite, it would loop just like a TilingSprite, when...

View Article


how to play multiple frame sequence one after another in same movie clip

frame = animations[animations.selected]; At runtime i'm fetching currentFrame in ticker. And checking if currentFrame === frameEnd then performing gotoAndStop(37). Now problem is when 1st sequence is...

View Article

Dragonbones or Spine?

For creating new artwork to use in PIXI - like talking head animation type stuff that runs for a while but uses the same base textures... is Spine or Dragonbones more supported? The idea is assuming...

View Article


Change children transform

When transform is added to parent, it's also added to children right? In some case I don't want this - I want to control my self, how children reacts when parent transform is changed. Can I do that?...

View Article

Pixi.js sprites offset when dragging

View the jsfiddle demonstrating the issue (just click and drag the circle - relevant code on line 102). When I add a circle to the stage with Pixi.Graphics and drawCircle( 150, 100, 50 ), the circle...

View Article


Make sprite seem disabled

Hi, I'm trying to make a sprite for a button look disabled using filters. What I was originally thinking was something like the GrayFilter in this example...

View Article

Weird offset bettween Graphics and DisplacementSprite

Hi I am using a displacement map to distort three graphics lines. And since the lines have a speed, I need to move the displacement space at the same speed as the points, which define the lines. I do...

View Article

Uncaught SecurityError: Failed to execute 'texImage2D' on...

Hi Guys, I recently using the last version of PIXI.js (1.5.1) and we are dealing with some problems with particular texture (that texture is in another host). Uncaught SecurityError: Failed to execute...

View Article
Browsing all 3978 articles
Browse latest View live


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