question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tinting an AnimatedSprite displays errors on a canvas renderer

See original GitHub issue

https://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:closed
  • Created 6 years ago
  • Comments:12 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
brenwellcommented, Sep 15, 2017

Ok great, I checkout out that branch and linked it to my game and things seem to work as expected. Cheers!!

1reaction
ivanpopelyshevcommented, Sep 15, 2017

Yeah, files are updated automatically as I push commits to the PR.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found