Managing interactions with streams?
First of all, let me say that I love the apparent philosophy of PixiJS: do rendering well, and let userland be userland. Awesome. I'm playing with different ways of handling interactions that...
View ArticleStage/Container Management for lower memory usage
Hi there, first i'm more or less new to JS and Pixi (comming from php), so please be patient if i ask strange questions i want to write an relative huge game/app with many locations and animations...
View ArticleFRP w/ PIXI?
This is kindof a continuation of the discussion in this thread Though it could branch off elsewhere (like not using streams, using sodium, whatever) - so I figured I'd open a new one Basically - if...
View ArticleKeep position of sprites when animating them
Hello there, What an amazing engine to render on webGL/Canvas! We are getting such a boost on performance thanks to this great library. Now, let's go to the point: We managed to partly migrate all...
View ArticleSuggestions on effects animation
Say I wanted to do a frame animation for a pixel art object. where it Glows and the glow effect expands around the core of the object. (Like a light turning on). I have collisions set on this object,...
View ArticleAnimating Composite Sprites
I'm currently trying to animate a composite sprite and I currently have a working version, but it seems quite inefficient and I'm wondering if there's a built-in method that accomplishes what I'm...
View ArticlePixiJs smooth animation
Hi all, I want to put together a little snake game to teach myself PixiJs. What I'm trying to achieve is a smooth gliding effect when moving this block around. (press left/right to start moving)....
View Articletouch events on PhoneGap?
Hi, Can anyone tell me how to detect touch events on Android when using PhoneGap? This worked fine on cocoon.io - g_cont2 = new PIXI.Container(); g_cont2.interactive=true;...
View ArticleanimatedSprite not run when not active tab?
i use HackTimer js to game run when tab is not active. But animatedSprite not run when not active tab?
View Articlemask not run?
i create mask in my game but in some pc, it not run? Here my code that.mask = new Sprite(TextureCache["mask"]); that.mask.position.set(that.size[0] / 2 - 8, that.size[1] / 2 - 12);...
View ArticleStuttering with requestAnimationFrame and no obvious culprit
Hi, We're currently using Pixi.js for a few projects and we're encountering a strange issue with inconsistent FPS and can't find the cause. We're using the PIXI.Ticker to execute our render loop which...
View ArticlePopular libraries for pixijs
Hi guys, I would like to know if there's a bunch of go to libraries that most game devs use with pixijs. The ones i'm using so far are: keyboardjs lucidjs (event handling) What are the must have...
View ArticleImprove speed when drawing thousands of graphics elements
I am working on an interactive data visualization in which thousands of graphic elements have to be updated continuously as the user drags an endpoint connected to each node. When render times are too...
View ArticleChange base texture of AnimatedSprite and upload it to gpu
I am trying to replace a texture atlas of the animated sprite with another one, and play it. On every click I first fetch the texture atlas image from server. Than I make periodic checks if there is...
View Articlesplitting a video into separate textures
hi! I was wondering if anyone had any advice here.. I have a large master video that contains a grid of smaller videos. I need to split this up into pieces and move them around individually. My...
View ArticleTiles won't scale when I scale the tilemap
I'm trying to get my tilemap to scale and I'm basically following the example here: https://github.com/pixijs/pixi-tilemap/blob/master/demo/main.js#L17 However, what ends up happening is the tilemap...
View ArticleiOS soft fullscreen. How?
Hello guys. I am struggling with having my game to run on minimal-ui on iOS safari. That is where the address bar becomes smaller when you scroll. I have found a game that does that, but how the hell...
View ArticleProperly syncing multiplayer movement
Currently, when a client moves, the inputs are processed on both the client and the server which use the same calculation to process the movement. When the client receives an update from the server,...
View Articlemask on renderercanvas errror?
I created a slot game. But in some browser does'n't support webgl. It auto render canvas. But when i used mask. It doesn't work correct??? it wrong position. I use console of browser to change...
View ArticleWhat is the quickest way to find a sprite inside a container and work on it?
In my game I have a lot of foods spread on the map and when my player moves around it should be able to see some of the foods and can't see the others. But every time I update my player's position I...
View Article