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

Image may be NSFW.
Clik here to view.

help with device orientation and canvas resize

Hello everyone, I'm trying to make a resizable canvas following this guides I found in this forum https://webglfundamentals.org/webgl/lessons/webgl-anti-patterns.html. I'm sure this topic has been...

View Article


Image may be NSFW.
Clik here to view.

Pixi.js + TypeScript boilerplate

After a couple of days working with Pixi.js, I've built up a simple boiler plate for the TypeScript language I'm glad to share: https://github.com/yahiko00/PixiProject The game loop with a FPS meter...

View Article


Image may be NSFW.
Clik here to view.

How to resize windows anytime and access mouse position directly in pixi.js?

1.  How to resize the window at any time when I change my window size. Something weird will occur in my app now like the image below.(the right size should be black) 2. How can I directly access mouse...

View Article

Pixi + Custom caching

Hey, I am completely lost in my game blobber.io. I debugged already a lot of bugs but this one I have been working on for the last 14 days and I am unable to find it. The original frontend developer...

View Article

PIXI Filter - access non-premultiplied alpha

I've been working with PIXI filters recently. If I apply the filter to a sprite with alpha, I've noticed that somewhere along the line the alpha gets premultiplied. For example, I have a test texture...

View Article


Container background color without graphics?

Hello,   Is it possible to color the background of a container without using graphics of any sort? Some kind of 'native' background color property or so?   Thank you. Kind regards, Fennek

View Article

proper canvas resizing method

Guys, sorry for bothering with this question, I found a few answers to this problem, but im still not able to get it to work. I have made a complex app in Pixi, but now Im fighting with a trivial...

View Article

Odd issue with resizing renderer - innerWidth and innerHeight not returning...

My app uses a renderer that spans the entire height and width of the browser and is completely responsive to its size. On desktop the renderer resizes fine as I resize the browser. I can also open up...

View Article


PIXI 4.6+ way of cutting shapes using other shapes?

I've been reading a backlog of how to do this all the way back to when the recommendation was to use canvas. What is the new and modern way of accomplishing this? Let's say I have a rectangle that...

View Article


basic demo "Video" for HLS source

Hi, I am trying to draw HLS video stream over PIXI video texture on iOS safari browser (iOS 11.2) referring http://pixijs.io/examples/?v=v4.6.2#/basics/video.js  but not succeeded. (Sorry for poor...

View Article

Dragonbones .json

Do you guys know how I can use a .json object exported from Dragonbones, with Phaser and/or Pixie?    Is there a tutorial, a script an example to show us how it works?    Thanks alot

View Article

Image may be NSFW.
Clik here to view.

Zooming a graphic/container/element on click

Hey everyone! I am trying to achieve a zoom on an element using PIXI I have currently a graphics rectangle (see first image) It is the child of my stage which is the main container being rendered. My...

View Article

The best practise of animation workflow

What is the best practise of animation workflow for Pixi.js? It seems the best animation design tool is still Adobe Animate. I just tried pixi-animate, pixi-flash, and PixiGAFPlayer.   So which one is...

View Article


Games in PIXI producing a black/flickering screen on Huawei device

've been making a bunch of games using PIXI.js (version 3.0.6). However, none of the games work on my Huawei device (android version 5.0.1). Either the screen is completely black, or the screen...

View Article

Using pixi-particles-editor with AnimateCC

Hi guys, I am using AnimateCC to output canvas animations and would love to know how I would go about using the json file that is made available for download when using:...

View Article


Image may be NSFW.
Clik here to view.

Pixi.js renderer not working

So basically I have a big project ongoing. Instead of having nested constructors that passed down all the game data such as renderer, resources and so on, I decided in my Game.js file to make it...

View Article

Bunny drag example with correct mouse offset

Hi, disclaimer: pixi newb here. I am working on an isometric example and as such want to be able to drag the background to move the scene.Starting from the bunny example (#8) I noticed a behavior that...

View Article


Move stage pivot so that element is center

Hey everyone, I want to center an element (in this case a graphics element) in the center of the screen.  https://jsfiddle.net/user/adnanchang/fiddles/ As you can see from my code, I am changing the...

View Article

About fonts...

Hi!I'm doing a thing in pixi (actually, in it's dart port (https://github.com/FedeOmoto/pixi) but that should be the same for the purpose of this question) and I'm using its text features...

View Article

fixed physics update

Hi all,  I am a bit confused on how should I procede if I want to have my game update the physics at 25hz. So, clearifying myself, my scenario: I have a game server that run updates 25 time per sec. 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>