Detect if the mouse cursor has moved off the root container?
Is there any way to detect if the mouse is moved off the stage (root container)? I need to perform an action when this occurs.
View ArticleMake movieclip from several atlases and play it whithout lags
In my project I have some animations which made from too many frames, and on machines with weak videocards I am getting error with MAX_TEXTURE_SIZE and animation shows as black rectangle. To avoid...
View ArticlePacking tool for SpriteSheets
Hey there, found this example: https://pixijs.github.io/examples/#/basics/spritesheet.js So, there is json file format, and I assume there is some tools to pack my sprite sheet and generate json file....
View ArticleBlurred sprites
Check link my demohttp://51.15.38.31/ PIXI.settings.DEFAULT = PIXI.SCALE_MODES.NEAREST; does not work
View ArticleEffective way to remove texture from memory
Hi, I'm having a serious problem with the memory usage, sometimes it hits 2.6 GB and never goes lower. I have to load some textures that vary from 10 MB to 40 MB for each map, and I'm sure that when...
View ArticleInteractivity on masked object
I have some container with mouse event listeners and after I use mask on the container, the interactivity is disabled. Is this bug or something?
View ArticleInteractions question, based on Checkers
I'm learning Pixi.js with the goal of creating a game with a lot of UI complexity (imagine something like FreeCiv). I'm starting with small projects and trying to learn good fundamentals. However, I'm...
View ArticleAnimationSprite with multiple animations?
Hey, do you have some code which implements something similar to the link, working for v4?
View ArticleTouch and click events on mobile
Tested my project on android device and found that my application don't react on any touches. Started to debug and found that function written in this way never fires: sprite.click = function(e) {...
View ArticleSimple lines with Pixi.js
Hi there folks! It's been a while since I posted something in here, glad to be back! I have a fair amount of experience in game development using JS Canvas, but recently I decided I had move on - so I...
View ArticleHow to zoom linearly ?
Hi, Adding the possibility of zooming in my game when scrolling the mouse, how to repeatedly zoom in the same amount of "space" ? I mean, I want that the camera move linearly. I tried to modify the...
View ArticleIE11 webgl video is black on 4.2.2
I'm experiencing a strange issue with IE11 webgl video where it only renders a black square, I still get audio just no video. What is odd is that webgl video works great in ie10 and ms edge just not...
View ArticleIs possible to disable Multi Texture Batching in PIXI v4 ?
I would like to know if is possible to disable the multi texture batching in a PIXI V4 game. Recently i jus update my game PIXI lib from version 3 to 4.2. I`m using cocoon Canvas + . It seems perfect...
View Articleusing webcam with pixi.js
hello, I'm trying to use the picture from the webcam as a texture in Pixi.js. I created a video element with getUserMedia, and I want now to use it in pixi. Is there a way to do that ?
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 Articleloader on process load twice?
loader.add("json/items.json").load(setup); loader.on("progress", progress); function progress(){ console.log(loader.progress); I monitor loader progress when load assets. I use code above. why...
View ArticleHow to use 1x or 2x atlas for different devices?
I'm looking for right way to manage my assets that for device with hd screen used default atlases, but for device with full hd screen or retina used 2x size atlases.
View ArticleTexturepacker scale meta
Hi! Just upgraded my project to PIXI 4, and noticed that all assets are displayed at 200% on regular (non-retina) resolution devices. The problem seems to be that PIXI now reads and uses the "scale"...
View ArticleGL ERROR :GL_INVALID_OPERATION : glDrawElements: range out of bounds for buffer
Hi community, I have been using Pixi js for some time now, absolutely love it. I am using their latest version 4.3.4 and notice in Google Chromes Console there is 256+ Warnings looking like this:...
View ArticlePixi.js Showcase
Made anything cool with pixi.js? Post it up here and share it with the world! Whether it's a cool game demo, a fully fledged website or some tripped-out crazy experiment, we would all LOVE to see it!...
View Article