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

Click the stage and have a sprite move to the clicked area

I feel embarrassed, but after doing a lot of research I can't seem to be able to implement this simple feature. Can anyone here who's familiar with pixi walk me through how I might accomplish this?...

View Article


Splitting Text

Greetings! I was wondering if there's a way to split text by character or by line? thanks  

View Article


2 renderers on same page (pixi v4)

I have a page with 2 canvases and both of them have their own renderer. After a while (about 10 seconds) I get an error saying: ERROR: 0:5: '' : array size must be greater than zero WebGL:...

View Article

Problems with renderTexture in PIXI4 - texture is not visible

Hi, I'm trying to migrate a quite large project to PIXI 4, and has managed to get most of it running fine. I have one issue still though, and have tried to reproduce it here:...

View Article

Autoresize PIXI.autoDetectRenderer to size of parent element

Hey everyone, first post here! I'm putting together a little web GUI using Angular2 and pixi, and I'm looking for a way to have the pixi canvas automatically resize to be inline with its parent...

View Article


Unable to pause video immediately on load?

Is there any way to pause a video immediately after creating the element with PIXI.Texture.fromVideo or fromVideoUrl?  It looks like it might be bugged currently, because under some circumstances the...

View Article

How to use a data object to create a spritesheet?

Hi, I am trying to use a data object to create a spritesheet/animation. The reason i am doing this is because I was using Createjs to create the project, but now i have been ask to convert the project...

View Article

how to get Render Texture to create a a png from multiple texture

Hello i created a code that uses pixi filter to change color pallete of multiple textures that by operation merging textures into one i get a character, but getting data for every single texture by...

View Article


Using Ccapture.js to capture Pixi.js animation

Has anyone tried using Ccapture.js with Pixi? I tried but it seems to just stop the animation and nothing gets captured. I got it animating now but the .webm video is just showing black. var renderer...

View Article


Image may be NSFW.
Clik here to view.

Sprite will not render - have no idea why

I'm building an angular web app with an embedded pixi component. I'm trying to render a cat image to my pixi stage but for some reason it will simply not render. Here is the code that I use to create...

View Article

Is it possible to define hitArea for a curved line?

How can we define a hitArea for a quadraticCurve line? is that even possible?Afaik, you got:PIXI.RectanglePIXI.CirclePIXI.Polygonfor defining hitArea,It seems that it's not possible, right?   from...

View Article

Does pixi have native SVG support

Basically as the title states, does pixi support rendering and use of svg?

View Article

Image may be NSFW.
Clik here to view.

Blurry text in Pixi.js

First of all I would like to say that I've read all topics and issues on github, related to this problem and it didn't help me. I've checked PIXI.RESOLUTION, antialiasing, different fonts (google web...

View Article


Tranparent render option requirement

Hi all, I am testing my game on a samsung galaxy tab 2. The game doesnt load just, it shows a black screen but it works fine on all other devices. I navigated my device to the pixijs website with all...

View Article

Set Uniform array size from filter configuration

function QuantizeFilter() { var vertexShader = null; //Doesn't actually quantize, just testing. var fragmentShader = [ 'precision mediump float;', '', 'varying vec2 vTextureCoord;', '', 'uniform vec4...

View Article


About fonts...

Hi!I'm doing a thing in pixi (actually, in it's dart port (https://github.com/FedeOmoto/pixi) but that should be the same for the purpose of this question) and I'm using its text features...

View Article

Image may be NSFW.
Clik here to view.

an array of text objects in pixiJS

I want to create 5 possible animations text instances that cycle through every time an action happens (like a button press for example). I am thinking this needs to be an array that increases the x...

View Article


Image may be NSFW.
Clik here to view.

flickering neon light effect

Hi, For my website i created a neon effect with PixiJS v4 and i'm not happy with the results i was wondering if anyone could improve upon or has a better idea how create a neon effect which works...

View Article

requestAnimationFrame loses scope

When I do a requestAnimationFrame it loops through once then it loses its scope. At the moment i don't want to use the arrow function because IE 11 doesn't support it (ref...

View Article

Image may be NSFW.
Clik here to view.

gameLoop function speeds up every time it is called

Hi everyone. I am super new to Pixi. I have a function that iterates every time it is called. The issue is that the gameloop function speeds up every time it is called. Is there a better way of...

View Article
Browsing all 3978 articles
Browse latest View live


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