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

Image may be NSFW.
Clik here to view.

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 Article


Image may be NSFW.
Clik here to view.

Stage/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 Article


Image may be NSFW.
Clik here to view.

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

Image may be NSFW.
Clik here to view.

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

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


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

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

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


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


Image may be NSFW.
Clik here to view.

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

Image may be NSFW.
Clik here to view.

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

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

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


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

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


Image may be NSFW.
Clik here to view.

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

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


Image may be NSFW.
Clik here to view.

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

Image may be NSFW.
Clik here to view.

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

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


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