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

Image may be NSFW.
Clik here to view.

Can´t manage AnimatedSprite to work

 Hi, I am complete beginner with JavaScript and pixi.js. I've been learning these days the basics (sprites, shapes, text, buttons...) following the tutorial on the GitHub page. I was planning to use...

View Article


Scaling Pixi's HTML accessibility layer?

Hi! Does anyone know know if Pixi's HTML accessibility layer scales automatically when Pixi's canvas is scaled?

View Article


is there some different with touchevent on safari(ios)

hi.. i don't know corrent reason yet.. touchevent is good on chrome and expolore.. but safari is not some touchevent  is gone... somebody know about this?    

View Article

touch events doesnt work on firefox for android, safari on iOS

chrome, explorer, edge, firefox supports pointer events which handles mouse events and touch events. But safari and firefox for android doesn't support these events, so we need to fallback to mouse...

View Article

Creating Sprites from Spritesheet Problems (Typescript/Angular) [SOLVED]

UPDATE:  i used Rectangle instead of PIXI.Rectangle.  Problem solved. Hello.  I am following along with a tutorial https://github.com/kittykatattack/learningPixi I was able to run Pixi successfully in...

View Article


forceCanvas property of PIXI.Application having no affect.

G.App = new PIXI.Application({forceCanvas: true, width: w, height:h, transparent: true}); console.log(G.App.renderer.type); This always prints "1"  for WebGL.  and not "2" for canvas.  Why isn't...

View Article

Image may be NSFW.
Clik here to view.

Best performance way to extends a PIXI class ?

Hello everyone What is the most powerful and performance way to extends a PIXI class? Example from my side, I need the native PIXI.Container class but with more methods and properties, and here's how...

View Article

FPS Drop on setting object properties

Hello again! My stage contains 60000 sprites that i want to tween over it, so i wrote code to manipulate props of the objects and add update function to PIXI.ticker.shared.add(this._update, this); The...

View Article


Separating Draw and Game State

Greetings, I am just learning pixijs and I have a question: I am experimenting with writing a game, using pixi as the rendering engine. In my game I am trying as best as possible to have the act of...

View Article


Unable to pause video immediately on load?

Is there any way to pause a video immediately after creating the element with PIXI.Texture.fromVideo or fromVideoUrl?  It looks like it might be bugged currently, because under some circumstances the...

View Article

Image may be NSFW.
Clik here to view.

Is pixi.js dying?

Forgive the title - unless a moderator edited it, in which case you don't necessarily have to forgive me Anyway - having worked with Flash, I've watched Pixi.js for a while. I personally like to think...

View Article

Image may be NSFW.
Clik here to view.

Flickering on browser zoom

Hello, I have a question about browser zoom. In the example I draw a few rectangles using PIXI.Sprite, each 1 pixel wide. https://jsfiddle.net/4a5xLsk0/ At zoom level 100% all rectangles look the same...

View Article

Image may be NSFW.
Clik here to view.

Unexpectedly slow performance with the canvas fallback renderer. What am I...

Hi there. So I am new to PIXIJS, but I have experience working with the canvas API directly. I recently started working on a game, finished the menu system, and decided I would give PIXIJS a shot for...

View Article


Rotating a sprite/container using mouse

Hi All I'm struggling to find any examples of what I need to do online. Basically, I have a dial (think old fashioned safe) that I want to be able to click and rotate infinitely. How would I go about...

View Article

How to use GPU memory during scrolling?

I'm rendering the content of some PNG's via a 4096 by 4096 RenderTexture, to cram all of it in the GPU memory, for scrolling usage. As each column should be 1024 pixels wide I can store a maximum of...

View Article


Doubt Container

Hi. I just started in Pixi js. Can someone explain to me if a container is used to create different levels of game?   Thanks in advance

View Article

Image may be NSFW.
Clik here to view.

Video sprite not showing up

Hello friends, so when I am trying to add a video to the background of a scene along with various other objects. For some reason if I use an image and add it to the container then allow the code to...

View Article


How to check if both mouse buttons are pressed?

This is my code right now to check if left or right mouse button is down: // Left button down app.stage.on("mousedown", function() { // code... }); // Right button down app.stage.on("rightdown",...

View Article

Can't start pixi-spine example

Hey guys! I tried to start with the pixi-spine plugin to load my spine file.  I followed the example from https://github.com/pixijs/pixi-spine and did this on app init: PIXI.loader...

View Article

PixiJS ConvolutionFilter is not working on IE 11

I use PIXIJS to add effect on image. I already use adjustementFilter() and it's work well but with convolutionFilter() i get error. Code : <!DOCTYPE html> <html> <head>...

View Article
Browsing all 3980 articles
Browse latest View live


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