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

Image may be NSFW.
Clik here to view.

Converting a filter to PIXI v4

In PIXI v2, i was using the following fragment filter to convert a texture from rectangular to polar coordinates, as part of a process to create a shadowmap: PIXI.AbstractFilter.call(this, [ '#define...

View Article


Image may be NSFW.
Clik here to view.

BlurFilter at edge of view

When I apply a blur filter, the blurred image doesn't quite seem to clamp to the edge of the view. You can see the background color on the right edge here. I've tested this with the latest v4 dev, and...

View Article


PIXI stop loading textures after a while

So I'm working on my game editor, and I noticed a weird behavior: after I play around with tiles and objects (eg draw different tiles, add trees rock etc. and then delete them, move objects around..),...

View Article

What to use for sounds in Pixi?

Just realized Pixi does not support sounds, what is a good solution for that?Can sound loading be integrated in the Asset loader somehow?

View Article

Clicking & Dragging, seperate functions.

Hello, quick question:  Is it possible to have a container with onclick and ondrag functionality, but let them do different things?  I'm working on a selection/drag-drop tool. Where if you click on...

View Article


Loading sprites exported from Flash?

Hello? What is the best way to export sprites from Flash and load them into pixi.js? I refer to this tutorial: https://helpx.adobe.com/animate/how-to/export-animation-sprite-sheet.html

View Article

Big PixiJS news? Wonder what is it?

 

View Article

Image may be NSFW.
Clik here to view.

reflection surface - not flipped sprite (shader?)

I searched around but didn't found something. But maybe someone else has already thought about and found something: I've got a 2D Sprite and would like to add reflection to this sprite. Since this can...

View Article


RenderTexture is not working in canvas base in V4 version

I did some code here   this._iconSprite = GameAsset.icons[id];         this._iconSprite.x = (this.symbolWidth - this._iconSprite.width) / 2;         this._iconSprite.y = (this.symbolHeight -...

View Article


RenderTexture is not working in canvas base

I did some code here   this._iconSprite = GameAsset.icons[id];         this._iconSprite.x = (this.symbolWidth - this._iconSprite.width) / 2;         this._iconSprite.y = (this.symbolHeight -...

View Article

Image may be NSFW.
Clik here to view.

How to draw rectangle with 1 round corner?

Good morning! How to draw rectangle with 1 rounded corner and fill it with color please? I am trying to use the method arcTo with the following code: this.bgGraphics.beginFill(0xFFCC00, 1);...

View Article

Seamless cut to video and back?

To go from PIXI to a video render and back to PIXI, what would be the best way - assuming the first frame of the video visually corresponds to the PIXI state? (it's not an exact match, let's say like...

View Article

Image may be NSFW.
Clik here to view.

[Share] 3D with Pixi

Hi, I'm here to share my IUT project : Make 3D with Pixi.jsSo okay, it's stupid cause Pixi.js is a 2D framework. But maybe you need to have some simple 3D models. (For example, 3D cards animations in...

View Article


Image may be NSFW.
Clik here to view.

Bad performance

Hi, i´m creating an editor to make printable shirts and I  use three js with pixi js. My objects like shirt or cup is in three js and workplace like canvas, where I can edit everything is from PIXI....

View Article

Down-scaling quality loss

Hi guys, I am having troubles with quality when down-scaling images with PIXI. Here is a demonstration of the issue. Right one is original image, and left one is 0.3 scaled image. The problem is that...

View Article


Image may be NSFW.
Clik here to view.

Mouse move event

Hello! I'm having a strange issue where my events seem to take longer after some (seemingly) unrelatedinteraction with other elements on the page. I'm implementing a very basic dragging functionality,...

View Article

Working example with v3v?

I'm trying to pass an array of vec3's for use in a palette lookup... I tried the following but no dice:   //SHADER CODE: precision mediump float; uniform vec3 palette[1]; varying vec2 vTextureCoord;...

View Article


PIXI Movieclips without JSON file.

  In order to do a Movie Clip in PIXI.js are you required to have a JSON file? Is it possible to have the JSON inside the same file, especially if the movie clip is only a few frames and load the...

View Article

Image may be NSFW.
Clik here to view.

PIXI v3 : cannot create a proper full window renderer

Hi All, I'm starting to play with PIXI (after some tests on phaser) so apologies for the newbie question... I can't figure out why creating a game with window.innerWidth and window.innerHeight doesn't...

View Article

Image may be NSFW.
Clik here to view.

Drawing rectangle underneath PIXI.Text

Good afternoon, in a word game I am trying to draw score as white numbers above a blue (or red) rectangle: In the above screenshot it is the number "13". Here is my entire class Score.js (with...

View Article
Browsing all 3978 articles
Browse latest View live


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