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

Pixi Graphics line resolution not sharp on zoom

Hey all,  I have a PIXI.Graphics line with about 500k points.  Draws fine, I added PIXI-Viewport for zoom and pan.  When I zoom in the line resolution is not good.   2 questions. Main Question, how to...

View Article


I found a Pixi Particles Editor which generates .json files. Does Pixi.js is...

Here's the link: PixiParticlesEditor (pixijs.io) An animated example is shown on the left side of the page, and you can adjust the visual effects easily via the panel. This page is using an older...

View Article


Image may be NSFW.
Clik here to view.

[Question/Help] Animating mask transitions upon click

Hi everyone, thanks in advance for your help! I'm trying to achieve something like this on my PIXI app. I have two binary masks, which we can call "normal" and "expanded." Right now, if the user...

View Article

[Question/Help] Can I use a PNG binary mask for hitover area instead of polygon?

Hello, as the title implies, I'm trying to create a hitover area using a PNG binary mask instead of a polygon mask. I couldn't really find something for this in the documentation. Is that possible?...

View Article

Image may be NSFW.
Clik here to view.

Mesh problem with drawMode

Hi, when I set mesh.drawMode = PIXI.DRAW_MODES.POINTS, the texture is pixelated in the shader. what's the reason ?  

View Article


Downscaling a texture then upscaling a canvas.

Is information / quality lost when you downscale a high resolution image in a scene and then increase the scale of the canvas element?  In other words, is this effectively upscaling AFTER downscaling...

View Article

How to detect and load multiple json files in a directory at once

I am a new bee in Pixi tilemap, I used below code to load each of the individual json files based on their level. this.app.loader       .add('map0', '/assets/level_0/level_0.json')       .add('map1',...

View Article

Image may be NSFW.
Clik here to view.

Applying displacement filter on Pixi.text element shifts the text outside...

const app = new PIXI.Application({ resizeTo: window }); document.body.appendChild(app.view); let text = new PIXI.Text('SwiftLearn IT Solutions',{ fontFamily : 'Arial', fontSize: 40, fontWeight: 800,...

View Article


Possible to use react just for UI with Pixi.

Hello. I need some way to make common browser UI(scrollable lists, file picker,popups) with pixijs. My needs: 1. Will need to share data with pixijs( access read file content in Pixi, shared plain JS...

View Article


Displaying tile images using composite tilemaps

I would appreciate any insight and response as regards  composite tilemap I guess I am still missing some information while still trying to grasp the composite tilemap techniques in PIXIjs Here is a...

View Article

Image may be NSFW.
Clik here to view.

Pixi mask don't work

Hey,   I use few mask in my game. Most of them work fine. They hide what I want and show what only stuff inside mask, but for some reason one mask is diffrent. She use same code, but doesn't hide...

View Article

Image may be NSFW.
Clik here to view.

@pixi/assets v6 default scale mode not propagating to loaded textures

HI, I'm loading assets with the new @pixi/assets wrapper and setting default scaleMode before loading doesn't work - baseTextures still have scaleMode set to 1(linear). I manually set loaded texture...

View Article

Change the style of line that is already drawn?

Hi guys It's been a long time since working with Pixi.js. Since the version 1.6 is 'in da house' with the ability to fill up complex polygons, I resumed my project again. As the title says, I draw...

View Article


Image may be NSFW.
Clik here to view.

Issues with Pixi.js, zIndex, and layers

So I've been trying for a couple days now to get proper sorting of objects in my scene working. I tried the obvious sprite1.zindex = 2 method, nothing. So I tried to see if pixi layers would work....

View Article

Any cad solution?

Hello, I'm looking for some basic template or skelton for CAD program base on user ineraction. This is a good example of what I need http://web-cad.org/sketcher.html#__sample2D__   (it is not for...

View Article


PixiJS Assets Problem Loading Spritesheet

Hello guys! I'm trying to implement new @pixi/assets to load spritesheet from my Sanic backend. When I load local json+png from frontend it works normally, but when I do request on backend, I will...

View Article

Image may be NSFW.
Clik here to view.

After creating filter with lut texture i see a weird outline under the dots

vertShader:string = ` // https://github.com/pixijs/pixi.js/issues/6436 * this one!!! //pixi.js/packages/core/src/fragments/default.vert attribute vec2 aVertexPosition; attribute vec2 aTextureCoord;...

View Article


Image may be NSFW.
Clik here to view.

PixiJS PIXI.Spritesheet undefined

I am trying to load a sprite sheet for PIXI js. I have a png and json file in one folder, I am pretty sure there are fine on their own. But I can't get it to load. got this from...

View Article

Objects don't move smoothly on screen

I've made game where items falling from top to bottom of screen. I measure fps and it always over 60, but items moves with lags (not smoothly). This is especially noticeable on mobile devices. I try...

View Article

Some testing tools for Pixi.js apps/games

As a part of my PhD research on visual testing for web games, I’ve developed (/begun developing) a couple of tools that might help when (visually) testing your games.  The first tool allows you to...

View Article
Browsing all 3978 articles
Browse latest View live


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