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

Image may be NSFW.
Clik here to view.

PIXI Pointer Lock for WebGL & Canvas?

Does such thing exist? Been googling for moments already and all I've seen is for canvas components Any inputs appreciated  

View Article


Is PixiJS enough or do I need another library?

I am a student currently working on a simple Picture Reveal Game. The way it works is this: A picture is hidden behind a grid of squares. Each time you click on a square a trivia question pops up and...

View Article


Rendering another container messes interactivity?

Hey! Messing around with pixi.js trying to implement a UI layer that doesn't follow the scaling of the rest of the game, but rather its own rules. So I chose to render a second container containing...

View Article

Does PIXI.js support double tap event on mobile devices?

If so what is the event name?

View Article

Rendering using transform offset

Hi, I'm having difficulty rendering a copy of a container into renderTexture when the container has some transformation. I'm aware of the transform parameter on the renderer.render method, but don't...

View Article


How to draw gradient color

HI: i want to draw gradient color,but found draw gradient color of text,can not draw gradient color of other shape.How to draw gradient color of rectangle.

View Article

Interaction Manager overlay delegator for multiple canvas elements

I am attempting to create a interaction layer which acts as a proxy to multiple canvas elements for events. This works fine for multiple elements if all canvases are the same size, but it seems that...

View Article

Image may be NSFW.
Clik here to view.

Extra filter + Pixi 4.3.4 + TweenLite

Hi all! I have a weird problem, and I don't know how to solve it. What I wanted to make: when I click over a circle, it has to get GlowFilter (or OutlineFilter it doesn't matter but it should be from...

View Article


Pixi-canvas: pixi in a context 2d API

Hello everyone,  I'm working on a little project that I named Pixi-Canvas. The idea is to wrap the Pixi renderer in an API that's similar to the 2d canvas API. This allows you to use functions such as...

View Article


Text object shows as black box for long strings

Hardware: Sony Experia Z5 premium. Maximum texture size is 4096, devicePixelRatio is 3, screen resolution is 1920x1080.PIXI: Version 4.2.2, renderer is WebGL.   When we create a PIXI text object that...

View Article

scale manager in game using pixi

how to create a scale manager when resize parent div or window like ScaleManager in Phaser.io. In phaser, it has many method to scale: EXACT_FIT: A scale mode that stretches content to fill all...

View Article

Image may be NSFW.
Clik here to view.

Pixi.js masking problem with Cocoon.io

Hi, I'm building a game for desktop web, mobile web and mobile native using Cocoon.io. I have discovered a masking problem that only occurs on Cocoon.io. Cocoon Version Cocoon Developer App 1.0.0....

View Article

Huge lag, memory leakage...

Probably not a problem with Pixi(most likely I'm just using pixi wrong and somewhere leaked) but somewhere there is a memory leak and I am not sure why. Ram usage keeps increasing and movement is very...

View Article


Scaling in Spine?

I've used the pixi-compressed-textures.js and can get Spine to load the lower resolution artwork, but I still can't seem to find an exact piece of code for how to rescale the animation at runtime,...

View Article

Drawing mouse selection area (rubber band)

Hi, I'm new in Pixi, and I have a new job  We are using pixi, unfortunately it is Pixi v3. I have small task to do and I'm doing pretty well with pixi so far, but I have to do something more complex....

View Article


PIXI.extras.AnimatedSprite erroring: Cannot read property '0' of undefined

So I'm trying to splice all frames from an image, convert them to textures then put them into an array but I'm not sure as to why it is erroring, also I am also not sure why the if statements need to...

View Article

Camera for Pixi.js

Hello everyone, I am pretty new to the Pixi.js so I'm seeking advice from community on what is the best approach to have easy and efficient camera. Basically what I want is to have two main containers...

View Article


how to make Pixi canvas pause

hello I need to stop everything on the stage. Does Pixi have this method? thanks.

View Article

Detect PIXI images loaded in browser

Hello, I'm working on PixiJS application where I dressing up my character. So, different PNG images are loaded to Pixi stage. There is a button to finish dressing character and it saves current canvas...

View Article

pixi source map offset

Hi, just wondering if anyone else has problems getting the pixi source maps to sync correctly whilst debugging in Chrome? Mine are a line or two offset which makes debugging an exercise in guesswork,...

View Article
Browsing all 3978 articles
Browse latest View live


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