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 ArticleIs 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 ArticleRendering 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 ArticleRendering 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 ArticleHow 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 ArticleInteraction 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 ArticleExtra 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 ArticlePixi-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 ArticleText 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 Articlescale 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 ArticlePixi.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 ArticleHuge 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 ArticleScaling 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 ArticleDrawing 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 ArticlePIXI.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 ArticleCamera 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 Articlehow to make Pixi canvas pause
hello I need to stop everything on the stage. Does Pixi have this method? thanks.
View ArticleDetect 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 Articlepixi 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