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

Image may be NSFW.
Clik here to view.

Tiny gaps between jigsaw puzzle pieces

Hi! I have a jigsaw puzzle, each piece is created with bezier curve mask. When the puzzle is complete there are tiny gaps between the pieces. How to avoid that behavior? Antialias is set to true.

View Article


How to clear PIXI.Application?

I have implemented PIXI application with more containers  like containers inside another container. I am adding PIXI.Texture for video and PIXI.Sprite for Image view. Everything working fine for the...

View Article


Image may be NSFW.
Clik here to view.

Something strange with PIXI.Graphics / .geometry.points

Hi all! I have something like this      let spline = new PIXI.Graphics()       .lineStyle(1, 0xaaaaaa, 1)       .moveTo(100, 100)       .lineTo(200, 200)       .lineTo(100, 500); And I want to get all...

View Article

Window resizing and texture updating

When a user resizes the window, the render area can become bigger or smaller. This potentially has a visual effect in that if the window started off small and then was increased, the textures could...

View Article

Image may be NSFW.
Clik here to view.

Pixi 5.0 Canvas Support

Hi, my game is supposed to have support for canvas, and so I added the pixijs-legacy when we upgraded to 5.0.4. However, it seems it won't recognize the fallback support and I still get this error. I...

View Article


Coordinates of a sprite in pixi and in the browser's dom

I am using pixi version 4.8.5 and I am trying to access the coordinates of a Sprite when I click on it through its event like this: e.data.global.x e.data.global.y I have also tried like this:...

View Article

Does a Camera/Viewport go beyond the scope of PIXI?

Will we get a camera or projection class native to PIXI at any point in the future, or is the PIXI team satisfied with that being an addon?

View Article

Viewing number of draw calls webgl

Hello everyone! I found many old topics (around 2015-2016), saying that with Mozilla browser i can view number of draw calls, but today Mozilla no longer offer this kind of tool.  So my question is,...

View Article


Create holes in the graphics

Hello. How to cut shapes in a rectangle as in the example? https://www.pixiplayground.com/#/edit/0lLp139ZI9bp8WxbxZdww The shapes must necessarily overlap each other, forming one hole.

View Article


Problem with beginTextureFill using spritesheet's sprite

beginTextureFill works perfectly when using a single sprite, but as soon as I use a sprite from a spritesheet, it doesn't work correctly anymore (it shows the rest of the spritesheet, instead of only...

View Article

PIXI 5 beginTextureFill vs PIXI 4 Texture Mesh

Hi, In my game I'm using Pixi 4 using this method (https://www.html5gamedevs.com/topic/39049-drawing-huge-objects/?tab=comments#comment-223277) to create textured polygons. I do it by dividing the...

View Article

Image may be NSFW.
Clik here to view.

Grid effect after zoom pixi-tilemap / pixi-viewport

Hiya guys, I know this issue crops up a lot but I've just added both pixi-tilemap and pixi-viewport to my game and I've been struggling quite a bit, getting help with this one issue might relieve the...

View Article

Applying Depth Map to DIVs in a Carousel

Hello, forum! I am currently struggling to rework my photography website after having purchased a template several months ago. I did not get the time to do much but now I am little free. In a...

View Article


mouseover works but mouseout don't? can't retrieve event.target

Hi all. New to PixiJS, I'm working on a divination card game. I just want to add a basic animation on card mouseover/mouseout: just change the z position +/-10. In my code mouseover works, but...

View Article

Masking an image with multiple blurred circles

Dear Community, I am trying to mask an image with multiple, animated, blurred circles. So there is a fullscreen image and only parts of it are shown, exactly like in this example:...

View Article


video visible size is empty

Hi  I am getting empty screen saying an error that (INVALID_VALUE: tex(Sub)Image2D: video visible size is empty) while playing video in chrome V77.038  but playing as many times without any issue in...

View Article

Image may be NSFW.
Clik here to view.

Most performant way to make a gradient alpha mask

So I'm building this map editor: https://mapmaker.deeeep.io/map/mrbirdyflee_cartography As you see, the separation between sky objects is too rough, I'd like to soften it. Each sky is a graphic object...

View Article


Image may be NSFW.
Clik here to view.

Looking for a bit of help testing game

Hi guys, Hope you're all well. I posted my last game here a year or so back Arcade Builder - I've been working on the engine on and off ever since and I'm really trying to nail every bug. I feel...

View Article

Image is not loaded on Playground

Hello, I want to load an image on playground. My code works locally but when I load on Playground it does not work. And I do not see errors in console. The Example on Playground. This message is...

View Article

PIXI.utils.TextureCache[texture].destroy

Hello, Where can I find the information why this code does not work: //If you ever need to, here's how you can clean out WebGL's GPU //memory manually...

View Article
Browsing all 3978 articles
Browse latest View live


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