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 Articleproblem 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 ArticleMotion 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 ArticleHow 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 ArticleHow 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 ArticleWebpack || 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 ArticleLoading 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 ArticleLinking 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 ArticleAnalog 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 ArticleReact 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 ArticleLoading 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 ArticleGet 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 ArticleHow 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 ArticleHow do I get rid of transparent background from image I downloaded via URL?
Hello, I am having trouble making image transparent. var gun =...
View ArticlePIXI-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 ArticleIssues 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 ArticleInteraction 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 ArticleDealing 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 ArticlePixiJS 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 ArticlePixiJS 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