animated tiles.
I am working on a tilemap shader for babylon and was wondering how does Pixi handle animated tiles? Does anyone have the link to the shaders used by Pixi? http://pryme8.github.io/tiles/ really rough...
View ArticleHow to make a scroller in PIXI
Hi, I write some code to make a scroller but its not working, could you plz help me. function ScoreboardView(parentObj) { PIXI.Container.call(this); this.parentRef = parentObj }...
View ArticlePerformance
I updated my iPhone to the new ios and immediately, my game's performance dropped... It was still ok, but noticeably not as smooth (I have an iphone SE which I appreciate is an older/weaker spec...
View ArticleAndroid Webview doesn't load images of pixijs app
Hi My images/textures won't load when I am usng Andoid's webview to create an android app. Any ideas? I use Android studio. html/javascript code and file structure of android studio's project: Main...
View ArticleDynamic Pop up
How to create a dynamic popup in JS using PIXIJS where the popup header, popup message, and buttons are dynamic(means the data came from the server).
View ArticleGL ERROR :GL_INVALID_OPERATION : glDrawElements: range out of bounds for buffer
Hi community, I have been using Pixi js for some time now, absolutely love it. I am using their latest version 4.3.4 and notice in Google Chromes Console there is 256+ Warnings looking like this:...
View Articlehow to remove listener
Hello guys, a noob question here: if I set up listeners like this, all works fine for me: myobject.on("pointerdown", onPointerDown); function onPointerDown(ev){ myobject.on("pointermove",...
View ArticleApplying filter to a texture without clearing it
I am trying to do the following: draw some shapes to a Graphics object render those shapes to a RenderTexture without clearing it first, so that the shapes are "painted onto the texture" apply a...
View ArticleWater shader approach?
I'm struggling with an approach to add a water effect to an area of container. I'd like to have the area in green distort the area below it via a shader, but also have the ability for this water area...
View ArticlePixi.Sprite on click weird isssue
For a day or two i have this weird issue that i can't fix. I am making a map with interactive trees. When i click tree i want it to change its texture to chopped trees. class Tree {...
View ArticleUpload images to GPU in a web worker
Is it possible to upload images to GPU in a web worker? If so, how do I do that?
View ArticleRemoveListener for Spine animations
RemoveListener is works, but only in one way: let spine // our spine animation let log = () => console.log('nonsense'); let listener = {complete: log}; spine.state.addListener(listener); And...
View Articleproblems with pointertap event
According to the docs, pointertap event should occur when pointer device button is pressed and released on the display object. But it occurs also when I press device button down outside of the display...
View ArticlePixi.js and Angular2
Hey y'all, I made a package that I have been heavily using and honing in a game I'm working on. It allows you to use markup to create PIXI scenes. I'm hoping it'll help someone out there (and help...
View ArticleDraw image/sprite warped like in Slick2D?
Can we do something like Image.drawWarped (link goes to the javadoc of slick2d) with pixi.js? It gave devs the possibility to define where to render the 4 corners of an image with absolute x, y...
View ArticleTiling Sprite artefacts
I am using a TilingSprite for the background of a game. Its a top-down view so I'm setting the tiling sprite tilePosition x & y as the player moves around. I'm using a 256px square tile that is in...
View ArticleWhy is PIXI.interaction.InteractionEvent undefined?
Hey everyone, this is my first post, so I hope I do this right. Let me explain, what I wanted to do: I created a GameObject class so that all my objects inherit from this class. The GameObject is...
View ArticleHow to implement positional easing on a sprite that can be changing its...
I'm building a little demo where I'll have multiple sprites change both their position and scale based on where the mouse cursor is. While I have this part implemented, I haven't figured out how to...
View ArticleShould pixi.js webGL work in electron?
I've been building little browser game, but for the sake of learning new stuff I've tried to make my game run in desktop using Electron. The game loads up well, doesn't show any errors but the whole...
View ArticleShader Texture Oddness
I'm trying to render a sprite using a shader that takes a texture as a parameter and combines the sprite with that texture, so the desired outcome is the texture being overlaid onto the original...
View Article