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

Typescript + PixiJS es6

Hello everyone, I'm wondering if there is a way to use PixiJS together with Typescript using es6 modules without the use of webpack? If so can anyone post a small example of how that would work as I...

View Article


Image may be NSFW.
Clik here to view.

Pixi Projection 3D Surface

I've been having fun with pixi-projection and familiarised myself with the examples, classes and underlying code.  I've been able to create a Camera3d, emultated a Skybox, added some billboard...

View Article


Awesome list of JavaScript Games and resources

Hello folks,   I'm creating a list of awesome JavaScript games and resources https://github.com/proyecto26/awesome-jsgames I was wondering if you can give me some links of assets, resources, etc to...

View Article

generate texture out of drawn rectangle with pixi react and customComponentss

Hello I am trying to generate a texture. from a drawn rectangle, I have used many examples while searching but its either.not drawing or giving an error how can i do it? Btw it will be inside the...

View Article

Invert Y Axis in shader

Hi ! I've been playing with shaders and I wanted to know if there was a simple and efficient way to invert the y-axis (to make it similar to what I'm used to), it would greatly simplify the way I...

View Article


PixiJS and WebRTC

I am dabbling in WebRTC and creating a One To Many feature.  Note that I am not a seasoned developer and basically learning as I go. I was wondering if,  down the line,  I can incorporate PixiJS into...

View Article

Image may be NSFW.
Clik here to view.

mouseup doesn't fire (PIXI)

Hey guys I have this input fields (they're not finished yet, I use them just for example). When I enter text the cursor goes with it and when I click outside I want to remove the cursor and keep the...

View Article

Using many sprites for a few number of textures

I am creating a game where there is a high variation in the number of sprites needed for a given texture. The popular "bunnymark" for pixijs accomplishes a similar need by creating a new sprite (from...

View Article


Image may be NSFW.
Clik here to view.

Aspect ratio on repeating rope texture

I'm sure I'm missing something simple here, but I can't seem to make a rope with a repeating texture that isn't an aspect ratio of 1:1. Here's my sample code, based on the "Hello World" example:...

View Article


Image may be NSFW.
Clik here to view.

Pixi.js Sprite from doesn`t work correctly WebGL

There is a function where I draw lines on htmlcanvas. After drawing I create Pixi.Sprite from this canvas. On Canvas renderer everything works OK, but when I swich on WebGl something goes wrong. Only...

View Article

CanvasRenderer RenderTexture not cleared

There appears to be an issue with clearing the context when rendering a container to a RenderTexture while using the CanvasRenderer (PIXI-legacy v5.2.4). Consider this...

View Article

load labeled array of resources

Hi! I'm trying to load an array of resources from a json file, currently I'm having to include the path and file name when calling the resource, but would love to simply use a label like you can when...

View Article

Image may be NSFW.
Clik here to view.

Alpha from blurred PNG is lost in shader

Hi all, i've been messing with something for a couple days.  I'm passing in a transparent blurred PNG to a shader, as well as a solid PNG background, and running it through a grayscale shader. If I...

View Article


PIXI.js/Electron example

Hi - I've done lots of programming before, but am just getting started with HTML5 game dev. I pushed up my prototype 'Swipe Poker' to itch.io a couple of days back (on...

View Article

HOW CAN I ORGANIZE mouseclickoutside EVENT?

Hey guys,  As I was told in the post above, there's no event as 'mouseclickoutside'. And I'm having trouble with creating sth that could do the job.  I'd appreciate your help

View Article


Bundle all JS into one big file?

Hi, I recently switched from using CreateJS to PIXI and am quite unsure about best practices and typical ways of doing things. I'm have a web app with a bunch of different JS files: pixi.js,...

View Article

Image may be NSFW.
Clik here to view.

ParticleContainer another addChild

Hi, First post here Is it possible to add another child in a particule container ? Does I need a sprite sheet and how it works with ParticuleContainer ? /* more setup before */ const sprites = new...

View Article


Getting the pixel data of a sprite after scale, filter etc

I know how to get the raw pixel data of the original texture of an image sprite, but is there a way to get the pixel data of the sprite just before it is composited with all of the other elements, but...

View Article

Remove an Object with a html button

Hi, I generate text on my canvas , I want call a JS function when I click on this specific text and next  on a HTML button and access to the text properties to make a `text.parent.removeChild(text) `...

View Article

Image may be NSFW.
Clik here to view.

I need some help with events in PIXI

Hey guys I have a placeholder text as PIXI.Text and its background as PIXI.Graphics object created in a module (just like this this.placeholderText = new PIXI.Text(this.text, this.textStyle); I set...

View Article
Browsing all 3978 articles
Browse latest View live


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