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

Image may be NSFW.
Clik here to view.

A little thing about performance

Hi everyone,  I'm new with PIXI, and I'm wondering this situation.  I want to make a rectangle, and its border can be changed when we hover. I tried search on Google and almost people say I should...

View Article


Pixi.js simulation

Hello everyone!  I'm working on a website where I need to simulate two entities (a drone and a rover), they communicate with each other trough sockets in the server. I'm displaying these entities...

View Article


pixels() returns only 0

Hello, I'm currently working on some small project with pixi but with more complex shapes. Now I wanted to look at the image data of my sprites but the pixel values are all 0. I searched on google and...

View Article

Font is not Rendered on Safari

I use a variation of Open Sans in the game. It works perfectly OK on Firefox and Chrome but Safari uses some default font instead of the font I use. Does anyone have any idea or had similar experience?

View Article

Image may be NSFW.
Clik here to view.

Drawing Images onto a PIXI.Graphics obj

Hey guys! I've got one main question, with a few follow ups.. here goes  I was wondering if there was a way draw an image onto the PIXI.Graphics (object thingy)?I'm aware I can add sprites to the...

View Article


drawing performance optimization help

I use pixi.js to draw some lines.when there are many lines, render speed becomes slow, can anyone help me to optimize performance of it? thanks for help. I gave up using Graphic API to draw because it...

View Article

WebGL or Canvas Renderer as default

Which renderer should I set as default in my game. I noticed that with WebGL renderer, when I tried with my laptop it was performing super slow. That was because chrome by default used the integrated...

View Article

Image may be NSFW.
Clik here to view.

Canvas Renderer randomly performing bad

Sometimes when I start the game with Canvas Renderer, it performs really slow like max 5fps. renderer.render(stage) takes 500-700ms. It happens only after refresh randomly, on the first time starting...

View Article


Image may be NSFW.
Clik here to view.

Pixi.js container not fully displaying

Hello everyone! I have a grid system with tiled textures on my canvas, all of these textures are inside a container, i've set the width of my PIXI application to be the columns times the size of the...

View Article


How to draw directly to a PIXI canvas?

I want to use PIXI only as the rendering/drawing part of a game (engine) but I also need the possibility to draw directly (for non-sprite graphics). I am able to get access to the canvas a)...

View Article

Scaling content to fit perfectly using PIXI Projection's 3d camera

Hi, I'm using the PIXI Projection's 3d camera on a site that occupies the entire window — the camera moves, the content is always centered and the aspect ratio can change.  I'm trying to figure out...

View Article

ColorReplaceFilter vs Tinting

Hi, right now I'm using tinting to change the color of my bitmap text, but I want to be able to change the stroke too.. as of now the stroke is black and the inside is white, so changing the tint...

View Article

SVG to Texture off the main thread: how deep can I possibly go?

Hey there! I'm developing an electron app, which will load shit tons of SVG files and play them as animations. The process of decoding SVG -> PIXI.Texture is pretty fast, however, with 1000 SVGs it...

View Article


Container Height?

Hello, iam trying to add an texture in a Container. Now, i exept this container has inherit the texture Height. If i scale the Container Height it will be scale it with the Height of the full stage...

View Article

Text Rendering question

I need to render current score of players in the game scene. There might be bunch of those in the screen same time. I tried pooling PIXI.Text's but with many of those it wont perform really well. I...

View Article


Image may be NSFW.
Clik here to view.

Container cacheAsBitmap makes a weird diagonal line

Hi, I'm new to Pixi and couldn't find anyone with the same problem so here I am. I have a container full of black squares (drawn with Graphics) to hide parts of the map, like a fog of war. Some have...

View Article

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


Image may be NSFW.
Clik here to view.

Some containers are offset when they shouldn't

Hi, I have 3 containers containing only square sprites as children of stage. Starting from the 3rd, every new container I add is offset by 8,8 visually but all of their properties say they aren't. To...

View Article

Image may be NSFW.
Clik here to view.

Problem with Pixijs on Cordova

Straight away to my problem. I don't know why I can't see the background I use in my app here. As you can see here, I can see my background if I just run it like a normal web. But when I try it to run...

View Article

Image may be NSFW.
Clik here to view.

performance issue, sprites with jumpy movement

I have a performance issue (using pixi 4.8.2 , i've also tried other versions) I creat some sprites *fromImage* and moving them toward an angle simply like this: sprite.x += 1 *...

View Article
Browsing all 3978 articles
Browse latest View live


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