Skip to main content

Questions tagged [pixi.js]

Filter by
Sorted by
Tagged with
0 votes
1 answer
106 views

I get 'undefined' from the BasisParser that I use from Pixi itself, when loading a KTX2 file with a custom extension (through Assets.load): ...
1 vote
1 answer
96 views

I'm making 2d Mobile game using JavaScript. I have method that controls every character (Dumb AI) on battleground. It using recursion to call another action. I want to add debuff system and had little ...
0 votes
1 answer
865 views

How can I detect if the mouse cursor is moving in a circle around a target, and calculate how many turns it's done? For example, if I rotate the mouse 4 times around a specific XY point on the screen, ...
1 vote
1 answer
739 views

To get started with game development I purchased some top-down sprite assets which come arranged in a grid, but to use them with a typical 2D rendering engine (I'm using Pixi.JS), I need a JSON file ...
1 vote
1 answer
276 views

I was wondering if spritesheets are worth it. I am making a game with pixi.js and was thinking about optimization, beginning with asset loading. I currently have an arraya of all files and use PIXI....
0 votes
3 answers
2k views

I'm in the latest PIXI v5, where my texture is made like let texture = PIXI.Texture.from(TEXTURE_URL). The texture isn't loaded synchronously- Pixi just covers ...
0 votes
1 answer
583 views

I managed to get a video to play in Pixi using the following line: this._texture = PIXI.Texture.from(require("Images/video.mp4")); The problem is that I can'...
1 vote
1 answer
3k views

What does all the position properties and functions on a pixi.js sprite / DisplayObject actually do? You can access sprite.x, ...
2 votes
1 answer
2k views

I'm a JS dev but pretty new to Pixi and 2D developemnt so please bear with me as I explain this. I want to write a simulator for short path finding (for evacuation purposes). I decided to use Pixi.js ...
-3 votes
1 answer
217 views

how i can perform for sprite follow mouse if i change angle ? If i change angle the sprite no more follow mouse correctly. I absolutely need the obj follow mouse with pivot. https://jsfiddle.net/...
0 votes
1 answer
636 views

I would like to use dragonBones with pixi.js. I got a problem. When the following line executes in dragonBones, I am getting an error: ...