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

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 Article


Make 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 Article


Packing 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 Article

Image may be NSFW.
Clik here to view.

Blurred sprites

Check link my demohttp://51.15.38.31/ PIXI.settings.DEFAULT = PIXI.SCALE_MODES.NEAREST; does not work

View Article

Effective 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 Article


Interactivity 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 Article

Image may be NSFW.
Clik here to view.

Interactions 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 Article

AnimationSprite with multiple animations?

Hey, do you have some code which implements something similar to the link, working for v4?

View Article


Touch 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 Article


Simple 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 Article

How 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 Article

IE11 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 Article

Is 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 Article


using 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 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


Image may be NSFW.
Clik here to view.

loader 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 Article

How 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 Article


Image may be NSFW.
Clik here to view.

Texturepacker 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 Article

GL 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 Article

Pixi.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
Browsing all 3978 articles
Browse latest View live


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