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

Using DeltaTime in Update(), usage of Tickers?

Hello! I got quite confused after reading code for pixiJS examples and basics. I have an update function in which I want to control my objects in such a way framerate doesn't affect things. How do I...

View Article


Image may be NSFW.
Clik here to view.

Some text is blurred some is crisp.

How can I make my text more consistent and better looking?        

View Article


Image may be NSFW.
Clik here to view.

PIXI.mesh.Mesh with alpha problem

Hi. I try to fade-out animation with mesh object. My Problem is : mesh object doesn't look equally transparent when its alpha is between (0,1). It looks like attached .png file. Whats wrong with me? I...

View Article

Designing a robust and efficient architecture for grouping sprites in PIXI.js...

When I first use PIXI.js I used to put every sprite onto the stage. Then I know that there is a Container class to hold the sprites. So I can add some sprites onto one container and other sprites to...

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


Prevent interaction of "behind" object when two interactive objects overlap

Sorry for the confusing title, I'll tell you the situation: I have interactive objects that respond to mouseover events. I've noticed that when two of these interactive objects overlap (i.e. one is...

View Article

Proper way to generate a texture from a graphics object in v4?

Tried generating a texture from a rectangle built using PIXI.Grapics and got a warning about it being deprecated and pointed me to canvas or render texture classes but even after reading the docs for...

View Article

Weird loading problem at "autoDetectRenderer"...

I went to fully clear my browser history in Chrome and then my game wouldn't Init successfully. It started throwing an error here. The undefined error traced back to Pixi.js line 16. It also wouldn't...

View Article


DrawCall Texture Atlas optimization

Hello, when I make 3D models I usually make a texture atlas to reduce number of DrawCalls. Is that the case for PIXI? Do we need to make an atlas for PIXI or maybe PIXI renderer handles multiple...

View Article


TilingSprite Performance

I'm using 4 layers of fullscreen TilingSprites for a background.  Performance on laptops is bad.  Each frame I'm setting the tilePosition.  Any suggestions on how to get better performance and have...

View Article

Visual Studio Code Intellisense code completion

Hi, I'm quite new to web development, so I'm quite lost regarding to make VS Code Intellisense work for PixiJS. I'm currently using Webpack 2 and I'm able to run PixiJS examples, but only because I've...

View Article

Mapping texture to a Graphics object

Hi I was wondering if there's a way in Pixi to map a texture to a graphics object. I would like to some warping on and distortion to images but the only way I can see this happening if I can map a...

View Article

Pixi flip

Hi, You announced 3D plugin (Pixi flip) and I'm wondering if nybody know: will it be possible to get pixi class suport 1. container 3d 2. sprite 3d - xyz - rotation xyz - rotate xyz (specific point)...

View Article


Crash Pixijs in Cocoon

Crash and close Cocoon app, when use PIXI TEXT witn WebGL Render, for Pixi version 4.3 or superior.

View Article

Change the style of line that is already drawn?

Hi guys It's been a long time since working with Pixi.js. Since the version 1.6 is 'in da house' with the ability to fill up complex polygons, I resumed my project again. As the title says, I draw...

View Article


Image may be NSFW.
Clik here to view.

How do I make my canvas look the same on other devices?

Hello, How do I make my canvas look the same on all devices?   function PixiPlay(){ var renderer = PIXI.autoDetectRenderer(350,460,{antialias: false, transparent: false});...

View Article

How Does Asset Loading Work With Pixi.js?

Okay, so a lot of the tutorials for Pixi.js seem a bit outdated. Most of the information out there still uses the old way of creating a new Pixi application by not using the newer 'convenient'...

View Article


Image may be NSFW.
Clik here to view.

touch events in cocoon.io and canvas+ ?

hi, just trying to get my pixi app running via cocoon.io's developer app. All is good but I don't get any touch events. I do this - Cocoon.Touch.enable();...

View Article

this.stage is undefined

Hello, I begin to study Pixi.js and TypeScript. This log shows "undefined" on line 34: // Add the sprite to the stage console.log(this.stage); Code: /// <reference path="./libs/pixi.js.d.ts" />...

View Article

more on pixi and cocoon canvas+

re my earlier post on touch events and canvas+ ... As an experiment, I replaced the pixi from a cocoon sample app ( https://github.com/CocoonIO/cocoon-sample-facebook ) and replaced it with the latest...

View Article
Browsing all 3978 articles
Browse latest View live


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