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

Image may be NSFW.
Clik here to view.

Issue with roundedRect border in Pixi

Hello all, thanks for taking time to read my post.   I have an app where users draw shapes in an SVG editor to create objects.  Then the shapes are rendered in Pixi to create an animation.  We used to...

View Article


Image may be NSFW.
Clik here to view.

problem on curve line

Hi I am just using pixi to draw a curvepath I use quadraticCurveTo or bezierCurveTo for this and everything is fine but when I use alphaFilter or increase the lineWidth it looks bad as shown below Can...

View Article


Motion detection?

How do you guys do motion detection (if any) in your apps? Motion detection is when you detect when the user shakes their phone (for example).  I just tried the following in Android Chrome to no...

View Article

How to move the sprite to the top?

Hi Guys,    Is there a way to specify that sprite should go on top (similar to the way its done in phaser)?   I need to have multiple draggable sprites.   Currently the last one drawn is always on...

View Article

Image may be NSFW.
Clik here to view.

How to make spotlight?

Hi, I try to make spotlight. Same as first screen, but manage same as second screen. I read that mask's can be reversed, but it only work on webgl, so canvas users gonna have errors. Is there other...

View Article


Webpack || playable ad || json

Hello everyone, I'm new to Pixi.js!I faced a problem - need to get one html file at the output. I use webpack for assembly. I inline scripts, convert images to base64, but I don’t know what to do with...

View Article

Loading Remote Images

Hello there, Im having an issue loading in resources from another domain. Its strange because it seem that using Sprite.from('https://website.com/image.png') works just fine, but using the pixi loader...

View Article

Linking sprite position by reference to wrapper class for game object

Hi All, I'm a new developer and have been enjoying PIXI so far! I am new to most aspects of game and web dev as well, and I was glad to see an active forum like this one. If I have a game object...

View Article


Analog bone shearY for container

I have bone with shearY: -3.27 and slotContainer attachet to this bone. And i have pixi.Container with childrens. Now can i emulate shearY for childrens coordinates? p.s. example: circle attachet to...

View Article


React Animated Sprite

Hi, guys! I've searched before make this topic but I didn't find any solution for my problem. If there are more topics with this situation I will delete it after someone will help me. Thank you! I'm...

View Article

Loading atlases and spine animations from base64 assets.

Hi everyone, I am making a project which will have assets inlined as base64 streams, however I am stuck don't know how to load them. Thing is, that I use webpack to inline all of the assets into...

View Article

Get the alpha of a pixel in a sprite

Hi everyone, This is a bit tricky and I don't know if it is possible. I want to get the alpha of a pixel (Which is in an x and y coordinate) of a sprite. What I want to do is the following: I have...

View Article

How hack PIXI in NPM module system

Hello everyone! I founded solution with correct croping images/videos inside PIXI app. I created test appliction and made some hacks inside pixi-legacy.js and it successfully works for me. When I...

View Article


How do I get rid of transparent background from image I downloaded via URL?

Hello, I am having trouble making image transparent.   var gun =...

View Article

Image may be NSFW.
Clik here to view.

PIXI-Lights PointLight issue

Hello, when adding a PointLight to the stage the light is cut off on the top right corner. Any ideas what would cause this? Thanks a bunch for the help! Here is a code snippet of how it's loaded....

View Article


Issues with loading video textures

Hello there! I'm having issues with pre-loading videos and I don't really understand why. I'm trying to load all the videos that my app uses at the very beginning so everything goes fluid after...

View Article

Interaction Event Propagation

Say I have two sprites, one the size of the screen, and one 100px circle in front of that. Both are interactive. The full screen one has a listener for pointerup events, and the circle in front has a...

View Article


Image may be NSFW.
Clik here to view.

Dealing with lots of small textures (+1000)

Hey there, I'm working on a site that requires to display a lot of small textures (12x140).  I'm trying to display about 1000 of these...  I've decided to recently switch to pixiJs to deal with...

View Article

PixiJS Discord Server

Hi all, I hope you don't mind me asking here but I've been browsing the web and googling to the best of my abilities without success. There used to be an official PixiJS Discord server. Does it still...

View Article

PixiJS Game States

Hi PixiJS Devs! I don't know how to handle different states (Example states are: Intro, Main Menu, Game, Settings). I found 10 year old posts saying to use DisplayObjectContainers for each stage /...

View Article
Browsing all 3978 articles
Browse latest View live


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