erich Posted February 12, 2017 Share Posted February 12, 2017 Hi Quick question - is it possible to tint a spritesheet, I know you can use eg sprite.tint = 0xff00ff; but tint doesn't seem to work on an animation, is it possible or am I just better just photoshopping a new spritesheet? Thanks in advance Eric Link to comment Share on other sites More sharing options...
scheffgames Posted February 12, 2017 Share Posted February 12, 2017 It seems that the problem lies with PIXI - don't know if it was fixed yet. I think I tinkered with an animation with tint applied - not sure though - and it worked fine in 2.6. Still changing the tint of a texture it's not the same as changing the hue in Photoshop and and it works best only with completely white textures - tinting with green a green texture won't show a thing - so I would still rely on good old Photoshop. Also it looks like you can change the hue in Phaser - googled it - but I think you would incur performance costs if you'd do this with a large number of sprites/images. erich 1 Link to comment Share on other sites More sharing options...
erich Posted February 12, 2017 Author Share Posted February 12, 2017 1 hour ago, scheffgames said: It seems that the problem lies with PIXI - don't know if it was fixed yet. I think I tinkered with an animation with tint applied - not sure though - and it worked fine in 2.6. Still changing the tint of a texture it's not the same as changing the hue in Photoshop and and it works best only with completely white textures - tinting with green a green texture won't show a thing - so I would still rely on good old Photoshop. Also it looks like you can change the hue in Phaser - googled it - but I think you would incur performance costs if you'd do this with a large number of sprites/images. cheers @scheffgames ! scheffgames 1 Link to comment Share on other sites More sharing options...
Recommended Posts