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

Showcase Katan.io

Hey all, I've finished creating a game with pixi.js I've asked a couple questions here the past few weeks and the game finally is working so I wanted to share it with you guys. Before, I had made the...

View Article


Using React in Pixi? Pixi in React?

I am building an app using Pixi as my main render.  I am also using D3 and I want to use react as my UI manager.  How is the best way to go about this?  I am already running Pixi with Webpack and ES6

View Article


Listener mousemove event on Graphics element

Hello everyone! I'm trying Pixi.js for a week and still, I don't understand what's going on with the PIXI.Graphics() class. I want to drag my graphic circle but from the following code, I get that the...

View Article

When loaded images begin to use GPU?

When I load image with PIXI.loader or with PIXI.Texture.fromImage(), does it reserve memory from GPU before adding the texture to actual sprites and them to stage?

View Article

Image may be NSFW.
Clik here to view.

how can I use mouse to draw a line

hello, I try to use pointerdown/pointerup and ticker to drawCircle , but It just draw a point. It seems ticker not fast enough to draw it. Is it anyway to do it? https://codepen.io/anon/pen/wQzjxb

View Article


[Advice] Animation plugin

Hello, My name is Daniel, and I am new here, I have find a few nice solutions and I´ve been reading in the shadows for a while, now I am registering to ask you something. I am developing with PIXIJS...

View Article

Properly Changing Size of Pixijs Renderer

Hello, I am looking into game design, and decided to use the Pixi.js library for a project. The problem is that I am self-taught and unfamiliar with using Pixi. I am trying to resize a renderer...

View Article

How to open zip file with pixi.js?

Hello everyone! I'm loading zip archive with any different resources: PIXI.loader.add( "images", "images.zip" ); Now how me can to open this zip archive to use my resources with pixi.js?

View Article


Playing video on Firefox Android

Hello, I tried to run this example https://pixijs.io/examples/#/basics/video.js  with a video of mine (testVideo.mp4 returns a 404). On desktop, it works perfectly fine. But on Firefox Android, I got...

View Article


React & PixiJS applications without React declarative style

Is it possible to just drop in a pixi application into a component without using pixi-react or anything like this?  It is hard to find a solution to this.  I am not really into declaritive style for...

View Article

can renderTexture be rendered by any renderer

Can I just new a CanvasRenderer or WebglRenderer to render renderTexture? Seems dosen't work. So renderTexture only can be rendered by it's own renderer? These codes are from offical renderTexture...

View Article

Image may be NSFW.
Clik here to view.

Refreshing page distorts textures

When it is the first time I open the game and play everything is fine  after a couple of moves, players get new turns, some cards fly around(players get resources, trade etc) and then when I hit page...

View Article

Box2D examples

I am an experienced programmer but brand new to game dev.  Are there any good Box2D examples for Pixi?

View Article


Pause interactions

Hi, is there a simple way how I can pause InteractionManager so app will be completely freezed? I tried stop shared ticker, but it seems there is no effect on interactions. Thanks

View Article

Image may be NSFW.
Clik here to view.

Loading font using pixi loader

Hello every body, i'm a newbie, i have a question for loading font , when i load font .ttf it will load 2 file xhr , font  and my resource will duplicate is it right ?  can you explain for me about...

View Article


RenderTexture and generateTexture

I can create texture of PIXI.Graphics with renderer.generateTexture() function. I could also create new render texture and use renderer.render() function to render the circle to that, am I right?...

View Article

Apply Filter only to small area

Hello, I'm currently working on a little game with and Island and some (right now static) water, I was looking online for water-effects and found this, simple Article...

View Article


Image may be NSFW.
Clik here to view.

Advanced shape

Hi everyone, I'm new with PIXI, I'm wondering how to use PIXI to draw a line like this (in the picture). For example, the start point is (100, 100), end point is (700, 700). I see this in a site and I...

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

Pixi.js only on desktops?

Hello, I want to make a static site that uses pixi to render some graphics. However, I don't want to load the library on mobile devices. I only want to graphics to appear when a screen size is some...

View Article
Browsing all 3978 articles
Browse latest View live


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