PixiJS character animated sprite not updating when getting reassigned
I am trying to update an animated sprite object and i have instantiated them like this: characterMovement["walk_down"] = PIXI.AnimatedSprite.fromFrames(animations["walk_down/walk_down"]); characterMovement["walk_up"] = PIXI.AnimatedSprite.fromFrames(animations["walk_up/walk_up"]); characterMovement["walk_left"] = PIXI.AnimatedSprite.fromFrames(animations["walk_left/walk_left"]); characterMovement["walk_right"] = PIXI.AnimatedSprite.fromFrames(animations["walk_right/walk_right"]);
Sprite displays entire spritesheet instead of individual frames
I’m working with PixiJS 8 and facing an issue where sprites created from a spritesheet display the entire sheet instead of just their individual frames. Despite correctly slicing the spritesheet into frames, the resulting textures still show the whole spritesheet when rendered.
PixiJS: Sprite displays entire spritesheet instead of individual frames
I’m working with PixiJS 8 and facing an issue where sprites created from a spritesheet display the entire sheet instead of just their individual frames. Despite correctly slicing the spritesheet into frames, the resulting textures still show the whole spritesheet when rendered.
how to extend Spine class?
In pixijs project, i want to create class component that extends Spine, but it gives me an error “Uncaught Error: The spineData param is required.”
Import/export between PixiJS UI and typed-signals
My target is to use PixiJS UI (version 2.1.2) to place an input field at a canvas that is drawn by PixiJS (version 8.2.0).
How can I get smoother Graphics() in pixi.js?
I am trying to draw using pixi.js version 8.1.5 Graphics
:
Word game using PixiJS
I’m trying to create a words of wonder type game using PixiJS. I’m sharing my code below it’s still in development however I can’t seem to figure out how to make it so users can select and drag letters to find words. Right now it only detects the start and the end of the drag and get’s nothing in between. How can I fix this? Thanks!
How to get mouseover to fire when interactive container moves behind the pointer in pixi js?
I have a situation in a pixi js game where a mouse click picks a location for a sprite to move on a tiled platform and then the platform moves behind the sprite until it’s on the selected tile.
How to display a sprite in pixi js
I’m using pixi js v8.1.1. I am able to disply a graphic, but when I try to wrap it in a sprite, it no longer shows up.
How to draw a simple line in pixi js
I’m new to pixi js and am using v8.1.1. I followed a simple tutorial to draw a single line and it’s not showing up on the canvas. It’s just an empty blue screen.