Tinting an AnimatedSprite displays errors on a canvas renderer
See original GitHub issuehttps://pixijs.github.io/examples/?v=dev#/basics/spritesheet.js Change top line to
var app = new PIXI.Application({ forceCanvas: true } );
And add
anim.tint = 0xFF0000;
after the play call
I know there was a fix for static sprites https://github.com/pixijs/pixi.js/pull/3985 which doesn’t fix this scenario I’m afraid
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (8 by maintainers)
Top Results From Across the Web
Tinting an AnimatedSprite displays errors on a canvas ...
Ok one of the conclusions I have made is false. 4.4.4 doesn't nessecarily work because forceCanvas: true is ignored and WebGL prevails. Will ......
Read more >PIXI.AnimatedSprite
An AnimatedSprite is a simple way to display an animation depicted by ... sharper image quality (like text) and faster rendering on canvas....
Read more >How to create many color variants of a complex animated ...
Hello! the tldr;How do I do color replacement of sprites in pixi? (not tinting, e.g. change #ff0000 to #cccccc) How do I best...
Read more >pixijs/pixi.js
Rendering a large amount of offscreen canvas objects works fine on Safari and Chrome, however Firefox has poor performance.
Read more >new PIXI.extras.AnimatedSprite (textures, autoUpdate)
An AnimatedSprite is a simple way to display an animation depicted by a list of ... This is a webGL only feature and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok great, I checkout out that branch and linked it to my game and things seem to work as expected. Cheers!!
Yeah, files are updated automatically as I push commits to the PR.