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

Displaying part of a Sprite and change displaying part of Sprite. Making...

Hi. I have a really long graphic for a progress bar and I want to render only a percentage of it. It has to change over time. How can I display chosen part of a Sprite?

View Article


How to clear Pixi’s Graphic Primitives

Pixi.js how to clear the square before painting

View Article


Create svg and animate on scroll

Hi Just starting with pixi (and canvas). Looking to create something similar to this ribbon effect on mobile http://beta.rallyinteractive.com/ Any advise, can this be done? any tutorials available?...

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

How to enable/add a Bicubic scale filtering?

Hi. How to enable/add a Bicubic scale filtering?

View Article


Questions on prepare plugin

Asking again about prepare plugin just in hope that someone adds new information on subject. Some time ago I started topic  and the problem stiil exists, I tried to use prepare plugin in different...

View Article

Make movieclip from several atlases and play it whithout lags

In my project I have some animations which made from too many frames, and on machines with weak videocards I am getting error with MAX_TEXTURE_SIZE and animation shows as black rectangle. To avoid...

View Article

Remaining the same speed when switch to another tab

Hi guys, Recently I intend to keep my game running at the approximately same speed while the player switch to another tab, it means I need to keep my movieClip(animatedSprite) and Tween object(I am...

View Article


Possible bug report

I a having trouble with the interactive elements in the minified version of pixi 4.0 To give me a fake input box  i have an input box at the end of my dom that i make focused to take keyboard input so...

View Article


Image may be NSFW.
Clik here to view.

Ribbon animation on PIXI.js

Hello guys,  I need you help. Do you know how to do a ribbon animation on PIXI.js? B I saw a lot of example on CSS3, but no example on pixi. Maybe I search in a wrong way.  But I need 2D version, not...

View Article

Someone steals focus from hidden input in chrome

I have pixijs webgl app with some inputs. I have an input which uses native html input which placed out of scene and dispatches some events to my input and so on (like old pixi.input project)...

View Article

Rotated Text collision

Hi everyone! I have several Pixi.Text objects floating in my Pixi container. var style = { font:"22px Verdana", fill:getRandomColor() }; var text = new PIXI.Text("My text", style);...

View Article

Image may be NSFW.
Clik here to view.

How to delete this square?

What is the method of pixiJS to delete the square?

View Article


Question: Interacting with paths?

Hello.  I am very new to PIXI, so please bare with me. I have been in search of good API for my game.  The game uses a map which contains tiled images as well as a bunch of path on the screen.  Think...

View Article

Remove child

So i am trying to orbit a small sphere around a bigger sphere like so:     var orbit = new Sprite(loader.resources.RedB.texture); stage.addChild(orbit); orbit.anchor.set(0.1, 0.1); orbit.position.x=...

View Article


Help - Some clarifications about DisplayObject.toLocal and how it will fit my...

I am a little bit struggling here. I was tasked to create an infinite platformer. Its just a jumpy jumpy toon and its world structure is tile based. Imagine a flappybird that goes upward instead of...

View Article

AttachShader pixi.js error

Sometines I have TypeError: Failed to execute 'attachShader' on 'WebGLRenderingContext': parameter 2 is not of type 'WebGLShader' in pixi.js: 3936 (Ver 4.0.0). This appears few times in a week and I...

View Article


Basic triangle mesh with vertex colors

Hi all,    I'm brand new to Pixi. I've built a 2D grid control in Canvas, and would like to see if I can improve performance by leveraging webgl. I have experience with OpenGL and Pixi seems to be a...

View Article

Image may be NSFW.
Clik here to view.

vTextureCoord and custom filters on Pixi v4

Hi guys! I'm trying to figure out how to apply some custom frag shader into a filter. The intented effect is a simple crt warp over a sprite. Here is what I got so far:...

View Article

Problem with pixi

Hi, after updating chrome (57.0.2987.110) all pixi examples with pixi version <= 3 are not working anymore. (= The animation/render loop is updating in the background but I don't see the updated...

View Article
Browsing all 3978 articles
Browse latest View live


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